Comments (21)
I'll see if I can get to my system somewhere today!
from home-assistant-zonneplan-one.
It should be possible to get all data in HA for everything the app shows.
But as I don't have this functionality I'm not able the find out what api endpoint to use and don't know how the data is structured.
Someone with this data should snoop the traffic of the app to find the api endpoint
from home-assistant-zonneplan-one.
from home-assistant-zonneplan-one.
I captured some network data. Where can i send you this privately (secure) ?
from home-assistant-zonneplan-one.
Please send me a PM on the home assistant forum https://community.home-assistant.io/u/minifranske
from home-assistant-zonneplan-one.
Please send me a PM on the home assistant forum https://community.home-assistant.io/u/minifranske
Unfortunately i can't send messages (yet) on the Home Assistant forum since i'm new on the forum. Is there another way ?
from home-assistant-zonneplan-one.
first steps made see https://github.com/fsaris/home-assistant-zonneplan-one/tree/charge_point
from home-assistant-zonneplan-one.
first steps made see https://github.com/fsaris/home-assistant-zonneplan-one/tree/charge_point
Great! If you need any testing done let me know. I have all Zonneplan services in use (One, Connect, Dynamic tarrifs and the charging station.
from home-assistant-zonneplan-one.
@holobeer please test the latest beta
from home-assistant-zonneplan-one.
I reinstalled version 0.1.17b5. After reloading i get the following error in de log:
2023-02-17 17:28:04.634 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up zonneplan_one platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/zonneplan_one/sensor.py", line 113, in async_setup_entry
ZonneplanChargePointSensor(
File "/config/custom_components/zonneplan_one/sensor.py", line 145, in init
self._attr_native_value = self._value_from_coordinator()
File "/config/custom_components/zonneplan_one/sensor.py", line 237, in _value_from_coordinator
raw_value = value = self.coordinator.getConnectionValue(
File "/config/custom_components/zonneplan_one/coordinator.py", line 151, in getConnectionValue
rv = rv[key]
IndexError: list index out of range
I get a new device called "Charge laadpaal":
I am missing a energy/power sensor for the laadpaal (the app can show the energy/power usage of the laadpaal)
But the other zonneplan devices stopped working:
from home-assistant-zonneplan-one.
Can you enable debug logging and share you logs with me?
from home-assistant-zonneplan-one.
I have enabled debug logging. When I restart HA i get the following log entries:
2023-02-20 09:41:16.348 INFO (MainThread) [custom_components.zonneplan_one.coordinator] _async_update_data: start
2023-02-20 09:41:17.492 DEBUG (MainThread) [custom_components.zonne..... [dedacted]
from home-assistant-zonneplan-one.
@holobeer @killengage please test the new beta https://github.com/fsaris/home-assistant-zonneplan-one/releases/tag/0.1.17b6
@hmmbob could you maybe also test the beta?
from home-assistant-zonneplan-one.
I installed the latest beta and it appears to be working fine. No more error messages in the log. I will monitor the sensors over the coming days.
Tnx for the great work!
from home-assistant-zonneplan-one.
It's working again. I had an Apexchart card running to show the current hour rates. This is not working. Else is ok :). If you need data directly from the app again, let me know.
from home-assistant-zonneplan-one.
It's working again. I had an Apexchart card running to show the current hour rates. This is not working. Else is ok :). If you need data directly from the app again, let me know.
Change forcast
into forecast
in the data generator post of apex and you should be good
from home-assistant-zonneplan-one.
@holobeer @killengage please test the new beta https://github.com/fsaris/home-assistant-zonneplan-one/releases/tag/0.1.17b6
@hmmbob could you maybe also test the beta?
Just updated to beta6, looks all good (but I don't have PV or chargepoint)
edit: extending the last point; it looks like it is parsing all data quite a few times at startup to see if there is ChargePoint data in it:
2023-02-27 08:47:41.812 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find pv_installation of pv_installation
2023-02-27 08:47:41.817 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find charge_point of charge_point
2023-02-27 08:47:41.818 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find pv_installation of pv_installation
2023-02-27 08:47:41.819 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find p1_installation of p1_installation
2023-02-27 08:47:41.820 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find charge_point of charge_point
2023-02-27 08:47:41.821 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find charge_point of charge_point
2023-02-27 08:47:41.822 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find charge_point of charge_point
from home-assistant-zonneplan-one.
It's working again. I had an Apexchart card running to show the current hour rates. This is not working. Else is ok :). If you need data directly from the app again, let me know.
Change
forcast
intoforecast
in the data generator post of apex and you should be good
That did the trick. Thanks !
from home-assistant-zonneplan-one.
Just had a reboot to load 2023.3.1, but the list of warnings is even longer:
2023-03-03 11:24:28.980 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find pv_installation of pv_installation
2023-03-03 11:24:28.985 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find charge_point of charge_point
2023-03-03 11:24:28.988 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find pv_installation of pv_installation
2023-03-03 11:24:28.988 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find p1_installation of p1_installation
2023-03-03 11:24:28.989 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find charge_point of charge_point
2023-03-03 11:24:28.990 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find pv_installation of pv_installation
2023-03-03 11:24:28.991 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find p1_installation of p1_installation
2023-03-03 11:24:28.992 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find charge_point of charge_point
2023-03-03 11:24:28.993 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find pv_installation of pv_installation
2023-03-03 11:24:28.994 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find p1_installation of p1_installation
2023-03-03 11:24:28.995 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find charge_point of charge_point
2023-03-03 11:24:28.996 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find charge_point of charge_point
2023-03-03 11:24:28.997 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find charge_point of charge_point
2023-03-03 11:24:28.998 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find charge_point of charge_point
2023-03-03 11:24:28.999 WARNING (MainThread) [custom_components.zonneplan_one.coordinator] Could not find charge_point of charge_point
Is there a way to crawl over the contracts in a more effective way?
edit:, ah, i can explain a bit: In the app I see our new house got added to the contract already. That explains at least half of the warnings ;-)
from home-assistant-zonneplan-one.
These logs should be downgraded to INFO
as it's not a real issue. It's the setup just checking if the data is present to determine if sensors need to be setup.
from home-assistant-zonneplan-one.
First version is released https://github.com/fsaris/home-assistant-zonneplan-one/releases/tag/0.0.17
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.