Enefit Consumption Data Dive 作者: Karupoeg Puhh
add-on for better data visualization on enefit.ee /usage page. Shows electricity consumption and market price data with 15min precision for every day. Tariff period DAY is highlighted with yellow line.
扫码在 Android 版 Firefox 中打开此扩展
扩展元数据
屏幕截图
关于此扩展
The add-on activates on enefit.ee/*/usage page. It sniffs for api/v2/usage-data/consumption requests and grabs the consumption point id to resend the consumption and market-prices requests
with param aggregationType=QUARTER_HOURLY to get the highest resolution data.
Then it listens to changes in the element 'usage-period-title' label text and parses the period params from there, fetching the data with new params (or getting it from cache) and rerendering the chart.
Request responses are cached by consumption point id and period params.
d3.js (v7) is used for drawing the chart replacing the element 'usage-chart-figure'.
with param aggregationType=QUARTER_HOURLY to get the highest resolution data.
Then it listens to changes in the element 'usage-period-title' label text and parses the period params from there, fetching the data with new params (or getting it from cache) and rerendering the chart.
Request responses are cached by consumption point id and period params.
d3.js (v7) is used for drawing the chart replacing the element 'usage-chart-figure'.
评分 0(1 位用户)
权限与数据
更多信息
https://codeberg.org/KarupoegPuhh/FF-addon-enefit-usage-data-dive