Comments (6)
Werkt het nu (dankzij zomertijd) zoals het zou moeten werken?
Ja
En heeft het blijkbaar al die maanden niet met de juiste bedragen gewerkt?
Nee.
Rondom de zomertijd zat er een uur minder in de data, waardoor de waardes verkeerd liepen. Na 24u zat weer de normale hoeveelheid uren in de data. Zal ongetwijfeld in de herfst nog een keer gebeuren.
from home-assistant-zonneplan-one.
Correcte aanname, de ruwe data heeft wel de juiste gegevens:
Het is nu 20:15 NL zomertijd, wat Z+02:00 is, dus in Z is het nu 18:15. De data hieronder heeft aan dat de prijs van 2916819 is, wat klopt met de app (29 ct). Over een uur (vanaf 19:00Z, dus 21:00 NL) geeft de ruwe data hieronder 2820503 aan, wat overeenkomt met de waarde in de app op dat moment. De sensor geeft nu echter al 0.2820503 aan.
- price: 2916819
electricity_price: 2916819
tariff_group: normal
solar_percentage: 0
solar_yield: 0
datetime: '2023-03-26T18:00:00.000000Z'
sustainability_score: 331
carbon_footprint_in_grams: 2331
- price: 2820503
electricity_price: 2820503
tariff_group: normal
solar_percentage: 0
solar_yield: 0
datetime: '2023-03-26T19:00:00.000000Z'
sustainability_score: 274
carbon_footprint_in_grams: 2192
from home-assistant-zonneplan-one.
Vermoedelijk omdat hier altijd het 25ste element wordt gekozen (telling begint met 0):
home-assistant-zonneplan-one/custom_components/zonneplan_one/const.py
Lines 84 to 98 in e417cd2
Dat gaat mis als er meer/minder elementen zijn. Oplossing zou zijn om alle datetime's te parsen en daaruit de juiste te selecteren. Ik vraag me af of dit probleem er morgenvroeg (na 03:00 vannacht, 24u na verzetten klok) ook nog is.
from home-assistant-zonneplan-one.
Denk het niet inderdaad, we zien het morgen vanzelf - dan pas weer een probleem bij ingaan wintertijd wanneer er een waarde teveel zal zijn. Dus 7 maanden om het op te lossen!
from home-assistant-zonneplan-one.
Werkt het nu (dankzij zomertijd) zoals het zou moeten werken? En heeft het blijkbaar al die maanden niet met de juiste bedragen gewerkt?
from home-assistant-zonneplan-one.
Related Issues (20)
- Gas price unavailable HOT 67
- Getting cheapest tariff and corresponding hour HOT 5
- Is it possible to add Peak Power (Piekvermogen) value HOT 2
- Is it possible to pull "laadpaal" data from the zonneplan API ? HOT 21
- Typo forcast HOT 1
- Forecast prices are not in euros HOT 1
- Zonneplan API unstable; cache results (longer)? HOT 26
- Zonneplan one became unavailable HOT 1
- No current tariff changes event HOT 2
- Meter readings HOT 2
- Sometimes the current elek/gas tarif is nothing HOT 6
- charge_point (laadpaal) stopped working HOT 3
- Current en forecast electricity price not working HOT 3
- Current electricity tariff 'unknown' HOT 1
- Show electricity costs today and gas costs today in entity HOT 15
- Gas en electra prijzen standaard paar cent hoger dan in de zonneplan app HOT 12
- Deleting a (one) device HOT 4
- zonneplan one fails to start HOT 4
- New property: Tomorrows gas price HOT 19
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.