2
0
mirror of https://github.com/schnidrig/openhab-ansible synced 2026-01-12 00:48:46 +01:00

added gardena monitor

This commit is contained in:
Christian Schnidrig
2019-07-05 20:21:27 +02:00
parent dbeff3ea46
commit caf4dcd77a
6 changed files with 60 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ TIMESTAMP=`date +%Y%m%d`;
tar -C / -czf /tmp/openhab2-backup-$TIMESTAMP.tgz etc/openhab2 var/lib/openhab2
echo "Now save the file /tmp/openhab2-backup-$TIMESTAMP.tgz"
echo " as regular user run: scp /tmp/openhab2-backup-20190422.tgz christian@ds3018:/volume1/backup"
echo " as regular user run: scp /tmp/openhab2-backup-$TIMESTAMP.tgz christian@ds3018:/volume1/backup"
# start openhab instance
#sudo systemctl start openhab2.service

View File

@@ -0,0 +1,8 @@
[Unit]
Description=Service monitoring gardena web service
[Service]
ExecStart=/etc/openhab2/automation/gardena_monitor_collector.py
[Install]
WantedBy=multi-user.target