Gpio state at reboot/ power up

I am using the latest version of Cayenne with a RPI3. On reboot or power up the GPIO sets itself to OUT and HIGH. This is not good as if the unit reboots randomly it will open the gate and turn on all the lights. is there a way to set these GPIO to OUT but remain on LOW from the time it reboots until i decide to press a button on the gui indicating its state to change…

Ive tried adjusting webiopi (sudo nano /etc/webiopi/config and changed the numbering to suit my pins eg: 40 = OUT 0 and i tried swapping it to 1 however it seems that Cayenne automatically changes it to OUT HIGH

Hi @mohummeds24,

This is something that we will be looking into. There was a workaround submitted on the community, maybe it will help you in the mean time?

Hopefully this helps. We do have plans to fix this though in future.



adjusted webiopi and it solved the issue.