From 8008fffce08d4cbbc7607872f34a34c11c807ee0 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Sun, 21 Oct 2018 20:06:17 +0100 Subject: Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 60cb44e..4a784b1 100644 --- a/README.md +++ b/README.md @@ -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 `-log.json` e.g. `8FCA808B79-log.json` +Logs are written in JSON format to the project root directory, with the filename `-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. -- cgit v1.2.3