Comments (14)
I created a PR for this issue ;-). #28
from home-assistant-zonneplan-one.
It's released π
Tnx @loedeman for the fix
from home-assistant-zonneplan-one.
Apologies to hijack this topic but:
@loedeman how did you manage those graphs? Iβve been poking around for weeks to get something like that. Would you mind sharing your yaml?
Hi @lenwar sure, here are the YAMLs for the Lovelace components:
type: custom:apexcharts-card
experimental:
color_threshold: true
apex_config:
legend:
show: false
header:
show: true
title: Elektriciteitsprijs komende 8 uur
standard_format: true
graph_span: 8h
span:
offset: +8h
yaxis:
- decimals: 2
series:
- entity: sensor.zonneplan_forcast_tariff_hour_8
name: Forecast
curve: stepline
float_precision: 2
offset: '-8h'
show:
offset_in_name: false
color_threshold:
- value: -1
color: green
- value: 0.2
color: green
- value: 0.3
color: orange
- value: 0.4
color: red
... and ...
type: custom:apexcharts-card
experimental:
color_threshold: true
apex_config:
legend:
show: false
header:
show: true
show_states: true
graph_span: 168h
yaxis:
- id: elec
decimals: 2
- id: gas
opposite: true
decimals: 2
series:
- entity: sensor.zonneplan_current_electricity_tariff
name: Elektriciteitsprijs
yaxis_id: elec
curve: stepline
stroke_width: 2
float_precision: 2
color_threshold:
- value: -1
color: green
- value: 0.2
color: green
- value: 0.3
color: orange
- value: 0.4
color: red
show:
header_color_threshold: true
- entity: sensor.zonneplan_current_gas_tariff
name: Gasprijs
yaxis_id: gas
curve: stepline
opacity: 0.7
stroke_width: 3
float_precision: 2
fill_raw: last
color_threshold:
- value: 0
color: green
- value: 0.75
color: green
- value: 1
color: blue
- value: 1.5
color: gray
show:
header_color_threshold: true
from home-assistant-zonneplan-one.
from home-assistant-zonneplan-one.
Dit is de JSON van de uurprijzen API call. Er staan 57 items in de lijst (en hij begint nu idd met 24 uur geleden :-) )...
Zonneplan hourly rates.txt
from home-assistant-zonneplan-one.
Tnx for the pr
Can you also verify this gives the expected values in the morning (before 13.00)? See also #22 (comment)
from home-assistant-zonneplan-one.
I will look into that when I wake up tomorrow π! Will keep you posted!
from home-assistant-zonneplan-one.
Just checked, the fix also works for the morning (before 1PM). Have a look at the current price data...
Zonneplan hourly rates (before 1PM).txt
from home-assistant-zonneplan-one.
I know this is open source but.... it would be nice if this is released ASAP. As currently all zonneplan API dependent integrations are broken and switching based on yesterday's price data :P
from home-assistant-zonneplan-one.
I know this is open source but.... it would be nice if this is released ASAP. As currently all zonneplan API dependent integrations are broken and switching based on yesterday's price data :P
I could not agree more - patience is a real virtue though π. It should just be a push of the button, isnβt it?
from home-assistant-zonneplan-one.
Apologies to hijack this topic but:
@loedeman how did you manage those graphs? Iβve been poking around for weeks to get something like that. Would you mind sharing your yaml?
from home-assistant-zonneplan-one.
Wow, that simple... Thanks!! :)
from home-assistant-zonneplan-one.
@loedeman
Just a small FYI: I noticed that I had to change the offset to +7 as the values were one hour off in comparison to the Zonneplan app.
from home-assistant-zonneplan-one.
@lenwar As far as I can see, not in my install :-) . But happy for you if that fixes things at your end ;-) .
from home-assistant-zonneplan-one.
Related Issues (20)
- Multiple zero values retrieved throughout the day for delivery/production of Zonneplan home battery HOT 4
- Powerplay compensation sensor HOT 16
- Current electricity tariff one hour off since Summertime HOT 2
- Thuisbatteriij sensors stopped updating HOT 6
- Entity "Schedule start and end" is not working anymore HOT 8
- Gas price not updating anymore HOT 3
- Powerplay HOT 3
- Way to update Zonneplan value to start charging HOT 30
- GAS tariff not used in energy dashboard HOT 1
- Failed setup, will retry HOT 2
- Try to get update for Charge point data after button press HOT 1
- Only call the summary endpoint once HOT 3
- Eerste inlog lukt niet: "Login link opvragen" HOT 2
- API not working? HOT 46
- Add integration version to API call headers HOT 5
- New costs sensors have wrong state_class HOT 5
- Data is rounded HOT 10
- Zonneplan last measured value update only once per hour HOT 4
- Deprecated constants used in Zonneplan integration HOT 2
- Only one of two PV installation shown (both present on one address) HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant-zonneplan-one.