From 4de991164fd3d74cd42e1a27a0f4e4dbba22189b Mon Sep 17 00:00:00 2001 From: Tijmen van Nesselrooij Date: Wed, 14 Sep 2022 20:00:37 +0200 Subject: [PATCH] Add logger call examples --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 025e15b..baf59fa 100644 --- a/README.md +++ b/README.md @@ -34,3 +34,18 @@ In addition to all the runtime dependencies the following dependencies are requi - A C++20 compatible compiler - Nlohmann JSON, [website](https://github.com/nlohmann/json/tree/v3.11.2) - cxxopts, [website](https://github.com/jarro2783/cxxopts/tree/v3.0.0) + +## Examples + +### Solar Logging + +```bash +solar-logger --connection-string "/mnt/data0/log/solarpaneloutput.db" -u "http://192.168.2.26/home.cgi" --type Zeverlution +solar-logger --connection-string "/mnt/data0/log/solarpaneloutput.db" -u "http://192.168.2.84/production.json" --type Envoy +``` + +### Electricity Logging + +```bash +electricity-logger -d /dev/ttyUSB0 --connection-string /home/pi/logs/electricity.logs +``` \ No newline at end of file