I have a set of LEDs that I start and turn into a specific colour when the machine starts up and during other events. At power-off/reboot I want the LEDs to reset to the default colour. To achieve this I start a systemd service that starts up the LED code and have a handle for the signal in the python
Tag: service
service restart with buildozer cant find class?
i have tried many solutions and followed many guides but i cant get it to work i have a minimal code example here. this is my main.py: this is a my kv file: and this is my service.py same folder as main.py: this is the buildozer.spec and i have this output from buildozer android debug deploy run logcat i have
python service inside thread inside singleton
I have a singleton in which I want to receive data from a service. Since I’m new to python the only way I could figure this out was that a service sends the data up to the singleton via a method pointer. I use the thread to hinder the service to lock the singleton with its infinite loop. The actual