core: Neatmo indoor module integration not working
Neatmo indoor module integration not working
All indoor sensors unavailable. Netatmo public OK. Indoor module values OK on Netatmo web.
Environment
- Home Assistant Core release with the issue: 115.6
- Last working Home Assistant Core release (if known): Yeasterday, not crashed after update but during night
- Operating environment (OS/Container/Supervised/Core): Hassio supervised
- Integration causing this issue: Netatmo
- Link to integration documentation on our website:
Problem-relevant configuration.yaml
netatmo:
client_id: !secret netatmo_api_key
client_secret: !secret netatmo_secret_key
Traceback/Error logs
2020-10-01 13:24:47 INFO (MainThread) [homeassistant.setup] Setting up netatmo
2020-10-01 13:24:47 INFO (MainThread) [homeassistant.setup] Setup of domain netatmo took 0.0 seconds
2020-10-01 13:24:47 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=netatmo, service=register_webhook>
2020-10-01 13:24:47 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=netatmo, service=unregister_webhook>
...
2020-10-01 13:24:47 INFO (MainThread) [homeassistant.components.camera] Setting up camera.netatmo
2020-10-01 13:24:47 INFO (MainThread) [homeassistant.components.climate] Setting up climate.netatmo
...
2020-10-01 13:24:48 DEBUG (SyncWorker_39) [requests_oauthlib.oauth2_session] Requesting url https://api.netatmo.com/api/gethomedata using method POST.
2020-10-01 13:24:48 DEBUG (SyncWorker_18) [requests_oauthlib.oauth2_session] Requesting url https://api.netatmo.com/api/homesdata using method POST.
...
2020-10-01 13:24:49 DEBUG (MainThread) [homeassistant.components.netatmo.data_handler] Data class CameraData added
2020-10-01 13:24:49 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=netatmo, service=set_persons_home>
2020-10-01 13:24:49 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=netatmo, service=set_person_away>
2020-10-01 13:24:49 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=netatmo, service=set_camera_light>
2020-10-01 13:24:50 DEBUG (MainThread) [homeassistant.components.netatmo.data_handler] Data class HomeData added
2020-10-01 13:24:50 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=netatmo, service=set_schedule>
2020-10-01 13:24:50 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: name=homeassistant.components.sensor, message=['The netatmo platform for the sensor integration does not support platform setup. Please remove it from your config.'], level=ERROR, source=['helpers/entity_platform.py', 121], timestamp=1601551489.874223, exception=, count=1, first_occurred=1601551489.874223>
2020-10-01 13:24:50 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.netatmo
...
2020-10-01 13:24:52 DEBUG (MainThread) [homeassistant.components.netatmo.data_handler] Data class WeatherStationData added
2020-10-01 13:24:52 DEBUG (MainThread) [homeassistant.components.netatmo.sensor] Adding module Indoor xx:xx:xx:xx:xx:xx
2020-10-01 13:24:52 DEBUG (MainThread) [homeassistant.components.netatmo.sensor] Adding module Outdoor xx:xx:xx:xx:xx:xx
2020-10-01 13:24:52 DEBUG (SyncWorker_2) [requests_oauthlib.oauth2_session] Requesting url https://api.netatmo.com/api/gethomecoachsdata using method POST.
...
2020-10-01 13:24:53 DEBUG (MainThread) [homeassistant.components.netatmo.netatmo_entity_base] New client sensor.netatmo_bobo_netatmo_indoor_temperature
...
2020-10-01 13:24:53 DEBUG (MainThread) [homeassistant.components.netatmo.data_handler] No weather station available
2020-10-01 13:24:53 DEBUG (MainThread) [homeassistant.components.netatmo.data_handler] Data class HomeCoachData added
2020-10-01 13:24:53 DEBUG (SyncWorker_19) [requests_oauthlib.oauth2_session] Requesting url https://api.netatmo.com/api/getpublicdata using method POST.
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 3
- Comments: 44 (17 by maintainers)
My own experience, Sir. All Netatmo weather related devices broke in 0.116 and 0.116.1 Only my camera worked. When something brakes completely - it’s severe (in my book). But it was quickly discovered by the team, and acknowledged by yourself. You did a great job. Please don’t get me wrong. https://github.com/home-assistant/core/pull/41517
My netatmo is back. I did some steps:
All works fine now - indoor and public sensors.
Maybe my steps help someone.
I run test script on Ubuntu 20 WSL and… it works! Netatmo indoor module values tested OK.
But what to do now? Remove and re-insert integration in HA?
They are already closed since the issue has been fixed and it will be released in 0.116.2.
https://github.com/home-assistant/core/issues?q=is%3Aissue+netatmo+0.116.1+is%3Aclosed