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

2.0 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
|- docs => A folder housing all the documentation files (*.md)
|- 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

Miscellaneous

A few benchmarks have been done for the solar-server project, which can be found here.

Dependencies

Runtime (server)

  • .NET 6, website
  • Curl: the multiprotocol file tranfser library, website
  • GNU Make, website
  • Pistache: an elegant C++ REST framework, website
  • Spdlog, website
  • Sqlite3: a small SQL database engine, v3.39.2, website

Development

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

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