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

Smarkant - Convert your IKEA Bekant table into a smart IoT device


Sunrise Alarm Clock


Nerves, Pi Zero and Edimax EW-7811UN WiFi


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


Archive

2017 (3)

2016 (4)

2015 (1)

2014 (3)