geertmeersman / robonect

Home Assistant integration for Robonect
MIT License
36 stars 4 forks source link

Exception 'NoneType' object has no attribute 'items' #162

Closed 011V32 closed 2 months ago

011V32 commented 3 months ago

Today I got the following error after startup:


Logger: custom_components.robonect
Source: custom_components/robonect/__init__.py:240
integration: Robonect (documentation, issues)
First occurred: 08:32:24 (1 occurrences)
Last logged: 08:32:24

Exception 'NoneType' object has no attribute 'items'

What could cause this problem? Thx

geertmeersman commented 3 months ago

Hi, could you activate debug logging for robonect?

011V32 commented 2 months ago

Here it is (I removed the items and some successful fetches):

2024-05-28 10:54:53.908 ERROR (MainThread) [aiorobonect.client] Failed to connect using HTTP://192.168.5.61: 2024-05-28 10:55:13.913 ERROR (MainThread) [aiorobonect.client] Failed to connect using HTTPS://192.168.5.61: 2024-05-28 10:55:31.072 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('philips_airpurifier_coap', '4f9fcab061e049df4888822faa5f0fab'): 343023.856590648, ('robonect', 'c2165f7679bf6c15405cd1cf9229cc04'): 343024.978661344} 2024-05-28 10:55:33.941 ERROR (MainThread) [aiorobonect.client] Failed to connect using HTTP://192.168.5.61: 2024-05-28 10:55:53.945 ERROR (MainThread) [aiorobonect.client] Failed to connect using HTTPS://192.168.5.61: 2024-05-28 10:55:53.946 ERROR (MainThread) [custom_components.robonect] Unexpected error fetching robonect data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/robonect/init.py", line 226, in _async_update_data await self.get_data() File "/config/custom_components/robonect/init.py", line 215, in get_data for key, value in data.items(): ^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'items' 2024-05-28 10:55:53.950 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 40.033 seconds (success: False) 2024-05-28 10:56:25.155 ERROR (MainThread) [aiorobonect.client] Failed to connect using HTTP://192.168.5.61: 2024-05-28 10:56:25.167 ERROR (MainThread) [aiorobonect.client] Failed to connect using HTTPS://192.168.5.61: All connection attempts failed 2024-05-28 10:56:33.290 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 10:56:36.290 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 11.120 seconds (success: True) 2024-05-28 10:56:36.316 DEBUG (MainThread) [custom_components.robonect.binary_sensor] Creating REST binary sensors 2024-05-28 10:56:36.316 DEBUG (MainThread) [custom_components.robonect.binary_sensor] [sensor|async_setup_entry|adding] $.health.health.alarm 2024-05-28 10:56:36.318 DEBUG (MainThread) [custom_components.robonect.sensor] MQTT Subscribing to automower/# 2024-05-28 10:56:36.318 DEBUG (MainThread) [custom_components.robonect.sensor] Creating REST sensors 2024-05-28 10:56:36.318 DEBUG (MainThread) [custom_components.robonect.sensor] [async_setup_entry|REST|adding] $.battery.batteries.0.charge 2024-05-28 10:56:36.318 DEBUG (MainThread) [custom_components.robonect.sensor] [async_setup_entry|REST|adding] Item in array: {'id': 0, 'charge': 100, 'voltage': 20307, 'current': 6, 'temperature': 163, 'capacity': {'full': 1600, 'remaining': 1600}} 2024-05-28 10:56:36.318 DEBUG (MainThread) [custom_components.robonect.sensor] [async_setup_entry|REST|adding] $.motor.drive.left.power 2024-05-28 10:56:36.318 DEBUG (MainThread) [custom_components.robonect.sensor] [async_setup_entry|REST|adding] $.motor.drive.right.power 2024-05-28 10:56:36.318 DEBUG (MainThread) [custom_components.robonect.sensor] [async_setup_entry|REST|adding] $.motor.blade.speed 2024-05-28 10:56:36.318 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/battery/charge 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] device/serial 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/distance 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] device/name 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] health/climate/temperature 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] health/climate/humidity 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/blades/quality 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/blades/days 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/blades/hours 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/stopped 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] wlan/rssi 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/mode 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/statistic/hours 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/error/code 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/error/message 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/substatus 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/substatus/plain 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/timer/next/unix 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] weather/data/break 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [async_setup_entry|REST|adding] $.weather.service.enable 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/status 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/status/plain 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/status/duration 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] health/voltage/int33 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] health/voltage/ext33 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] health/voltage/batt 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] gps/latitude 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] gps/longitude 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] passage/open 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [async_setup_entry|REST|adding] $.status.clock.unix 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [async_setup_entry|REST|adding] $.ext.ext.gpio1.status 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [async_setup_entry|REST|adding] $.ext.ext.gpio2.status 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [async_setup_entry|REST|adding] $.ext.ext.out1.status 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [async_setup_entry|REST|adding] $.ext.ext.out2.status 2024-05-28 10:56:36.319 DEBUG (MainThread) [custom_components.robonect.sensor] [async_setup_entry|REST|adding] $.status.error.error_code 2024-05-28 10:56:36.333 DEBUG (MainThread) [custom_components.robonect.vacuum] Creating MQTT Vacuum 2024-05-28 10:56:36.334 DEBUG (MainThread) [custom_components.robonect.lawn_mower] Creating MQTT Lawn mower 2024-05-28 10:56:36.455 DEBUG (MainThread) [custom_components.robonect.vacuum] async_mqtt_event_received | Adding MQTT Vacuum 2024-05-28 10:56:36.456 DEBUG (MainThread) [custom_components.robonect.lawn_mower] async_mqtt_event_received | Adding MQTT Lawn mower 2024-05-28 10:56:36.458 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mqtt (MQTT Topic automower/mqtt) 2024-05-28 10:56:36.461 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_device_serial (MQTT Topic automower/device/serial) 2024-05-28 10:56:36.464 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_device_name (MQTT Topic automower/device/name) 2024-05-28 10:56:36.467 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_wlan_rssi (MQTT Topic automower/wlan/rssi) 2024-05-28 10:56:36.469 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_status (MQTT Topic automower/mower/status) 2024-05-28 10:56:36.472 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_status_plain (MQTT Topic automower/mower/status/plain) 2024-05-28 10:56:36.475 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_status_duration (MQTT Topic automower/mower/status/duration) 2024-05-28 10:56:36.478 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_substatus (MQTT Topic automower/mower/substatus) 2024-05-28 10:56:36.480 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_stopped (MQTT Topic automower/mower/stopped) 2024-05-28 10:56:36.483 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_mode (MQTT Topic automower/mower/mode) 2024-05-28 10:56:36.485 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_distance (MQTT Topic automower/mower/distance) 2024-05-28 10:56:36.487 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_battery_charge (MQTT Topic automower/mower/battery/charge) 2024-05-28 10:56:36.490 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_statistic_hours (MQTT Topic automower/mower/statistic/hours) 2024-05-28 10:56:36.492 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_next_unix (MQTT Topic automower/mower/timer/next/unix) 2024-05-28 10:56:36.510 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_next_date (MQTT Topic automower/mower/timer/next/date) 2024-05-28 10:56:36.511 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_next_time (MQTT Topic automower/mower/timer/next/time) 2024-05-28 10:56:36.511 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch0_enable (MQTT Topic automower/mower/timer/ch0/enable) 2024-05-28 10:56:36.513 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch0_weekdays (MQTT Topic automower/mower/timer/ch0/weekdays) 2024-05-28 10:56:36.515 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch0_start (MQTT Topic automower/mower/timer/ch0/start) 2024-05-28 10:56:36.516 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch0_end (MQTT Topic automower/mower/timer/ch0/end) 2024-05-28 10:56:36.517 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch1_enable (MQTT Topic automower/mower/timer/ch1/enable) 2024-05-28 10:56:36.519 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch1_weekdays (MQTT Topic automower/mower/timer/ch1/weekdays) 2024-05-28 10:56:36.520 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch1_start (MQTT Topic automower/mower/timer/ch1/start) 2024-05-28 10:56:36.521 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch1_end (MQTT Topic automower/mower/timer/ch1/end) 2024-05-28 10:56:36.522 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch2_enable (MQTT Topic automower/mower/timer/ch2/enable) 2024-05-28 10:56:36.523 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch2_weekdays (MQTT Topic automower/mower/timer/ch2/weekdays) 2024-05-28 10:56:36.525 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch2_start (MQTT Topic automower/mower/timer/ch2/start) 2024-05-28 10:56:36.526 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch2_end (MQTT Topic automower/mower/timer/ch2/end) 2024-05-28 10:56:36.528 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch3_enable (MQTT Topic automower/mower/timer/ch3/enable) 2024-05-28 10:56:36.529 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch3_weekdays (MQTT Topic automower/mower/timer/ch3/weekdays) 2024-05-28 10:56:36.531 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch3_start (MQTT Topic automower/mower/timer/ch3/start) 2024-05-28 10:56:36.532 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch3_end (MQTT Topic automower/mower/timer/ch3/end) 2024-05-28 10:56:36.534 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch4_enable (MQTT Topic automower/mower/timer/ch4/enable) 2024-05-28 10:56:36.536 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch4_weekdays (MQTT Topic automower/mower/timer/ch4/weekdays) 2024-05-28 10:56:36.538 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch4_start (MQTT Topic automower/mower/timer/ch4/start) 2024-05-28 10:56:36.540 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch4_end (MQTT Topic automower/mower/timer/ch4/end) 2024-05-28 10:56:36.542 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch5_enable (MQTT Topic automower/mower/timer/ch5/enable) 2024-05-28 10:56:36.544 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch5_weekdays (MQTT Topic automower/mower/timer/ch5/weekdays) 2024-05-28 10:56:36.546 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch5_start (MQTT Topic automower/mower/timer/ch5/start) 2024-05-28 10:56:36.548 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch5_end (MQTT Topic automower/mower/timer/ch5/end) 2024-05-28 10:56:36.550 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch6_enable (MQTT Topic automower/mower/timer/ch6/enable) 2024-05-28 10:56:36.551 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch6_weekdays (MQTT Topic automower/mower/timer/ch6/weekdays) 2024-05-28 10:56:36.553 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch6_start (MQTT Topic automower/mower/timer/ch6/start) 2024-05-28 10:56:36.554 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch6_end (MQTT Topic automower/mower/timer/ch6/end) 2024-05-28 10:56:36.556 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch7_enable (MQTT Topic automower/mower/timer/ch7/enable) 2024-05-28 10:56:36.557 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch7_weekdays (MQTT Topic automower/mower/timer/ch7/weekdays) 2024-05-28 10:56:36.559 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch7_start (MQTT Topic automower/mower/timer/ch7/start) 2024-05-28 10:56:36.560 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch7_end (MQTT Topic automower/mower/timer/ch7/end) 2024-05-28 10:56:36.561 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch8_enable (MQTT Topic automower/mower/timer/ch8/enable) 2024-05-28 10:56:36.563 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch8_weekdays (MQTT Topic automower/mower/timer/ch8/weekdays) 2024-05-28 10:56:36.564 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch8_start (MQTT Topic automower/mower/timer/ch8/start) 2024-05-28 10:56:36.565 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch8_end (MQTT Topic automower/mower/timer/ch8/end) 2024-05-28 10:56:36.567 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch9_enable (MQTT Topic automower/mower/timer/ch9/enable) 2024-05-28 10:56:36.568 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch9_weekdays (MQTT Topic automower/mower/timer/ch9/weekdays) 2024-05-28 10:56:36.569 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch9_start (MQTT Topic automower/mower/timer/ch9/start) 2024-05-28 10:56:36.571 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch9_end (MQTT Topic automower/mower/timer/ch9/end) 2024-05-28 10:56:36.572 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch10_enable (MQTT Topic automower/mower/timer/ch10/enable) 2024-05-28 10:56:36.574 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch10_weekdays (MQTT Topic automower/mower/timer/ch10/weekdays) 2024-05-28 10:56:36.575 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch10_start (MQTT Topic automower/mower/timer/ch10/start) 2024-05-28 10:56:36.577 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch10_end (MQTT Topic automower/mower/timer/ch10/end) 2024-05-28 10:56:36.578 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch11_enable (MQTT Topic automower/mower/timer/ch11/enable) 2024-05-28 10:56:36.581 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch11_weekdays (MQTT Topic automower/mower/timer/ch11/weekdays) 2024-05-28 10:56:36.582 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch11_start (MQTT Topic automower/mower/timer/ch11/start) 2024-05-28 10:56:36.583 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch11_end (MQTT Topic automower/mower/timer/ch11/end) 2024-05-28 10:56:36.585 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch12_enable (MQTT Topic automower/mower/timer/ch12/enable) 2024-05-28 10:56:36.586 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch12_weekdays (MQTT Topic automower/mower/timer/ch12/weekdays) 2024-05-28 10:56:36.588 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch12_start (MQTT Topic automower/mower/timer/ch12/start) 2024-05-28 10:56:36.589 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch12_end (MQTT Topic automower/mower/timer/ch12/end) 2024-05-28 10:56:36.590 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch13_enable (MQTT Topic automower/mower/timer/ch13/enable) 2024-05-28 10:56:36.592 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch13_weekdays (MQTT Topic automower/mower/timer/ch13/weekdays) 2024-05-28 10:56:36.593 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch13_start (MQTT Topic automower/mower/timer/ch13/start) 2024-05-28 10:56:36.595 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_timer_ch13_end (MQTT Topic automower/mower/timer/ch13/end) 2024-05-28 10:56:36.597 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_error_code (MQTT Topic automower/mower/error/code) 2024-05-28 10:56:36.598 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_error_message (MQTT Topic automower/mower/error/message) 2024-05-28 10:56:36.600 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_health_voltage_int33 (MQTT Topic automower/health/voltage/int33) 2024-05-28 10:56:36.602 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_health_voltage_ext33 (MQTT Topic automower/health/voltage/ext33) 2024-05-28 10:56:36.604 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_health_voltage_batt (MQTT Topic automower/health/voltage/batt) 2024-05-28 10:56:36.606 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_health_climate_temperature (MQTT Topic automower/health/climate/temperature) 2024-05-28 10:56:36.608 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_health_climate_humidity (MQTT Topic automower/health/climate/humidity) 2024-05-28 10:56:36.610 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_weather_service (MQTT Topic automower/weather/service) 2024-05-28 10:56:36.610 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_weather_data_break (MQTT Topic automower/weather/data/break) 2024-05-28 10:57:36.159 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 10:57:36.246 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.167 seconds (success: True) 2024-05-28 10:57:36.247 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 10:57:36.247 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 10:57:36.248 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 10:57:36.248 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 10:58:36.167 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 10:58:36.252 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.173 seconds (success: True) 2024-05-28 10:58:36.253 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 10:58:36.253 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 10:58:36.254 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 10:58:36.254 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 10:59:36.172 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 10:59:36.265 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.187 seconds (success: True) 2024-05-28 10:59:36.266 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 10:59:36.266 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 10:59:36.267 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 10:59:36.267 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:00:36.160 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 11:00:36.247 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.169 seconds (success: True) 2024-05-28 11:00:36.247 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:00:36.248 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:00:36.250 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:00:36.250 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:01:36.179 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 11:01:36.268 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.190 seconds (success: True) 2024-05-28 11:01:36.270 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:01:36.270 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:01:36.270 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:01:36.270 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:02:36.161 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 11:02:36.246 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.168 seconds (success: True) 2024-05-28 11:02:36.247 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:02:36.247 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:02:36.253 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:02:36.253 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:03:36.164 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 11:03:36.252 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.174 seconds (success: True) 2024-05-28 11:03:36.253 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:03:36.256 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:03:36.257 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:03:36.257 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:04:36.166 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 11:04:36.250 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.172 seconds (success: True) 2024-05-28 11:04:36.251 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:04:36.251 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:04:36.252 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:04:36.252 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:05:36.169 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 11:05:36.256 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.179 seconds (success: True) 2024-05-28 11:05:36.258 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:05:36.258 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:05:36.262 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:05:36.262 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:06:36.171 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 11:06:36.254 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.175 seconds (success: True) 2024-05-28 11:06:36.255 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:06:36.259 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:06:36.261 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:06:36.261 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:07:36.168 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 11:07:36.247 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.170 seconds (success: True) 2024-05-28 11:07:36.251 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:07:36.251 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:07:36.252 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:07:36.252 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:08:36.174 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 11:08:36.256 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.178 seconds (success: True) 2024-05-28 11:23:36.256 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:23:36.256 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:23:36.257 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:23:36.257 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:24:36.506 ERROR (MainThread) [aiorobonect.client] Failed to connect using HTTP://192.168.5.61: All connection attempts failed 2024-05-28 11:24:36.507 ERROR (MainThread) [custom_components.robonect] Unexpected error fetching robonect data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/robonect/init.py", line 226, in _async_update_data await self.get_data() File "/config/custom_components/robonect/init.py", line 215, in get_data for key, value in data.items(): ^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'items' 2024-05-28 11:24:36.508 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.430 seconds (success: False) 2024-05-28 11:24:36.509 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:24:36.509 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:25:38.711 ERROR (MainThread) [aiorobonect.client] Failed to connect using HTTP://192.168.5.61: All connection attempts failed 2024-05-28 11:25:38.711 ERROR (MainThread) [custom_components.robonect] Unexpected error fetching robonect data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/robonect/init.py", line 226, in _async_update_data await self.get_data() File "/config/custom_components/robonect/init.py", line 215, in get_data for key, value in data.items(): ^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'items' 2024-05-28 11:25:38.714 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 2.636 seconds (success: False) 2024-05-28 11:25:45.944 DEBUG (MainThread) [custom_components.robonect.sensor] [async_mqtt_event_received] Adding entity sensor.automower_mower_substatus_plain (MQTT Topic automower/mower/substatus/plain) 2024-05-28 11:26:38.164 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 11:26:38.250 INFO (MainThread) [custom_components.robonect] Fetching robonect data recovered 2024-05-28 11:26:38.250 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.171 seconds (success: True) 2024-05-28 11:26:38.251 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:26:38.251 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:26:38.252 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:26:38.252 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:27:38.160 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 11:27:38.246 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.168 seconds (success: True) 2024-05-28 11:27:38.247 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:27:38.247 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:27:38.248 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:27:38.248 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:28:38.162 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 11:28:44.254 ERROR (MainThread) [aiorobonect.client] Failed to connect using HTTP://192.168.5.61: Server disconnected without sending a response. 2024-05-28 11:28:44.255 WARNING (MainThread) [custom_components.robonect] Exception 'NoneType' object has no attribute 'items' 2024-05-28 11:28:44.255 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 6.177 seconds (success: True) 2024-05-28 11:28:44.256 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:28:44.256 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:28:44.257 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:28:44.257 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 11:29:44.163 DEBUG (MainThread) [custom_components.robonect] Returned items: ... 2024-05-28 11:29:44.247 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 0.170 seconds (success: True)

