Indicator LED control for Keyboard Remote

I found the Keyboard Remote integration to be very interesting! One problem, I cannot control the indicator LEDs on the keyboard.

I wanted to keyboard to run some scripts and do some actions in the background, which does not have immediate feedback to the user. Hence the need to control the LEDs to give some feedback if the key press was logged or not.

Created this app (add-on) to solve this. I gathered keyboard LEDs cannot be controlled by an integration running in core due to docker permissions for /dev/input/* devices. The app opens the device using evdev similar to the Keyboard Remote integration and exposes the LEDs to Home Assistant as lights via MQTT.

Works wonderfully alongside Keyboard Remote and I was able to automate showing feedback on the keyboard itself by flashing Num Lock LED when a key is pressed.

Maybe this helps others!