When doing http://192.168.178.xxx/control?cmd=gpio,14,1
This sets GPIO switch on 1
This gives the answer:
Code: Select all
{
"log": "GPIO 5 Set to 0",
"plugin": 1,
"pin": 5,
"mode": "output",
"state": 1
}
I tried http://192.168.178.xxx/control?cmd=pcfgpio,2,1
This gives the answer:
Code: Select all
{
"log": "GPIO OUTPUT 2 Set to 1",
"plugin": 19,
"pin": 2,
"mode": "output",
"state": 1
}
Now the PCF switch input doesn't be set to 1, when giving this http command.
Is it not possible? Or is it me, doing something wrong?