Files
old-tfm/controller/README.md

14 lines
541 B
Markdown
Raw Normal View History

2015-12-27 07:12:51 +01:00
# Tfm Controller - little thingy that reads sensors, runs motors and communicates with the cloud
## Installation
1. Go to every subdirectory in drivers directory and follow instructions about installation of drivers
2015-12-27 07:36:20 +01:00
2. configure cron to run controller.py every 15 minutes as a superuser:
```
crontab -e -u root
2016-01-24 09:50:49 +01:00
#enter these lines
*/15 * * * * /usr/bin/python /home/pi/projects/tfm/controller/sensors.py "Automatski, Senad Uka" 120
*/1 * * * * /usr/bin/python /home/pi/projects/tfm/controller/sync_state.py "Automatski, Senad Uka" 120
2015-12-27 07:36:20 +01:00
```