core: Netatmo worked briefly after 0.116.2 fix ... now sensors are "unavailable"
The problem
a fix for netatmo integration was released with version 0.116.2 … integration worked after fix, however a few days later after some restarts (for other development) … netatmo sensors are showing “unavailable” (see trackback below)
Environment
arch | x86_64 |
---|---|
dev | false |
docker | false |
hassio | false |
installation_type | Home Assistant Core |
os_name | Linux |
os_version | 4.15.0-118-generic |
python_version | 3.8.0 |
timezone | America/Los_Angeles |
version | 0.116.2 |
virtualenv | true |
- Home Assistant Core release with the issue: 0.116.2
- Last working Home Assistant Core release (if known): 0.115.x
- Operating environment (OS/Container/Supervised/Core): ubuntu 18.04 venv python 3.8
- Integration causing this issue: netatmo
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/netatmo/
Problem-relevant configuration.yaml
netatmo:
client_id: !secret netatmo_client_id
client_secret: !secret netatmo_secret
Traceback/Error logs
2020-10-12 05:15:51 INFO (MainThread) [homeassistant.setup] Setting up netatmo
2020-10-12 05:15:51 INFO (MainThread) [homeassistant.setup] Setup of domain netatmo took 0.0 seconds
2020-10-12 05:15:52 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=device_tracker.netatmo_personal_weather_statio, old_state=None, new_state=<state device_tracker.netatmo_personal_weather_statio=not_home; source_type=None, friendly_name=Netatmo-Personal-Weather-Statio @ 2020-10-12T05:15:52.744289-07:00>>
2020-10-12 05:15:58 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_sum_rain_24i, old_state=None, new_state=<state sensor.netatmo_ul_sum_rain_24i=unknown; unit_of_measurement=", friendly_name=netatmo_ul_sum_rain_24i @ 2020-10-12T05:15:58.605561-07:00>>
2020-10-12 05:15:58 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_sum_rain_1i, old_state=None, new_state=<state sensor.netatmo_ul_sum_rain_1i=unknown; unit_of_measurement=", friendly_name=netatmo_ul_sum_rain_1i @ 2020-10-12T05:15:58.605648-07:00>>
2020-10-12 05:15:58 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=netatmo, service=register_webhook>
2020-10-12 05:15:58 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=netatmo, service=unregister_webhook>
2020-10-12 05:15:58 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=netatmo>
2020-10-12 05:15:58 INFO (MainThread) [homeassistant.components.camera] Setting up camera.netatmo
2020-10-12 05:15:58 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.netatmo
2020-10-12 05:15:58 INFO (MainThread) [homeassistant.components.climate] Setting up climate.netatmo
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=netatmo, service=set_persons_home>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=netatmo, service=set_person_away>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=netatmo, service=set_camera_light>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_temperature, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_temperature=unavailable; unit_of_measurement=°C, friendly_name=Netatmo Double LL Ranch Temperature, device_class=temperature @ 2020-10-12T05:15:59.486776-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_co2, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_co2=unavailable; unit_of_measurement=ppm, friendly_name=Netatmo Double LL Ranch CO2, icon=mdi:molecule-co2 @ 2020-10-12T05:15:59.487218-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_humidity, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_humidity=unavailable; unit_of_measurement=%, friendly_name=Netatmo Double LL Ranch Humidity, device_class=humidity @ 2020-10-12T05:15:59.487593-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_noise, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_noise=unavailable; unit_of_measurement=dB, friendly_name=Netatmo Double LL Ranch Noise, icon=mdi:volume-high @ 2020-10-12T05:15:59.487960-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_pressure, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_pressure=unavailable; unit_of_measurement=mbar, friendly_name=Netatmo Double LL Ranch Pressure, device_class=pressure @ 2020-10-12T05:15:59.488323-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_wifi, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_wifi=unavailable; friendly_name=Netatmo Double LL Ranch Wifi, icon=mdi:wifi @ 2020-10-12T05:15:59.488690-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_min_temp, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_min_temp=unavailable; unit_of_measurement=°C, friendly_name=Netatmo Double LL Ranch Min Temp., device_class=temperature @ 2020-10-12T05:15:59.489066-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_max_temp, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_max_temp=unavailable; unit_of_measurement=°C, friendly_name=Netatmo Double LL Ranch Max Temp., device_class=temperature @ 2020-10-12T05:15:59.489434-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_reachability, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_reachability=unavailable; friendly_name=Netatmo Double LL Ranch Reachability, icon=mdi:signal @ 2020-10-12T05:15:59.489818-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_wifi_level, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_wifi_level=unavailable; unit_of_measurement=dBm, friendly_name=Netatmo Double LL Ranch Wifi Level, device_class=signal_strength @ 2020-10-12T05:15:59.490202-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_shed_temperature, old_state=None, new_state=<state sensornetatmo_double_ll_ranch_shed_temperature=unavailable; unit_of_measurement=°C, friendly_name=Netatmo Double LL Ranch Shed Temperature, device_class=temperature @ 2020-10-12T05:15:59.490594-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_shed_humidity, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_shed_humidity=unavailable; unit_of_measurement=%, friendly_name=Netatmo Double LL Ranch Shed Humidity, device_class=humidity @ 2020-10-12T05:15:59.494153-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_shed_radio, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_shed_radio=unavailable; friendly_name=Netatmo Double LL Ranch Shed Radio, icon=mdi:signal @ 2020-10-12T05:15:59.494660-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_shed_battery, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_shed_battery=unavailable; unit_of_measurement=, friendly_name=Netatmo Double LL Ranch Shed Battery, icon=mdi:battery @ 2020-10-12T05:15:59.495065-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_shed_battery_percent, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_shed_battery_percent=unavailable; unit_of_measurement=%, friendly_name=Netatmo Double LL Ranch Shed Battery Percent, device_class=battery @ 2020-10-12T05:15:59.495945-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_shed_min_temp, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_shed_min_temp=unavailable; unit_of_measurement=°C, friendly_name=Netatmo Double LL Ranch Shed Min Temp., device_class=temperature @ 2020-10-12T05:15:59.496344-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_shed_max_temp, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_shed_max_temp=unavailable; unit_of_measurement=°C, friendly_name=Netatmo Double LL Ranch Shed Max Temp., device_class=temperature @ 2020-10-12T05:15:59.496724-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_shed_reachability, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_shed_reachability=unavailable; friendly_name=Netatmo Double LL Ranch Shed Reachability, icon=mdi:signal @ 2020-10-12T05:15:59.497085-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_shed_radio_level, old_state=None, new_state=<state sensornetatmo_double_ll_ranch_shed_radio_level=unavailable; unit_of_measurement=, friendly_name=Netatmo Double LL Ranch Shed Radio Level, device_class=signal_strength @ 2020-10-12T05:15:59.497465-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_shed_battery_level, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_shed_battery_level=unavailable; unit_of_measurement=, friendly_name=Netatmo Double LL Ranch Shed Battery Level, icon=mdi:battery @ 2020-10-12T05:15:59.497844-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_ul_rain, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_ul_rain=unavailable; unit_of_measurement=mm, friendly_name=Netatmo Double LL Ranch UL Rain, icon=mdi:weather-rainy @ 2020-10-12T05:15:59.498251-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_ul_rain_last_24h, old_state=None, new_state=<state sensornetatmo_double_ll_ranch_ul_rain_last_24h=unavailable; unit_of_measurement=mm, friendly_name=Netatmo Double LL Ranch UL Rain last 24h, icon=mdi:weather-rainy @ 2020-10-12T05:15:59.498642-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_ul_rain_last_hour, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_ul_rain_last_hour=unavailable; unit_of_measurement=mm, friendly_name=Netatmo Double LL Ranch UL Rain last hour, icon=mdi:weather-rainy @ 2020-10-12T05:15:59.499040-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_ul_radio, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_ul_radio=unavailable; friendly_name=Netatmo Double LL Ranch UL Radio, icon=mdi:signal @ 2020-10-12T05:15:59.501630-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_ul_battery, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_ul_battery=unavailable; unit_of_measurement=, friendly_name=Netatmo Double LL Ranch UL Battery, icon=mdi:battery @ 2020-10-12T05:15:59.502066-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_ul_battery_percent, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_ul_battery_percent=unavailable; unit_of_measurement=%, friendly_name=Netatmo Double LL Ranch UL Battery Percent, device_class=battery @ 2020-10-12T05:15:59.502460-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_ul_reachability, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_ul_reachability=unavailable; friendly_name=Netatmo Double LL Ranch UL Reachability, icon=mdi:signal @ 2020-10-12T05:15:59.502854-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_ul_radio_level, old_state=None, new_state=<state sensor.netatmo_double_ll_ranch_ul_radio_level=unavailable; unit_of_measurement=, friendly_name=Netatmo Double LL Ranch UL Radio Level, device_class=signal_strength @ 2020-10-12T05:15:59.503233-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_double_ll_ranch_ul_battery_level, old_state=None, new_state=<state sensornetatmo_double_ll_ranch_ul_battery_level=unavailable; unit_of_measurement=, friendly_name=Netatmo Double LL Ranch UL Battery Level, icon=mdi:battery @ 2020-10-12T05:15:59.503599-07:00>>
2020-10-12 05:15:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=netatmo, service=set_schedule>
2020-10-12 05:16:46 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_sum_rain_24i, old_state=<state sensor.netatmo_ul_sum_rain_24i=unknown; unit_of_measurement=", friendly_name=netatmo_ul_sum_rain_24i @ 2020-10-12T05:15:58.605561-07:00>, new_state=<state sensor.netatmo_ul_sum_rain_24i=0.0; unit_of_measurement=", friendly_name=netatmo_ul_sum_rain_24i @ 2020-10-12T05:16:46.219246-07:00>>
2020-10-12 05:16:46 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_sum_rain_1i, old_state=<state sensor.netatmo_ul_sum_rain_1i=unknown; unit_of_measurement=", friendly_name=netatmo_ul_sum_rain_1i @ 2020-10-12T05:15:58.605648-07:00>, new_state=<state sensor.netatmo_ul_sum_rain_1i=0.0; unit_of_measurement=", friendly_name=netatmo_ul_sum_rain_1i @ 2020-10-12T05:16:46.219428-07:00>>
2020-10-12 05:16:46 INFO (MainThread) [homeassistant.components.netatmo] Register Netatmo webhook: https://marotta-ha.ddns.net/api/webhook/c03bbe3d326d522188ff9a4f28f32264351df24a64909ec504f82b8e17061161
2020-10-12 05:16:46 INFO (MainThread) [homeassistant.components.light] Setting up light.netatmo
2020-10-12 05:16:46 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event netatmo_event[L]: type=None, data=user_id=57e93f5c6d1dbdaa2a8bad9a, user=id=57e93f5c6d1dbdaa2a8bad9a, email=dan.marotta5@gmail.com, push_type=webhook_activation>
2020-10-12 05:16:46 INFO (MainThread) [homeassistant.components.netatmo.data_handler] Netatmo webhook successfully registered
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 16 (5 by maintainers)
Everything works again over here, even linking the account😉
Its working again, Im in norway. Case can be closed. Thanks @cgtobi
Already reloeded the integration. All sensors available! Heureka!!
Seems to be a regional thing. It works for me currently (Germany).
Same error for me, worked at first. Getting token expired as the post above.
Just found out, that there are 2 following errors which might be taken into consideration:
and then