Page 2 of 2

Re: GPIO port

Posted: Friday 28 July 2017 15:05
by djdacore
I installed the new hardware 'Generic Sysfs GPIO'. Before that I created the domoticz_sysfs.sh and run it at boot.
I now see port 4 as input and 12 as output. Both I see now in Domoticz at the devices.
When I press the green buttons to both and I name them Input , and the other Output.
When I click in the switches-tab on the Input it does nothing (as a contact). When I change it to an off/on button, it gives me an error.
'Fout bij verzenden van schakelaar opdracht, controleer apparaat/hardware!'
'Error sending the switch command'.

Do you know what I am doing wrong?
If I do an 'gpio exports' it gives me the following:

GPIO Pins Exported:
4: in 1 none
12: out 0 none

What I just need to create is a simple soorbell. Input as button, and Output as gong.

Re: GPIO port

Posted: Thursday 21 September 2017 6:12
by Ariz
I looked at the installation of 'sysfs' but that's pretty difficult and also I installed the latest Beta version of Domoticz.
Tonight I can take a look at the Wiki how to setup the GPIO port.




gclub