diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -47,8 +47,22 @@ pg_dump --schema-only --no-owner --no-privileges el ``` +## Systemd -TODO: +Example: + +``` +ln -s /opt/energyscripts/energyscripts-SCRIPT@ADDRESS.service /etc/systemd/system/energyscripts-mqtt_listener.service +ln -s /opt/energyscripts/energyscripts-SCRIPT@ADDRESS.service /etc/systemd/system/energyscripts-esphomeapi@airgradient.local.net.service + +systemctl enable energyscripts-mqtt_listener.service energyscripts-esphomeapi@airgradient.local.net.service +systemctl start energyscripts-mqtt_listener.service energyscripts-esphomeapi@airgradient.local.net.service +journalctl -fu "energyscripts-*" + +``` + + +## TODO: Put every state in `states`-table. Entities in an entity-table, and devices in a device-table. |