geertmeersman commented 2 months ago

Hi, you didn't by accident change your password for robonect?

geertmeersman commented 2 months ago

Or did the IP change?

011V32 commented 2 months ago

No. IP is also correct. The values get all updated... image If I try to configure the password again, I get the following error: image

011V32 commented 2 months ago

With the latest Versio 1.6.7 the Log looks like this:

2024-05-28 13:10:16.278 WARNING (MainThread) [custom_components.robonect] Exception 'NoneType' object has no attribute 'status_code' 2024-05-28 13:11:33.323 WARNING (MainThread) [custom_components.robonect] Exception 'NoneType' object has no attribute 'status_code' 2024-05-28 13:12:50.313 WARNING (MainThread) [custom_components.robonect] Exception 'NoneType' object has no attribute 'status_code' 2024-05-28 13:12:50.314 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 17.197 seconds (success: True) 2024-05-28 13:12:50.315 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 13:12:50.316 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 13:12:50.316 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 13:12:50.317 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 13:14:07.302 WARNING (MainThread) [custom_components.robonect] Exception 'NoneType' object has no attribute 'status_code' 2024-05-28 13:14:07.303 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 17.185 seconds (success: True) 2024-05-28 13:14:07.306 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 13:14:07.307 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 13:14:07.307 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 13:14:07.308 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 13:15:24.306 WARNING (MainThread) [custom_components.robonect] Exception 'NoneType' object has no attribute 'status_code' 2024-05-28 13:15:24.307 DEBUG (MainThread) [custom_components.robonect] Finished fetching robonect data in 17.190 seconds (success: True) 2024-05-28 13:15:24.308 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 13:15:24.309 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 13:15:24.310 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh 2024-05-28 13:15:24.310 DEBUG (MainThread) [custom_components.robonect.utils] Ignoring attribute update for battery - 1600 mAh

