Negative Unit values are displayed when generic sysfs GPIO generates the confugered hardware
Posted: Saturday 17 August 2024 18:36
Hello all,
My configuration :
Version: 2024.7
Platform: Ubuntu 20.04
Plugin/Hardware: GPIO pins/Odroid C2
When generating the GPIO hardware that was first configured with a bash job i get negative Unit values for the detected hardware when using Generic sysfs GPIO . When trying to toggle a GPIO pin trough Domoticz I get an error "sending switch command".
Bash commands work fine and change the GPIO pin correctly, also without a sudo command.
After an update and upgrade the error stays
This problem occurred recently, the configuration worked fine before.
I seems that the value equals the GPIO pin assignment in linux minus 256
When making a dummy switch and assigning a script that turns on and off the GPIO output all works fine.
Anyone that can explain why I get negative Unit values when using the Generic sysfs GPIO Hardware option of Domoticz?
When trying to add a switch manually, Domoticz shows the correct pin assignments in the selection list but I have no idea what to enter as ID, 3 0E 0E 04 as ID values gives the same error message.
Greetings,
Luc De Smedt
My configuration :
Version: 2024.7
Platform: Ubuntu 20.04
Plugin/Hardware: GPIO pins/Odroid C2
When generating the GPIO hardware that was first configured with a bash job i get negative Unit values for the detected hardware when using Generic sysfs GPIO . When trying to toggle a GPIO pin trough Domoticz I get an error "sending switch command".
Bash commands work fine and change the GPIO pin correctly, also without a sudo command.
After an update and upgrade the error stays
This problem occurred recently, the configuration worked fine before.
I seems that the value equals the GPIO pin assignment in linux minus 256
When making a dummy switch and assigning a script that turns on and off the GPIO output all works fine.
Anyone that can explain why I get negative Unit values when using the Generic sysfs GPIO Hardware option of Domoticz?
When trying to add a switch manually, Domoticz shows the correct pin assignments in the selection list but I have no idea what to enter as ID, 3 0E 0E 04 as ID values gives the same error message.
Greetings,
Luc De Smedt