Raspberry Pi Zero, running raspbian Jessie, with an Automation PHat. Outputs connected to an rgb LED, input to PIR, and the relay in use.
I have a script that listens for the PIR on the Automation PHat input, and triggers the relay and the outputs (to light up the LED). It works fine! For about a half hour. After this the PIR input works, but the relay and LED stops working- the code thinks it is triggering them, but nothing happens. Is there some kind of power saving?
I've even put the relay on a loop- checking the state and trying 'automationhat.relay.one.on()' repeatedly- but it stays off (as does the LED).
Any ideas? Logs to look in, things to try? A command to reset automationPhat if it stops responding?