Closed ThatProgrammerr closed 2 months ago
Sorry for the issue. After almost giving up, I realised there was a test file, so I tried it and realised that my receiver for my mini keyboard has multiple events, which I guess in this case meant that the event showing in lsusb
was not the event that the keyboard events were actually being sent on. I'm going to close this out now, but I hope this helps someone in the future.
/dev/input/event2 2.4G Mouse usb-3f980000.usb-1.2/input0
/dev/input/event3 2.4G Mouse usb-3f980000.usb-1.2/input1
/dev/input/event4 2.4G Mouse usb-3f980000.usb-1.2/input1
/dev/input/event5 2.4G Mouse Consumer Control usb-3f980000.usb-1.2/input1
/dev/input/event6 2.4G Mouse System Control usb-3f980000.usb-1.2/input1
This is the output. I'm running the python script directly, not the docker image. The same keyboard receiver plugged directly into my Home Assistant machine has no problems seeing the keyboard information.
I decided to use this to extend the range at which the keyboard can be used.
My current HA config for keyboard control
Example Event Output from Receiver on HA Machine
Command
Output of this script