Mar-17-2019, 09:11 PM
Hey guys,
First time poster here, looks like a cool community.
My goal here was to build something that managed the lights on my Status Board Zero for my raspberry pi. Using the library provided (https://github.com/ThePiHut/statusboard) I quickly found out that once the script exited, the lights went out. The script I wrote creates a socket on the local loopback and listens for commands. I know that use of eval() on input is just a bad idea, but that's how I made it work. Looking for feedback, preferably constructive
https://github.com/Rhysers/statusboardd
myServer.py (I know I'm not creative when it comes to naming) is the listening script.
Thanks in advance!
Rhys
First time poster here, looks like a cool community.
My goal here was to build something that managed the lights on my Status Board Zero for my raspberry pi. Using the library provided (https://github.com/ThePiHut/statusboard) I quickly found out that once the script exited, the lights went out. The script I wrote creates a socket on the local loopback and listens for commands. I know that use of eval() on input is just a bad idea, but that's how I made it work. Looking for feedback, preferably constructive
https://github.com/Rhysers/statusboardd
myServer.py (I know I'm not creative when it comes to naming) is the listening script.
Thanks in advance!
Rhys