mensi / ekzexport Goto Github PK
View Code? Open in Web Editor NEWCLI and data exporter for the myEKZ customer portal
License: Apache License 2.0
CLI and data exporter for the myEKZ customer portal
License: Apache License 2.0
hi mensi, zwei fragen..
gibt es für den link andere typen neben PK_VERB_15MIN?
vielen dank und liebe grüsse
Thanks for the great package! Do you happen to have a grafana dashboard to visualise the data by any chance?
This is my first time using influxdb and I'm not sure how to best do the queries. I came up with the following to visualise the daily consumption with "Niedertarif" and without but the query is extremely slow:
niedertarif_true = from(bucket: "ekzexport")
|> range(start: 0, stop: now())
|> filter(fn: (r) => r["_measurement"] == "ekz_energy" and r["_field"] == "niedertarif" and r["_value"] == true)
|> keep(columns: ["_time", "_measurement", "_field"])
energy_data = from(bucket: "ekzexport")
|> range(start: 0, stop: now())
|> filter(fn: (r) => r["_measurement"] == "ekz_energy" and r["_field"] == "energy_15min")
join(tables: {niedertarif: niedertarif_true, energy: energy_data}, on: ["_time", "_measurement"])
|> keep(columns: ["_time", "_value"])
|> aggregateWindow(every: 1d, fn: sum, createEmpty: false)
|> map(fn: (r) => ({ r with value_nt: r._value }))
|> drop(columns: ["_value"])
|> yield(name: "daily_sum_nt")
and:
niedertarif_true = from(bucket: "ekzexport")
|> range(start: 0, stop: now())
|> filter(fn: (r) => r["_measurement"] == "ekz_energy" and r["_field"] == "niedertarif" and r["_value"] == false)
|> keep(columns: ["_time", "_measurement", "_field"])
energy_data = from(bucket: "ekzexport")
|> range(start: 0, stop: now())
|> filter(fn: (r) => r["_measurement"] == "ekz_energy" and r["_field"] == "energy_15min")
join(tables: {niedertarif: niedertarif_true, energy: energy_data}, on: ["_time", "_measurement"])
|> keep(columns: ["_time", "_value"])
|> aggregateWindow(every: 1d, fn: sum, createEmpty: false)
|> map(fn: (r) => ({ r with value: r._value }))
|> drop(columns: ["_value"])
|> yield(name: "daily_sum")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.