Comments (6)
Do you see anything in the logs?
from home-assistant-zonneplan-one.
Enable extra logging if you currently do not see anything
Add to config/configuration.yaml
logger:
logs:
custom_components.zonneplan_one: debug
from home-assistant-zonneplan-one.
It's complaining about the authentication:
2021-04-09 08:38:20 ERROR (MainThread) [custom_components.zonneplan_one.coordinator] Error requesting zonneplan_one data: 401, message='Unauthorized', url=URL('https://app-api.zonneplan.nl/oauth/token')
I probably need to login again. Can I use the same account as I'm using for the Zonneplan App on my phone? Or should I create a separate account for the HA integration?
from home-assistant-zonneplan-one.
I use the same account as the I use for the app.
Try to remove the integration and re-add it again.
If for some reason the request for a new token was made but for some reason the request couldn't be correctly processed this 401 can happen. Happened to me to during my first tests. Removing and re-adding it again so you go through the login process again should solve it
from home-assistant-zonneplan-one.
Yes, It started working again by removing and re-adding it again!
from home-assistant-zonneplan-one.
I had the same as well (second time). All available logs:
2021-04-16 20:12:52 INFO (MainThread) [custom_components.zonneplan_one.coordinator] _async_update_data: start
2021-04-16 20:12:52 INFO (MainThread) [custom_components.zonneplan_one.zonneplan_api.api] _async_request_new_token: {'grant_type': 'refresh_token', 'refresh_token': 'def5020080c531d46ae276b4b08c7c6cd3fdac091820a8cf684aa49670ec015940f5d732e1f9c067b5c517f239baef79e4f245ae091b869d458133de44e1bb334a524afe19936a837669610207087e6918f42d147557db40f05de22bb4a353a268b566e89a3499c3e856becce264043d8172d46f21fae128391e2cd07812040aef1a548bc3b81a1ec57847a447..........
2021-04-16 20:12:52 DEBUG (MainThread) [custom_components.zonneplan_one.zonneplan_api.api] ZonneplanAPI response header: <CIMultiDictProxy('Date': 'Fri, 16 Apr 2021 18:12:52 GMT', 'Server': 'Apache', 'Cache-Control': 'no-cache, private', 'X-RateLimit-Limit': '10', 'X-RateLimit-Remaining': '9', 'Upgrade': 'h2,h2c', 'Connection': 'Upgrade', 'Transfer-Encoding': 'chunked', 'Content-Type': 'application/json')>
2021-04-16 20:12:52 DEBUG (MainThread) [custom_components.zonneplan_one.zonneplan_api.api] ZonneplanAPI response status: 401
2021-04-16 20:12:52 ERROR (MainThread) [custom_components.zonneplan_one.coordinator] Error requesting zonneplan_one data: 401, message='Unauthorized', url=URL('https://app-api.zonneplan.nl/oauth/token')
2021-04-16 20:12:52 DEBUG (MainThread) [custom_components.zonneplan_one.coordinator] Finished fetching zonneplan_one data in 0.304 seconds
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.