diff options
| author | James Barnett <james.barnett@fivium.co.uk> | 2018-10-21 20:06:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-21 20:06:17 +0100 |
| commit | 8008fffce08d4cbbc7607872f34a34c11c807ee0 (patch) | |
| tree | dc7942df5642287facdaf6e49530961a540f7536 | |
| parent | 95762cb6c960c0e11a8a423b6a51d62a9c42357e (diff) | |
| download | tplink-energy-monitor-8008fffce08d4cbbc7607872f34a34c11c807ee0.tar.xz tplink-energy-monitor-8008fffce08d4cbbc7607872f34a34c11c807ee0.zip | |
Update README.md
| -rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -14,6 +14,7 @@ Written in Node.js + Express, and fully responsive so works well on mobile devic - Automatically scans for TP-Link smart plug devices on your local network on server start. - Realtime current, voltage, power readings. - Recent power usage trend chart. +- Configurable power usage history logger. - Plug on/off state and uptime. - Daily & monthly energy usage totals and averages. - Historical daily and monthly energy usage charts. @@ -51,7 +52,7 @@ By default this app will log the current power usage of each plug every minute, "maxLogEntries": 1440 // 24hrs at 1 log/min } ``` -Log entries are written in JSON format to the project root directory, with the filename `<plug-id>-log.json` e.g. `8FCA808B79-log.json` +Logs are written in JSON format to the project root directory, with the filename `<plug-id>-log.json` e.g. `8FCA808B79-log.json`. Each file contains all the log entries for that plug, up to the maximum configured number, at which point it will remove the oldest entry when adding a new one. If you are running the app from the Docker image and you want to change the logger config, you can mount your desired config file into `/opt/tplink-monitor/`. The logs can be accessed in the same way. |