Guytam
(Guy Tamarin)
1
Hi, i am trying to set a 2.4G keyboard which connected with a USB dongle to my PI.
i have followed this guide
https://www.home-assistant.io/components/keyboard_remote/
but i am running HASSIO and cannot execute SUDO as a root user so not able to set the permissions for Input.
any idea how can i execute the permissions on HASSIO?
thanks
dap35
2
Since hassio runs as a headless appliance (remote web-ui), What are you trying to use a keyboard for?
Guytam
(Guy Tamarin)
3
As a remote control for HA switches, scripts etc…
I know that its possible to do it with hassbian.
You sure you need to do that? The docker container runs as root.
1 Like
Guytam
(Guy Tamarin)
6
Not sure, but the keyboard is working on the PI ssh-core" and i can type
But no signal from keybaord on HA UI so i guess i need to give HA premission?
maybe there is other way to activate the keyboard
DrJeff
(DrJeff)
7
You need to pass the USB through, is the USB listed in the
> hassio hardware info
1 Like
It already knows of this devices existence.
Guytam
(Guy Tamarin)
10
so how can i control it with HA UI like this example?
DrJeff
(DrJeff)
12
Yes the device name was what I’m thinking i.e.
keyboard_remote:
- device_descriptor: '/dev/input/by-id/bluetooth-keyboard'
type: 'key_up'
Or similar then if not what Hassio install did you use? Log into not hassio but to the root user Pi or whatever and change permissions.
Instead of a descriptor, use a device name like the docs say. ![:wink: :wink:](https://community.home-assistant.io/images/emoji/twitter/wink.png?v=9)
That’s not how hassio works. There is no ‘pi’ user
DrJeff
(DrJeff)
15
@flamingm0e Incorrect! I’m running Hassio on Ubuntu and I have a root user so it depends on where its running
But he’s running straight Hassio on the pi…so there is no pi user.
DrJeff
(DrJeff)
17
OK that was my question on the install method
Guytam
(Guy Tamarin)
18
i am runing on PI so no root user,
Guytam
(Guy Tamarin)
19
thanks for your help guys,
what would be my device name?
- device_descriptor: ‘/dev/input/by-id/*********’
this : C0mpx 2.4G Receiver ??
Didn’t you already say it was recognized as