I have a Raspberry Pi 3
Hardware : BCM2835
Revision : a02082
Serial : 0000000078376606
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.6 (stretch)
I have Cayenne installed and added in the pins for an 8 port relay board. The relay control software and temperature sensors work fine. I can control them on and off and get state via a few simple python scripts. So, the query and action parts of the system are working fine.
What doesn’t work, though, is the Cayenne app, even though it can ssh just fine to the pi and see it and see the proper values for the temperatures sensors.
It gets confused about the state of the relay ports, Right now it correctly believes that 4 relays are off, but it also incorrectly believes that 2 relay ports are on, when they are not. Also, most of the time when I click on a relay to toggle it either via the Android app or via the cayenne web portal, it will spin and eventually time out, having done nothing at all.
Any help on troubleshooting what’s going on here?