-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Plugin Version
0.6.2
Question
I am trying to toggle a relay, pressing a button, using these GPIO pins:
PSU_BTN | GPIO23 | PIN 16
PSU_Relay | GPIO26 | PIN 37
but it seems not working.
Additional context
I have tested the button with this command:
watch -n 1 raspi-gpio get
and its value changes pressing the button.
I have so tested the relay with the commands:
sudo raspi-gpio set 26 dh
sudo raspi-gpio set 26 dl
and it works correctly.
this is the export of the configutation:
[
{
"activities": [
{
"execute": {
"async": "False",
"gpio": "26",
"id": 1739103478500,
"initial": "LOW",
"time": "0",
"value": "Toggle"
},
"identifier": "GPIO26-Toggle-0ms",
"type": "output"
}
],
"buttonMode": "Normally Open (NO)",
"buttonName": "PSU Button",
"buttonTime": "100",
"enabled": true,
"enabledWhilePrinting": true,
"gpio": "23",
"id": 1739102876465
}
]
Shall you help me?