Chronos is a boiling/cooling water system working on Raspberry Pi. Chronos has a web interface to control the system and tracking for the state.
To install the latest version Chronos from Bitbucket repo enter the following command:
# pip install git+https://bitbucket.org/quarck/chronos.git
To install a certain version from a tag, commit or branch enter this:
# pip install git+https://bitbucket.org/quarck/chronos.git@commit|tag|branch
- Flask
- pyserial
- apscheduler
- pymodbus
- sqlalchemy
- python-socketio
- socketIO_client
- uwsgi
- nginx
TODO
To work with shared log and access to the db file www-data and pi users have to be added in one group. Installation script does all required actions.
chronos log directory: /var/log/chronos
chronos database directory: /home/pi/chronos_db
chronos config path: /etc/chronos_config.json
Chronos has a daemon which controlled by the following command:
# service chronos start|stop|restart
Web UI managed by uwsgi app server:
# service uwsgi start|stop|restart|reload chronos
SocketIO server managing:
# service uwsgi start|stop|restart|reload socketio_server