mirror of
https://github.com/pommi/python-itho-wpu.git
synced 2024-12-22 18:53:28 +01:00
Compare commits
No commits in common. "8bde04ba412f14f82796c8dcddbe1f8c8d5d91bb" and "c41b700f13c0dfe8a4d1197b482b8ac1856b1228" have entirely different histories.
8bde04ba41
...
c41b700f13
@ -21,7 +21,6 @@ See the [pislave](https://github.com/ootjersb/pislave#wiring) project
|
|||||||
pigpiod \ # Pigpio daemon to communicate over the I2C bus
|
pigpiod \ # Pigpio daemon to communicate over the I2C bus
|
||||||
python3-pigpio \ # Python module to talk to the pigpio daemon
|
python3-pigpio \ # Python module to talk to the pigpio daemon
|
||||||
python3-pyodbc \ # Python module to access an ODBC database
|
python3-pyodbc \ # Python module to access an ODBC database
|
||||||
odbcinst1debian2 \ # Library for accessing ODBC config files (odbc-mdbtools dependency)
|
|
||||||
sqlite3 \ # To store a subset of the Itho database in SQLite
|
sqlite3 \ # To store a subset of the Itho database in SQLite
|
||||||
direnv \ # Environment variable manager to store credentials for InfluxDB
|
direnv \ # Environment variable manager to store credentials for InfluxDB
|
||||||
python3-influxdb # To export measurements to InfluxDB
|
python3-influxdb # To export measurements to InfluxDB
|
||||||
@ -130,7 +129,7 @@ Assuming InfluxDB is running on the Raspberry Pi as well.
|
|||||||
cat > /etc/cron.d/itho <<EOT
|
cat > /etc/cron.d/itho <<EOT
|
||||||
PATH=/usr/bin:/bin:/usr/sbin:/sbin
|
PATH=/usr/bin:/bin:/usr/sbin:/sbin
|
||||||
|
|
||||||
*/5 * * * * root cd /root/python-itho-wpu && DIRENV_LOG_FORMAT='' direnv exec . ./itho-wpu.py --action getdatalog --export-to-influxdb >> /var/log/itho.log
|
*/5 * * * * root cd /root/python-itho-wpu && direnv exec . ./itho-wpu.py --action getdatalog --export-to-influxdb >> /var/log/itho.log
|
||||||
EOT
|
EOT
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user