p1-bigquery-exporter

command module
v0.0.0-...-8eaa901 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2020 License: MIT Imports: 19 Imported by: 0

README

Note

This application is superseded by jarvis-p1-exporter.

What does this do?

In the Netherlands so called 'smart' electricity meters are nothing more than meters that can export their readings in a digital format, called P1.

The specification of the format can be found at https://www.netbeheernederland.nl/_upload/Files/Slimme_meter_15_a727fce1f1.pdf.

Multiple other metering devices can be linked to the smart meter and export their readings through the same format; this is often used to export gas meter readings as well; and although it can also be used to link water meters in the Netherlands this is rarely done, because water is supplied by different companies than energy.

This application can be run as a cronjob to export the readings to BigQuery in a regular interval.

Installation

To install this application using Helm run the following commands:

helm repo add jorritsalverda https://helm.jorritsalverda.com
kubectl create namespace p1-bigquery-exporter

helm upgrade \
  p1-bigquery-exporter \
  jorritsalverda/p1-bigquery-exporter \
  --install \
  --namespace p1-bigquery-exporter \
  --set secret.gcpServiceAccountKeyfile='{abc: blabla}' \
  --wait

If you later on want to upgrade without specifying all values again you can use

helm upgrade \
  p1-bigquery-exporter \
  jorritsalverda/p1-bigquery-exporter \
  --install \
  --namespace p1-bigquery-exporter \
  --reuse-values \
  --set cronjob.schedule='*/1 * * * *' \
  --wait

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL