GPIO Status not seen in Domoticz

Moderator: leecollings

Post Reply
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

GPIO Status not seen in Domoticz

Post by alarm_guy1 »

Hi I have searched the forum and net but cant seem to quite get there.

right guys got my Pi 3 B+ running Domoticz 4.9700 want to use GPIO 25 to detect a switch going closed. i.e. bell push.tried using SYSFS but that didnt seem to go well Domoticz reported No "Sysfs-Gpio Exports" so went for Wiring Pi.
This all seemed to go well except when I push the switch and no change in Domoticz. I have edited
"sudo nano /etc/init.d/domoticz.sh" and put the following lines in:
#Run export GPIO Raspberry

Domoticz allows me to add
/usr/bin/gpio export 25 in

The Pi can see the change in state

various screenshots attached

Any reason what bit i'm missing cheers
Attachments
moba.jpg
moba.jpg (205 KiB) Viewed 2997 times
switch.jpg
switch.jpg (56.14 KiB) Viewed 2997 times
screenshot.jpg
screenshot.jpg (230.03 KiB) Viewed 2997 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests