Graag gedaan. Verdient.
Thanks, I will.
Itâs just because on Shelly it is possible that I asked:
You can also reach Raspis with Home Assistant installed. All you need to do is install the âTerminal and SSHâ add-on in HA. During configuration, you only need to assign port 22 and a password.
Nice. What OS is being used then? Is that a dedicated HA OS?
Got my Pi Zero and added it as device, I can read all kind of Pi variables (temperature, CPU etc), but if I try to change the output of a pin, I get an error: Canât set pin value, not an output.
I also tried to trigger an event whent a GPIO gets high, but no effect as well.
Am I missing/forgetting something?
edit: Also with GPIO 22, 21 and other, I had some confusion with the GPIO pin numbers.
edit2: I sshâd into my Pi and changed an input into an output: âpinctrl set 16 opâ and now itâs working. Inputs are working as well one of my breadboard cabe had a bad connector
edit3: No need to SSH into my Pi, can do it in a flow as well:
That means that pin is not configured as an output. You can use this command to set pin29 to output:
raspi-gpio set 29 op
More info on gpio can be found here: Quick Start: Raspberry Pi GPIO Terminal Interface - Embedded Computing Design
@Geim (assuming it was you), many thx for your donation!
Youâre most welcome and thanks for the support.
As a long time unix and linux system administrator I do welcome this idea. However 1 thing should relative fast be updated: The password for the ssh-user should NOT be stored anywhere. Since ssh is used, it is better to use a key-exchange with public and private keys.
Once the key-access is in place I might even use it.
v1.0.2 is ready for testing: Raspberry Pi App for Homey | Homey
- Added Polish language support.
Many thx to Hubert Ryglowski for translating!
I get this quite often:
And if i click on it:
When I restart the app manually it works again.
Bad connection, or your rpi is too busy. Especially if it is a rpi0 you need to increase the poll time.
This one you mean?
Both actually. Set GPIO poll to 5 secs. Or disable completely (0) if you do not use GPIO states in Homey.
Set other poll to e.g. 10 secs.
Top one was already on 10, changed to bottom one to 5. Letâs see what it brings.
I do use some IO pins for input (switching on lights by hand).
Nope, still same problem. Too bad.
No problem pinging the device and after restarting the app, it all works fine again. Maybe the app doesnât reconnect automatic if the wifi connection is temporary lost?
Edit:
I restarted the app and the connection was lost within 6 hours. I give up, this isnât a stable solution (for me).
New version 1.0.3 is ready for testing: Raspberry Pi App for Homey | Homey
- Added Polish language support.
Many thx to Hubert Ryglowski for translating!