A small hack to control a 2-port KVM switch via HTTP over WLAN

2016 Jun 23

Recently I bought a small and inexpensive 2-port KVM (DVI/USB) switch that I installed with the intention to switch between my Linux and Windows workstations. Marketing promises that I could switch by pressing Scroll-Lock or Ctrl on my keyboard two times. The sad reality is: this only works if the currently active workstation is the Windows one (WTF!?).

This article briefly describes how you can add an ESP8266 module to a KVM switch, which allows toggling between the two computers by sending a REST/JSON request via WLAN. You can then define global keyboard shortcuts that simply call httpie to send the toggle request to the switch.

Read more...

Recent Posts

3D printed panel for a Raspberry Pi with 7" Touch Display


3D printed panels for mounting Korg Volcas into a Eurorack system


Server-Side Rendering with Elixir/ElixirScript - An experiment on running ElixirScripts directly on the server to render HTML pages


How to develop a functional user interface for a Todo Web Application with Elixir, ElixirScript, Phoenix, React and Flux


Archive

2017 (7)

2016 (4)

2015 (1)

2014 (3)

This page was last updated on 23. June 2016