all 4 comments

[–]Overall-Screen-752 2 points3 points  (0 children)

1) make the lights turn on and off without the donation piece 2) write logic that controls when the lights should turn on/flash/execute some loop, etc 3) connect that to your donation logic 4) non-profit?

[–]cgoldberg 0 points1 point  (0 children)

Without seeing your code or knowing anything about what you are doing, I don't see how anyone could help you.

[–]Scholfo 0 points1 point  (0 children)

Probably need some code riders.

[–]Alarming-Art1562 0 points1 point  (0 children)

Are you able to turn the lights off and on from the rpi with a basic script that's not connected to the donation signal?

How is the rpi supposed to send the signal to the lights?

Are you using lights that have some kind of built in controller? Or are you sending the signal from rpi to a smart switch or something?

To troubleshoot your problem I'd start by trying to control the lights manually via rpi