geertmeersman commented 2 months ago

Ha, I think your mower is out of reach of your wifi... Will try to catch it

geertmeersman commented 2 months ago

Can you check with the new version?

011V32 commented 2 months ago

With Version 1.6.8 no connection could be established. :( image

This error originated from a custom integration.

Logger: custom_components.robonect Source: helpers/update_coordinator.py:315 integration: Robonect (documentation, issues) First occurred: May 28, 2024 at 17:27:00 (513 occurrences) Last logged: 10:29:50

Unexpected error fetching robonect data Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions yield File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 373, in handle_async_request resp = await self._pool.handle_async_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 216, in handle_async_request raise exc from None File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 196, in handle_async_request response = await connection.handle_async_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection.py", line 99, in handle_async_request raise exc File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection.py", line 76, in handle_async_request stream = await self._connect(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection.py", line 122, in _connect stream = await self._network_backend.connect_tcp(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpcore/_backends/auto.py", line 30, in connect_tcp return await self._backend.connect_tcp( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpcore/_backends/anyio.py", line 114, in connect_tcp with map_exceptions(exc_map): File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ConnectError: All connection attempts failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/robonect/init.py", line 227, in _async_update_data await self.get_data() File "/config/custom_components/robonect/init.py", line 211, in get_data data = await self.client.async_cmds( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiorobonect/client.py", line 146, in async_cmds result = await self.state() ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiorobonect/client.py", line 160, in state result = await self.async_cmd("status") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiorobonect/client.py", line 125, in async_cmd raise last_exception or httpx.RequestError( File "/usr/local/lib/python3.12/site-packages/aiorobonect/client.py", line 107, in async_cmd response = await self.client.get(url) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1801, in get return await self.request( ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1574, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1661, in send response = await self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1689, in _send_handling_auth response = await self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1726, in _send_handling_redirects response = await self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1763, in _send_single_request response = await transport.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 372, in handle_async_request with map_httpcore_exceptions(): File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ConnectError: All connection attempts failed

geertmeersman commented 2 months ago

Well there is no real magic... Can you ping the Robonect? You can also set up a "ping" sensor in HA, which can also monitor if it can reach your mower...

011V32 commented 2 months ago

Sry, my fault. I don't know why, but the robot was shut down. I turn it on now und observe the next time.

geertmeersman commented 2 months ago

No worries 😀 keep me informed

011V32 commented 2 months ago

I now get these 2 warnings (I restarted HA after power up of the mower): image But the sensors are updated correct again: image

geertmeersman commented 2 months ago

Can you call the http://192.168.5.61 manually? The screenshot provides the MQTT data, the error is coming from the http fetches on the REST endpoint

geertmeersman commented 2 months ago

Btw perhaps easier if you join me on discord

011V32 commented 2 months ago

Seems to be fixed in the current version. 👍 Thx