Comments (7)
I had the same challenge and solved it by using an integration sensor:
- platform: integration source: sensor.zonneplan_p1_electricity_production name: electricity_production unit: kWh unit_prefix: k round: 2
This seems to do the trick as you can then select the electricity_production sensor.
@pim-simons This is indeed a valid work around. Didn't see at first that you used the integration
component to calculate the kWh
.
Tnx for this hint. Will add it to the readme so others can also use this until we got the real values from the API
from home-assistant-zonneplan-one.
This works for me too, thanks!
from home-assistant-zonneplan-one.
It has already the needed attributes see
You are using version 0.0.4?
For me it shows up in the energy entity selector
from home-assistant-zonneplan-one.
Electricity consumption has the correct properties and is visible. However, electricity production is not visible (at least, if I understand correctly).
from home-assistant-zonneplan-one.
I had the same challenge and solved it by using an integration sensor:
- platform: integration
source: sensor.zonneplan_p1_electricity_production
name: electricity_production
unit: kWh
unit_prefix: k
round: 2
This seems to do the trick as you can then select the electricity_production sensor.
from home-assistant-zonneplan-one.
The yield total
value holds the production of your solar panels.
_p1_electricity_production
is a W
value and not a kWh
that is why it doesn't show up in the selector.
from home-assistant-zonneplan-one.
The energy dashboard only works with kWh
values. And I don't think it's possible to calculate the W
values to kWh
as the first is a current value and the second a cumulative.
The P1 provides the kWh
values in the official protocol but seems like Zonneplan doesn't expose these in there API response. Will reach out to them to see if they are available.
from home-assistant-zonneplan-one.
Related Issues (20)
- 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
- Daylight saving time 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
- Possible to add extra sensor "CheapestTime" HOT 3
- Way to update Zonneplan value to start charging HOT 30
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.