From a0978fcf985cfdc76ddc42d5310f52216acc8632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Wed, 20 Jan 2016 13:14:39 +0100 Subject: [PATCH] change guhd service file close #272 add awattar documentation --- data/logrotate/guhd | 5 ++--- data/systemd/guhd.service | 3 ++- plugins/deviceplugins/awattar/devicepluginawattar.cpp | 10 ++++++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/data/logrotate/guhd b/data/logrotate/guhd index b80ba4f7..db3574b8 100644 --- a/data/logrotate/guhd +++ b/data/logrotate/guhd @@ -1,11 +1,10 @@ /var/log/guhd.log { + rotate 7 daily dateext - rotate 7 - size 10M compress delaycompress missingok notifempty - create 644 root root + create 755 root root } diff --git a/data/systemd/guhd.service b/data/systemd/guhd.service index 2d4179f2..c7933d3a 100644 --- a/data/systemd/guhd.service +++ b/data/systemd/guhd.service @@ -1,7 +1,8 @@ [Unit] Description=guhd - IoT server Documentation=https://github.com/guh/guh/wiki -After=ifup-wait-all-auto.service syslog.target +After=network.target syslog.target +Wants=network-online.target [Service] ExecStart=/usr/bin/guhd --print-all diff --git a/plugins/deviceplugins/awattar/devicepluginawattar.cpp b/plugins/deviceplugins/awattar/devicepluginawattar.cpp index 923bef42..44b02be8 100644 --- a/plugins/deviceplugins/awattar/devicepluginawattar.cpp +++ b/plugins/deviceplugins/awattar/devicepluginawattar.cpp @@ -29,8 +29,6 @@ In order to use this plugin you need to enter the access token from your energy provider. You can find more information about you accesstoken \l{https://www.awattar.com/api-unser-datenfeed}{here}. - The pricing data will be updated every hour. - \chapter Available data In following chart you can see an example of the market prices from -12 hours to + 12 hours from the current @@ -46,8 +44,16 @@ \image awattar-graph.png + \chapter Heat pump + Information about the smart grid modes can be found \l{https://www.waermepumpe.de/sg-ready/}{here}. + In order to interact with the heat pump (SG-ready), this plugin creates a CoAP connection to the server running on the + 6LoWPAN bridge. The server IPv6 can be configured in the plugin configuration. Once the connection is established, the + plugin searches for 6LoWPAN neighbors in the network. + + \note Currently there should be only one heat pump in the 6LoWPAN network! + \chapter Plugin properties Following JSON file contains the definition and the description of all available \l{DeviceClass}{DeviceClasses} and \l{Vendor}{Vendors} of this \l{DevicePlugin}.