Comments (4)
Hello,
so first what do you mean by the integration is offline
? You don't have any new data coming in ? If it's the case, do you have any other errors ? Because the integration is refreshing the data every 2 minutes, so if you don't have any new data for 1 day, you should have plenty of errors.
I have something in my todo list to fix the JSONDecodeError
, sometimes, it seems the API doesn't return json. I'm still wondering how I can do that.
You could have the request_hvac_update is done too often
if you open the app and just after the HA integration is also calling the request_hvac_update
. So if you only had the warning once, I would recommend to keep it every 1h.
Yes, the integration is getting data at HA starting (like any other integration actually).
By the way, if you are developing, you should use HA inside docker https://www.home-assistant.io/docs/installation/docker/. I'm suing that (so my "production" HA is actually never restart expect on electricity failure or update).
from vaillant-component.
after restart - thats the very first message:
2020-10-06 22:16:43 ERROR (MainThread) [custom_components.vaillant.hub] Unable to fetch data from vaillant, API says: {'errorCode': 'FACILITY_NOT_ONLINE'}, status: 409
Traceback (most recent call last):
File "/config/custom_components/vaillant/hub.py", line 75, in _update_system
self.system = await self._manager.get_system()
File "/usr/local/lib/python3.8/site-packages/pymultimatic/systemmanager.py", line 83, in get_system
full_system = await full_system_req
File "/usr/local/lib/python3.8/site-packages/pymultimatic/systemmanager.py", line 582, in _call_api
return await self._connector.request(method, url, payload)
File "/usr/local/lib/python3.8/site-packages/pymultimatic/api/connector.py", line 170, in request
raise ApiError('Cannot ' + method + ' ' + url, response=resp,
pymultimatic.api.error.ApiError: Cannot get https://smart.vaillant.com/mobile/api/v4/facilities/xxxxx/systemcontrol/v1
and thats it - in hass the all entities just read "unavailable".
I also just checked the logs and the automation for request_hvac_update
does not get triggered directly after each restart - so my worry was arbitrary.
/edit: and of course - while writing this and restarting home-assistant once again - everything went back to normal.
maybe vaillant just put me on a temporary ban and the update once every hour somehow prolonged it .. or I don't know ..
from vaillant-component.
yeah, of course 😛 (it only happens to me).
Actually, the vaillant API is quite unstable, I often receive an empty message, or an error "REPORT_DOES_NOT_EXIST", "FACILITY_NOT_ONLINE" or connection timeout (specially during the night). This is why I put extra effort for the integration to be able to recover from these errors, so you don't have to restart HA.
I don't think there is some kind of ban, are you using a dedicated user for HA ?
from vaillant-component.
I thought so. yes - the HA integration uses a different account than my mobile phone - which I use anyways just to check if the API is really offline or my HA setup somehow messed up again ;)
still strange - i restartet HA pretty often yesterday, but at least between 10pm and just before I didn't any data in the log.
but again thanks for the clearification.
from vaillant-component.
Related Issues (20)
- Cannot set hotwater temperature HOT 5
- Understanding this integration - Some Fundamental Support Request HOT 4
- CImate Control - Manual Mode HOT 2
- set temperature status 400 error HOT 1
- floorheating zone disappeared after adding VR50 valves HOT 1
- Multiple instances issue HOT 1
- Gas + electricity consumption HOT 1
- VRC720 and VR92 heating displayed as cooling HOT 3
- Gas consumption doesn't match in the sensoApp and HA HOT 3
- Configurable zone quick veto duration HOT 2
- change of Vaillant user & password HOT 1
- Indoor Sensor HOT 2
- Missing outdoor temperature HOT 1
- Duplicate entities added after Home Assistant reboot HOT 1
- Upcoming deactivation from sensoApp, multiMATIC HOT 32
- Unable to set_ventilation_day_level HOT 2
- Newbie problem: can't find the UI ... HOT 3
- Setting energy consumption in HA - which values? HOT 1
- HotWater TargetTemp VRC700/4 VR921
- Quick Mode is not in list
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 vaillant-component.