Some devices not working after reboot

  • Device & model you are using (Ex: Pi 2 Model B or Arduino Uno with W5100 ethernet shield)

Raspberry pi Zero W 1.3

  • What dashboard are you using? (Web, iOS, Android)

Windows PC with chromium.

  • Please describe the bug / issue as detailed as possible. Attaching the code and any relevant screenshots would be very helpful!

So basically I setup 8 relay outputs and all is well until I reboot the PI and then the next time randomly it seems to not work on some of the outputs. On the outputs that don’t work if I turn them on and then turn them off a few moments later it will say its still on again. Yet the GPIO on that channel is not working. I usually end up having to delete those channels and remaking them sometimes that will work or I delete them then reset and re-start setting them up again. The GPIO’s I am using are GPIOs 5-12. I’m not sure if sometimes I look at the GPIO overview and the settings for the IOs are wrong or its just all blanked out…

Any thoughts?

Also i did do sine checking and i can control the output just fine with the pigpio command just fine its like the connection with the cayenne driver gets severed somehow.

you can use the caynne python library GitHub - myDevicesIoT/Cayenne-MQTT-Python: Python Library for Cayenne MQTT API
which gives you more control over the code and device I/O.

Is there a particular python version that would be recommended? Does the default driver still use python on the back end? I did notice I was running an older 3.9.2 version. I tried to upgrade to 3.9.15 and that didn’t seem to help. I was wondering if 3.8.x would be better. I do have a python script for my atlas devices already so I guess I could just use that for everything. Thanks for the idea.


We have not tested it with latest python version, but you can give it a try and see if it works.

Thanks I seem to have it working OK just doing it all through the python MQTT script method at this point.