bitfocus / companion-module-raspberry-gpio

MIT License
5 stars 0 forks source link

RPi GPIO - Connection failure - Companion RPi v3.3.1 #20

Open carmino2k opened 4 weeks ago

carmino2k commented 4 weeks ago

Hi everyone, I recently installed the last Companion stable v3.3.0.6991 image on my raspberry Pi. I tried installing the RPi_GPIO module, ok (in "status" I have the green check mark). However, when I try to enable a Pin (ex: Gpio 5) in “Edit connection” I get an error:

“Connection Failure. Pin 5 is inaccessible Error: EINVAL: invalid argument, write”

I tried with other pins but same error. I tried updating the “onoff” library to version 6.0.3 but I have the same error.

Can anyone help me ? Thanks !!!

screenshot_20240604_102327

carmino2k commented 3 weeks ago

same problem with version 3.3.1+223 (7000)

dani1810 commented 2 weeks ago

Same problem here.

I already checked the old issues and installed yarn and "onoff" manually. I also loaded the old version 3.2.2 of companion (without teh modul included) and loaded the module manually, but without any outcome. In the branch "fix/config" isn't such an error (only after reboot :( ), but before the reboot also not the variable for the GPIOs available. Can anyone help and has any ideas? Is there actually a functionable combination of companion, the module and yarn (nmp/node)? Thanks!