Skip to content

A script processing electricity information collected by OneMeter device and uploading the data to the InfluxDB 2 database.

License

Notifications You must be signed in to change notification settings

tschaban/OneMeter

Repository files navigation

Purpose

Script leverages OneMeter https://onemeter.com/ device and data collected with OneMeter cloud

The script:

  • Downloads electricity usage data from cloud.onemeter.com and uploads the data to InfluxDB data in regular frequency.
  • It's primarly designed for InfluxDB, Grafana and openHAB; while this is not a blocker to use it with InfluxDB and Grafana only or with some adjustments with Domoticz ,HomeAssistant, etc)

Highlevel description of how the script works and is configured

  • It's configured to download the data from the last 24hrs; It's possible to change the time range of data
  • There are all data records downloaded from onemeter cloud; currently, data stores electricity usage with 15m intervals
  • Pre data upload to InfluxDB the records are deleted from InfluxDB for the last 24hrs; it can be configured
  • Data mapping is made for G12 tariff
  • The script is designed to upload the data to InfluxDB 2 database.
  • The script may send the log after data upload to the cell phone using Pushover messaging solutions.

What data are currently processed

  • Total energy used
  • Total energy used tariff 1
  • Total energy used tariff 2
  • Incremental consumption: tariff 1 (every 15m)
  • Incremental consumption: tariff 2 (every 15m)
  • OneMeter device battery voltage
  • Temperature measured by OneMeter device

Requirments

Optional configuration

  • Pushover; used to sent push notification to cell phones: iOS, Android

Hints for configuration:

  • The script should be run in a defined frequency eg. every 24hrs
  • to run the script use the *.sh or *.bat script depending on OS; requires adjustments in terms of paths

In case of questons, use gitHub issues or post it at https://forum.smartnydom.pl

About

A script processing electricity information collected by OneMeter device and uploading the data to the InfluxDB 2 database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages