I'd like to use my Pi as a home thermostat, with the control loop running in a python script. I want to run it as a daemon on raspbian (debian) at startup.
There's an example bash script in /etc/init.d/skeleton, but it seems unpythonic to mash bash and python together. There are python modules and deb packages that can help with start/stop/alert command processing:
- daemoncmd Python
- monit Debian
- mattdaemon Python
- upstart Ubuntu
Has anyone had success with a particular approach for daemonizing a "real-time" feedback control loop on the Pi?