I could use some help getting my 2.4GHz remote to work with HAOS. It’s a generic wireless remote (for Android Box or HTPC) with a USB dongle. It’s recognized as a HID device, so should work the same as a keyboard I believe.
Remote: link
I plugged the dongle into the host machine running HAOS on Proxmox, and passed the USB device through to the HAOS VM.
In HA, under “all hardware”, it shows as 2 devices:
Then I go the developers tab under “events”, and listen for “*” events. But no response to my key presses.
When I go to the “terminal” and try: cat /dev/input/event3
I get: cat: can't open '/dev/input/event3': Operation not permitted
With and without sudo prefix.
Welcome to the Home Assistant command line.
System information
IPv4 addresses for enp0s18: 192.168.178.8/24
IPv6 addresses for enp0s18: fe80::feee:495c:6c19:8dda/64
OS Version: Home Assistant OS 9.5
Home Assistant Core: 2023.2.3
Home Assistant URL: http://homeassistant.local:8123
Observer URL: http://homeassistant.local:4357
~ cat /dev/input/event3
cat: can't open '/dev/input/event3': Operation not permitted
~
The “setfacl” command is “not found” when I try to set permissions. I believe this also doesn’t apply when using HAOS (although not sure).
To be clear: My goal is to use the remote to control lights and switches in HA.
Am I missing a step? Thanks for the help in advance!
It’s been a couple days, so I hope I’m not rude if I bump this a little.
Maybe there is someone who doesn’t have the same issue, but is using “Keyboard Remote” successfully who could try to push me in the right direction?
The “Operation not permitted” error makes me think it’s a permissions issue. Is there a way to check this somehow? I’d really like to be able to use the 2.4GHz remote to control HA. =)
I’m having the same issue here with a bluetooth remote that emulate a keyboard, I was able to pair it just fine, but trying to access /dev/input/event[0-9] device file always end up in permission denied
I just migrated from Raspberry Pi 3 to HAOS in VM on Proxmox 8 on an intel NUC.
After thinking I had the same issue and finding this thread I realized I forgot to add the config in the yaml file
Wow, thanks for this. I would never have got this on my own. Props to you, king.
Edit: I’ve got my Logitech G915, connecting to my main computer, and with the second connection, opening Garage Doors in HA, and switching between the two devices, is at the touch of a button. Thanks very much.