Files
home-data-collection-tools/README.md

1.7 KiB

Home Data Collection Tools

A mono repository containing all the homebrew collectors and REST APIs running on the local server. See it in action here.

Project Directory

|- .vscode => A folder with Visual Studio Code IDE specific files, for developing this project
|- include => A folder housing all the header files used by the source files in src/
|- script => A folder with handy bash scripts to create and migrate databases
|- src => A folder with all the source files of the different projects that require compilation
|- systemd => A folder with example systemd service files for the servers

Dependencies

Runtime (server)

Development

In addition to all the runtime dependencies the following dependencies are required for development:

  • A C++20 compatible compiler
  • Nlohmann JSON, website

Examples

Solar Logging

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

electricity-logger -d /dev/ttyUSB0 --connection-string /home/pi/logs/electricity.logs