home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.63k stars 29.93k forks source link

Traccar integration: device_trackers stopped updating #74134

Closed ildar170975 closed 2 years ago

ildar170975 commented 2 years ago

The problem

Traccar device_tracker entities stopped updating.

After rebooting HA see these errors in a log:

File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info

And Traccar trackers have these states after HA reboot: image

Code:

device_tracker:
  - platform: traccar
    host: !secret traccar_server
    username: !secret traccar_login
    password: !secret traccar_password

What version of Home Assistant Core has the issue?

2022.6.7

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Traccar

Link to integration documentation on our website

https://github.com/home-assistant/core/tree/dev/homeassistant/components/traccar

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

traccar documentation traccar source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @ludeeus, mind taking a look at this issue as it has been labeled with an integration (traccar) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

ildar170975 commented 2 years ago

After next HA reboot I see this error: 2022-06-28 19:58:18 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform legacy traccar File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 197, in async_setup_scanner File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 235, in async_init File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info

Probably something changed on the Traccar side...

ludeeus commented 2 years ago

Can you post the full stack and not these filtered lines?

ildar170975 commented 2 years ago

Here is a full log:

2022-06-28 20:49:14 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration places which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-28 20:49:14 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration virtual which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-28 20:49:14 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration xiaomi_miio_airpurifier which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-28 20:49:14 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-28 20:49:14 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration gismeteo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-28 20:49:14 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration composite which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-28 20:49:14 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration simpleicons which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-28 20:49:14 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration fontawesome which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-28 20:49:14 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration yandex_maps which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-28 20:49:14 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration clear_grass which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-28 20:49:14 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration xiaomi_cloud_map_extractor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-28 20:49:14 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration monitor_docker which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-28 20:49:14 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration iphonedetect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-28 20:49:28 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Pushkino_OpenWeatherMap' for openweathermap integration not ready yet: API call timeouted; Retrying in background
2022-06-28 20:49:28 WARNING (MainThread) [homeassistant.setup] Setup of input_datetime is taking over 10 seconds.
2022-06-28 20:49:28 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds.
2022-06-28 20:49:29 WARNING (MainThread) [homeassistant.setup] Setup of input_number is taking over 10 seconds.
2022-06-28 20:49:29 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds.
2022-06-28 20:49:32 WARNING (MainThread) [homeassistant.setup] Setup of input_select is taking over 10 seconds.
2022-06-28 20:49:38 WARNING (MainThread) [homeassistant.config_entries] Config entry 'xiaomi_roborock_s50' for xiaomi_miio integration not ready yet; Retrying in background
2022-06-28 20:49:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_roborock_s50 is taking over 10 seconds
2022-06-28 20:49:39 ERROR (SyncWorker_21) [custom_components.xiaomi_cloud_map_extractor.camera] Unable to log in, check credentials
2022-06-28 20:49:44 WARNING (SyncWorker_21) [custom_components.xiaomi_cloud_map_extractor.camera] Got exception while fetching the state: Unable to discover the device 192.168.220.120
2022-06-28 20:50:38 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:50:43 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:50:44 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_roborock_s50 is taking over 10 seconds
2022-06-28 20:50:49 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:50:54 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:51:02 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: version, tts, device_tracker, hacs, binary_sensor.template, mobile_app, binary_sensor.ping, kodi, device_tracker.ping, device_tracker.ping_2, device_tracker.ping_3, device_tracker.ping_4, device_tracker.ping_5, device_tracker.ping_6, device_tracker.ping_7, device_tracker.ping_8, device_tracker.ping_9, device_tracker.iphonedetect, device_tracker.composite, device_tracker.composite_2, device_tracker.composite_3, device_tracker.composite_4, device_tracker.composite_5, device_tracker.composite_6, device_tracker.composite_7, device_tracker.composite_8, device_tracker.composite_9, device_tracker.composite_10, device_tracker.composite_11, device_tracker.composite_12, device_tracker.traccar
2022-06-28 20:51:02 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:51:09 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:51:09 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Home Assistant Website' for version integration not ready yet: Timeout of 10 seconds was reached while fetching version for haio; Retrying in background
2022-06-28 20:51:09 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Docker Hub' for version integration not ready yet: Timeout of 10 seconds was reached while fetching version for container; Retrying in background
2022-06-28 20:51:11 WARNING (MainThread) [miio.device] Found an unsupported model 'cgllc.airmonitor.s1' for class 'AirQualityMonitor'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/
2022-06-28 20:51:11 WARNING (MainThread) [miio.device] Found an unsupported model 'cgllc.airmonitor.s1' for class 'AirQualityMonitor'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.setup] Setup of default_config is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform clear_grass is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform clear_grass is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform season is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform yandex_maps is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform command_line is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform command_line is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform command_line is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform command_line is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform command_line is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform command_line is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform netdata is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform netdata is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform openhardwaremonitor is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform openhardwaremonitor is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform netdata is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform integration is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform integration is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform systemmonitor is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform uptime is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform websocket_api is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform systemmonitor is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform template is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform history_stats is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform kodi is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform kodi is taking over 10 seconds.
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:51:25 WARNING (MainThread) [homeassistant.components.sensor] Platform openhardwaremonitor not ready yet: None; Retrying in background in 30 seconds
2022-06-28 20:51:26 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform legacy traccar
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py", line 254, in async_setup_legacy
setup = await self.platform.async_setup_scanner(
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 197, in async_setup_scanner
return await scanner.async_init()
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 235, in async_init
await self._async_update()
File "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
await self._api.get_device_info(self._custom_attributes)
File "/usr/local/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
geofence = self.geofences[dev["geofenceIds"][0]]
TypeError: 'NoneType' object is not subscriptable
2022-06-28 20:51:27 ERROR (MainThread) [homeassistant.components.asuswrt.router] Unexpected error fetching sensors_temperatures data: Connection lost
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aioasuswrt/connection.py", line 39, in async_run_command
result = await asyncio.wait_for(
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
return fut.result()
File "/usr/local/lib/python3.9/site-packages/asyncssh/connection.py", line 4101, in run
process = await self.create_process(*args, **kwargs) # type: ignore
File "/usr/local/lib/python3.9/site-packages/asyncssh/connection.py", line 3980, in create_process
chan, process = await self.create_session(
File "/usr/local/lib/python3.9/site-packages/asyncssh/connection.py", line 3887, in create_session
session = await chan.create(session_factory, command, subsystem,
File "/usr/local/lib/python3.9/site-packages/asyncssh/channel.py", line 1206, in create
raise ChannelOpenError(OPEN_REQUEST_SESSION_FAILED,
asyncssh.misc.ChannelOpenError: Session request failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 191, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 150, in _async_update_data
return await self.update_method()
File "/usr/src/homeassistant/homeassistant/components/asuswrt/router.py", line 123, in _get_temperatures
temperatures: dict[str, Any] = await self._api.async_get_temperature()
File "/usr/local/lib/python3.9/site-packages/aioasuswrt/asuswrt.py", line 582, in async_get_temperature
cmd_result = await self.connection.async_run_command(self._temps_commands[i]["cmd"])
File "/usr/local/lib/python3.9/site-packages/aioasuswrt/connection.py", line 45, in async_run_command
await self.async_connect()
File "/usr/local/lib/python3.9/site-packages/asyncssh/connection.py", line 440, in _connect
await options.waiter
asyncssh.misc.ConnectionLost: Connection lost
2022-06-28 20:51:28 ERROR (SyncWorker_0) [homeassistant.components.life360.device_tracker] get_circles: CommError: HTTPSConnectionPool(host='api.life360.com', port=443): Max retries exceeded with url: /v3/circles.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6d52492d60>: Failed to establish a new connection: [Errno -2] Name does not resolve'))
2022-06-28 20:51:28 ERROR (SyncWorker_0) [homeassistant.components.life360.device_tracker] Suppressing further errors until OK: get_circles: CommError: HTTPSConnectionPool(host='api.life360.com', port=443): Max retries exceeded with url: /v3/circles.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6d524b70a0>: Failed to establish a new connection: [Errno -2] Name does not resolve'))
2022-06-28 20:51:30 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:51:35 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:51:45 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:51:49 ERROR (SyncWorker_20) [custom_components.xiaomi_cloud_map_extractor.camera] Failed to retrieve model
2022-06-28 20:51:50 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_roborock_s50 is taking over 10 seconds
2022-06-28 20:51:50 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:51:55 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:52:00 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:52:05 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:52:10 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:52:10 ERROR (MainThread) [homeassistant.components.sensor] Setup of platform snmp is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2022-06-28 20:52:15 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:52:20 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:52:23 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: kodi, sensor.yandex_maps
2022-06-28 20:52:25 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:52:30 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:52:35 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:52:39 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.place_irina is taking over 10 seconds
2022-06-28 20:52:42 ERROR (SyncWorker_15) [custom_components.xiaomi_cloud_map_extractor.camera] Failed to retrieve model
2022-06-28 20:52:45 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:52:50 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_roborock_s50 is taking over 10 seconds
2022-06-28 20:52:50 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:52:55 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:53:00 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:53:05 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:53:10 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:53:15 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:53:20 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:53:25 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:53:29 WARNING (MainThread) [homeassistant.components.sensor] Updating places sensor took longer than the scheduled update interval 0:01:00
2022-06-28 20:53:30 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:53:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.yandex_time_home_belaia_dacha is taking over 10 seconds
2022-06-28 20:53:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.yandex_time_yamki_home is taking over 10 seconds
2022-06-28 20:53:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.yandex_time_home_metro_cc is taking over 10 seconds
2022-06-28 20:53:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.yandex_time_metro_cc_home is taking over 10 seconds
2022-06-28 20:53:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.silverstone_htpc_snmp_uptime_ticks is taking over 10 seconds
2022-06-28 20:53:37 ERROR (SyncWorker_6) [custom_components.xiaomi_cloud_map_extractor.camera] Failed to retrieve model
2022-06-28 20:53:40 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:53:45 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_roborock_s50 is taking over 10 seconds
2022-06-28 20:53:45 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:53:50 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:53:55 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:54:00 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:54:05 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:54:10 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:54:15 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:54:20 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:54:25 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:54:29 WARNING (MainThread) [homeassistant.components.sensor] Updating places sensor took longer than the scheduled update interval 0:01:00
2022-06-28 20:54:32 ERROR (SyncWorker_25) [custom_components.xiaomi_cloud_map_extractor.camera] Failed to retrieve model
2022-06-28 20:54:35 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:54:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.silverstone_htpc_snmp_uptime_ticks is taking over 10 seconds
2022-06-28 20:54:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_roborock_s50 is taking over 10 seconds
2022-06-28 20:54:40 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:54:42 ERROR (MainThread) [custom_components.gismeteo] Timeout fetching gismeteo data
2022-06-28 20:54:45 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:54:50 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:54:55 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:55:00 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:55:05 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:55:10 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:55:15 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:55:20 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:55:29 WARNING (MainThread) [homeassistant.components.sensor] Updating places sensor took longer than the scheduled update interval 0:01:00
2022-06-28 20:55:29 ERROR (SyncWorker_24) [custom_components.xiaomi_cloud_map_extractor.camera] Failed to retrieve model
2022-06-28 20:55:30 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:55:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_roborock_s50 is taking over 10 seconds
2022-06-28 20:55:35 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:55:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.yandex_time_yamki_home is taking over 10 seconds
2022-06-28 20:55:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.yandex_time_globus_home is taking over 10 seconds
2022-06-28 20:55:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.yandex_time_efanovo_home is taking over 10 seconds
2022-06-28 20:55:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.silverstone_htpc_snmp_uptime_ticks is taking over 10 seconds
2022-06-28 20:55:40 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:55:45 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:55:50 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:55:55 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:56:00 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:56:05 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:56:10 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:56:15 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:56:22 ERROR (SyncWorker_9) [custom_components.xiaomi_cloud_map_extractor.camera] Failed to retrieve model
2022-06-28 20:56:25 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:56:29 WARNING (MainThread) [homeassistant.components.sensor] Updating places sensor took longer than the scheduled update interval 0:01:00
2022-06-28 20:56:30 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_roborock_s50 is taking over 10 seconds
2022-06-28 20:56:30 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:56:35 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:56:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.silverstone_htpc_snmp_uptime_ticks is taking over 10 seconds
2022-06-28 20:56:40 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:56:45 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:56:50 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:56:55 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:57:00 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:57:05 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:57:10 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:57:17 ERROR (SyncWorker_20) [custom_components.xiaomi_cloud_map_extractor.camera] Failed to retrieve model
2022-06-28 20:57:20 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:57:25 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_roborock_s50 is taking over 10 seconds
2022-06-28 20:57:25 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:57:29 WARNING (MainThread) [homeassistant.components.sensor] Updating places sensor took longer than the scheduled update interval 0:01:00
2022-06-28 20:57:30 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:57:35 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:57:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.yandex_time_iamki_person_irina is taking over 10 seconds
2022-06-28 20:57:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.yandex_time_metro_cc_home is taking over 10 seconds
2022-06-28 20:57:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.silverstone_htpc_snmp_uptime_ticks is taking over 10 seconds
2022-06-28 20:57:40 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:57:45 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:57:50 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:57:55 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:58:00 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:58:05 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:58:12 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for bootstrap - moving forward
2022-06-28 20:58:13 ERROR (SyncWorker_14) [custom_components.xiaomi_cloud_map_extractor.camera] Failed to retrieve model
2022-06-28 20:58:14 WARNING (MainThread) [custom_components.hacs] You have 'custom-components/sensor.yandex_maps' installed with HACS this repository has been removed from HACS, please consider removing it. Removal reason (Repository is archived)
2022-06-28 20:58:15 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:58:20 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_roborock_s50 is taking over 10 seconds
2022-06-28 20:58:20 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:58:25 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:58:27 WARNING (MainThread) [homeassistant.core] Something is blocking Home Assistant from wrapping up the start up phase. We're going to continue anyway. Please report the following info at https://github.com/home-assistant/core/issues: wake_on_lan, image, switch.template, input_boolean, application_credentials, sensor.filesize, logbook, life360, fan.virtual, xiaomi_miio, uptime, cover.template, config, group, input_button, device_tracker.ping, fontawesome, http, device_tracker.composite, sensor.places, met, sensor.integration, lock.virtual, device_tracker.life360, tts, onboarding, cover.demo, counter, system_log, notify, energy, sensor.yandex_maps, blueprint, sensor.clear_grass, sun, websocket_api, sensor.version, device_tracker.iphonedetect, lock, sensor.mobile_app, sensor.netdata, search, scene, season, device_tracker.traccar, sensor.asuswrt, binary_sensor.version, telegram_bot, weather.gismeteo, asuswrt, binary_sensor.template, traccar, network, light, notify.telegram, dhcp, virtual, python_script, media_source, zeroconf, scene.homeassistant, sensor.snmp, device_tracker.mobile_app, notify.mobile_app, kodi, device_tracker.asuswrt, backup, frontend, lovelace, persistent_notification, fan, light.demo, binary_sensor.tod, history, sensor.energy, hacs, sensor.openweathermap, camera.xiaomi_cloud_map_extractor, cover, fan.xiaomi_miio_airpurifier, weather, media_player, binary_sensor, system_health, input_datetime, sensor.uptime, gismeteo, sensor.gismeteo, sensor.hacs, input_number, sensor.template, recorder, light.virtual, person, trace, diagnostics, openweathermap, media_player.kodi, script, sensor.openhardwaremonitor, webhook, timer, weather.openweathermap, binary_sensor.ping, sensor.history_stats, homeassistant, version, map, stream, switch, demo, ping, device_tracker, sensor.season, binary_sensor.mobile_app, cloud, input_text, sensor.command_line, weather.met, conversation, default_config, analytics, automation, auth, ssdp, simpleicons, logger, sensor.systemmonitor, device_automation, my, composite, tts.google_translate, api, sensor.websocket_api, switch.wake_on_lan, camera, light.group, tag, usb, input_select, mobile_app, sensor, filesize, zone, template
2022-06-28 20:58:29 WARNING (MainThread) [homeassistant.components.sensor] Updating places sensor took longer than the scheduled update interval 0:01:00
2022-06-28 20:58:30 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:58:35 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:58:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.silverstone_htpc_snmp_uptime_ticks is taking over 10 seconds
2022-06-28 20:58:40 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:58:45 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:58:50 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:58:55 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:59:00 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2022-06-28 20:59:26 WARNING (MainThread) [homeassistant.components.sensor] Updating yandex_maps sensor took longer than the scheduled update interval 0:02:00
2022-06-28 20:59:29 WARNING (MainThread) [homeassistant.components.sensor] Updating places sensor took longer than the scheduled update interval 0:01:00
2022-06-28 20:59:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.silverstone_htpc_snmp_uptime_ticks is taking over 10 seconds

There are some errors related to another components, like:

Also, I got a feedback from an author of Traccar - Anton Tananaev. https://www.traccar.org/forums/topic/traccar-51-preview/ Seems there are changes in Traccar servers which could cause these issues.

ludeeus commented 2 years ago

Ah okey, you are using a preview version of traccar, that would have been useful information 👍

ildar170975 commented 2 years ago

you are using a preview version of traccar,

Till now I am not sure I am using a PREVIEW VERSION - I changed nothing within several months... Seems that servers are changed, and this affected my setup.

callifo commented 2 years ago

I've got a similar issue, was working fine on Traccar 5.0, now at 5.1 theres issues,

I updated traccar with HA, running, shortly after it started up repeatedly

2022-07-10 10:58:56 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
    await self._api.get_device_info(self._custom_attributes)
  File "/srv/homeassistant/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
    geofence = self.geofences[dev["geofenceIds"][0]]
TypeError: 'NoneType' object is not subscriptable

After reboot, no updates and vehicles away.

2022-07-10 12:36:18 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform legacy traccar
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/device_tracker/legacy.py", line 254, in async_setup_legacy
    setup = await self.platform.async_setup_scanner(
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/traccar/device_tracker.py", line 197, in async_setup_scanner
    return await scanner.async_init()
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/traccar/device_tracker.py", line 235, in async_init
    await self._async_update()
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
    await self._api.get_device_info(self._custom_attributes)
  File "/srv/homeassistant/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
    geofence = self.geofences[dev["geofenceIds"][0]]
TypeError: 'NoneType' object is not subscriptable

Downgrade back to 5.0 and its all good again. Changelog for 5.1 is yet to appear on the website.

oopiicaa commented 2 years ago

Exactly the same as @callifo - downgrading Traccar to 5.0 helps. Quite a few changes in 5.1.

ludeeus commented 2 years ago

Enable debug logs for pytraccar and paste the data here.

# Example configuration.yaml entry
logger:
  default: info
  logs:
    pytraccar: debug
oopiicaa commented 2 years ago
2022-07-12 14:00:25 DEBUG (MainThread) [pytraccar.api] {}
2022-07-12 14:00:26 DEBUG (MainThread) [pytraccar.api] [{'id': 1, 'attributes': {}, 'groupId': 0, 'name': 'hidden', 'uniqueId': 'hidden', 'status': 'offline', 'lastUpdate': '2022-02-27T23:53:59.503+00:00', 'positionId': hidden, 'geofenceIds': None, 'phone': '', 'model': '', 'contact': '', 'category': None, 'disabled': False}, {'id': 2, 'attributes': {}, 'groupId': 0, 'name': 'hidden', 'uniqueId': 'hidden', 'status': 'offline', 'lastUpdate': '2022-07-12T11:58:53.507+00:00', 'positionId': hidden, 'geofenceIds': None, 'phone': 'hidden', 'model': '', 'contact': '', 'category': 'car', 'disabled': False}, {'id': 3, 'attributes': {}, 'groupId': 0, 'name': 'hidden', 'uniqueId': 'hidden', 'status': 'offline', 'lastUpdate': '2022-07-12T12:00:14.627+00:00', 'positionId': hidden, 'geofenceIds': None, 'phone': 'hidden', 'model': '', 'contact': '', 'category': 'car', 'disabled': False}]
2022-07-12 14:00:26 DEBUG (MainThread) [pytraccar.api] [{'id': 460780, 'attributes': {'index': 722, 'distance': 158.24, 'totalDistance': 15485671.96, 'motion': True}, 'deviceId': 1, 'protocol': 'eelink', 'serverTime': '2022-02-27T23:53:59.503+00:00', 'deviceTime': '2022-02-27T23:53:54.000+00:00', 'fixTime': '2022-02-27T23:53:54.000+00:00', 'outdated': False, 'valid': True, 'latitude': hidden, 'longitude': hidden, 'altitude': 0.0, 'speed': 33.477334, 'course': 52.0, 'address': None, 'accuracy': 0.0, 'network': {'radioType': 'gsm', 'considerIp': False, 'cellTowers': [{'cellId': hidden, 'locationAreaCode': hidden, 'mobileCountryCode': hidden, 'mobileNetworkCode': hidden}]}}, {'id': 673542, 'attributes': {'ignition': False, 'status': 18, 'distance': 0.0, 'totalDistance': 20526897.57, 'motion': False}, 'deviceId': 2, 'protocol': 'eelink', 'serverTime': '2022-07-12T11:58:53.507+00:00', 'deviceTime': '2022-07-12T11:58:53.507+00:00', 'fixTime': '2022-07-12T11:58:43.000+00:00', 'outdated': False, 'valid': True, 'latitude': hidden, 'longitude': hidden, 'altitude': 0.0, 'speed': 0.0, 'course': 0.0, 'address': None, 'accuracy': 0.0, 'network': None}, {'id': 673543, 'attributes': {'ignition': False, 'charge': False, 'status': 146, 'distance': 0.0, 'totalDistance': 599548.46, 'motion': False}, 'deviceId': 3, 'protocol': 'eelink', 'serverTime': '2022-07-12T12:00:14.627+00:00', 'deviceTime': '2022-07-12T12:00:14.627+00:00', 'fixTime': '2022-07-06T14:30:30.000+00:00', 'outdated': False, 'valid': True, 'latitude': hidden, 'longitude': hidden, 'altitude': 0.0, 'speed': 0.0, 'course': 322.0, 'address': None, 'accuracy': 0.0, 'network': None}]
2022-07-12 14:00:26 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform legacy traccar
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/device_tracker/legacy.py", line 254, in async_setup_legacy
setup = await self.platform.async_setup_scanner(
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/traccar/device_tracker.py", line 197, in async_setup_scanner
return await scanner.async_init()
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/traccar/device_tracker.py", line 235, in async_init
await self._async_update()
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
await self._api.get_device_info(self._custom_attributes)
File "/srv/homeassistant/lib/python3.9/site-packages/pytraccar/api.py", line 117, in get_device_info
geofence = self.geofences[dev["geofenceIds"][0]]
TypeError: 'NoneType' object is not subscriptable
ludeeus commented 2 years ago

So you have no configured geo fences ?

ludeeus commented 2 years ago

Anyway, this is a bug in Traccar. https://www.traccar.org/api-reference/#tag/Devices/paths/~1devices/get This is the documentation for 5.1 (see the top) And for /devices it says that geofenceIds should be an array of integers, but instead, they are returning null/None.

EagleWolfpack commented 2 years ago

Just 4 Info: same Problem with Traccar 5.2

ildar170975 commented 2 years ago

Guys, are you using your own Traccar servers? I am having problems with demo3 server...

EagleWolfpack commented 2 years ago

Yes, I'm using my own traccar server.

callifo commented 2 years ago

Same issue,

2022-07-18 21:24:53 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/srv/homeassistant_p3_10/lib/python3.10/site-packages/homeassistant/components/traccar/device_tracker.py", line 250, in _async_update
    await self._api.get_device_info(self._custom_attributes)
  File "/srv/homeassistant_p3_10/lib/python3.10/site-packages/pytraccar/api.py", line 117, in get_device_info
    geofence = self.geofences[dev["geofenceIds"][0]]
TypeError: 'NoneType' object is not subscriptable

I followed up on the traccar forums after 5.2 did not fix it, and they think its a bug in HA, not traccar.

FYI I do not use Geofences

callifo commented 2 years ago

Bumping pytraccar to 0.10.1 has fixed it for me.

ildar170975 commented 2 years ago

Bumping pytraccar to 0.10.1 has fixed it for me.

Could you provide more detailed instructions for noobs?

callifo commented 2 years ago

You either need to wait for the next HA release where its been implemented, or you need to edit the manifest.json file located in the traccar integration. If you are running venv, message me perhaps on the forums, if you are running docker or HASSOS, probably too hard.

ildar170975 commented 2 years ago

I am running HA in docker. No problem, will wait for the next HA release. At least you solved the problem)

oopiicaa commented 2 years ago

I still have the exact same issue on Traccar 5.2 and pytraccar 0.10.1. With Traccar downgraded to 5.0, it works fine.

cop98 commented 2 years ago

Hi @ludeeus After the last home assistant update, traccar no longer updates, neither with 5.0 nor 5.2!

oopiicaa commented 2 years ago

I've manually updated pytraccar to 1.0.0 (HA is on 2022.7.6 and Traccar 5.2) and it still doesn't work for me too ...

ildar170975 commented 2 years ago

Can anyone tell me - how to make Traccar integration working again? Running HA Container 2022.7.7.

jaimemrjm commented 2 years ago

demo.traccar.org server and latest HA release candidate (2022.08.b1 version) works for me now.

EagleWolfpack commented 2 years ago

demo.traccar.org server and latest HA release candidate (2022.08.b1 version) works for me now.

Thank you! 2022.08.b1 also works with onprem traccar server 5.2 now

Fietspomp86 commented 2 years ago

Can anyone tell me - how to make Traccar integration working again? Running HA Container 2022.7.7.

Or downgrade Traccar to 5.0 or wait for next HA release, it seems the updated pytraccar does work with newer Traccar releases.

ildar170975 commented 2 years ago

Or downgrade Traccar to 5.0

Nothing to downgrade, I am using demno3 server

oopiicaa commented 2 years ago

Can confirm that HA 2022.8 fixed the issue for me also.

ildar170975 commented 2 years ago

Can confirm this too - 2022.8, Traccar works again

ildar170975 commented 2 years ago

Unfortunately, the last_seen attribute is lost: https://github.com/home-assistant/core/issues/76167

EagleWolfpack commented 2 years ago

I can confirm.... On core_2022.8.0b4 it was working...

ildar170975 commented 2 years ago

@EagleWolfpack Probably I made a mistake - probably this "last_seen" attribute did not exist. There is no info in the code. Cannot check it, totally confused. I thought that your comment was about "last_seen" attribute; if so - did you see it? )))

EagleWolfpack commented 2 years ago

@EagleWolfpack Probably I made a mistake - probably this "last_seen" attribute did not exist. There is no info in the code. Cannot check it, totally confused. I thought that your comment was about "last_seen" attribute; if so - did you see it? )))

Yes, on core_2022.8.0b4 there was an attribute "last seen", on stable 2022.8.0 this attribute was missing. I've just updated to 2022.8.1 but this is crashing the whole traccar integration... I'm just searching for the error

oopiicaa commented 2 years ago

Working fine on 2022.8.1 for me.

ildar170975 commented 2 years ago

Yes, on core_2022.8.0b4 there was an attribute "last seen", on stable 2022.8.0 this attribute was missing.

Could you go here and put some comments? https://github.com/home-assistant/core/issues/76167 I was so confused that even closed that issue.

EagleWolfpack commented 2 years ago

Yes, on core_2022.8.0b4 there was an attribute "last seen", on stable 2022.8.0 this attribute was missing.

Could you go here and put some comments? #76167 I was so confused that even closed that issue.

OK, I'll do it at the afternoon bcs I've to switch between my backups to do some snapshots

EagleWolfpack commented 2 years ago

Working fine on 2022.8.1 for me.

Now the integration starts working again... but as said before: without some attributes

EagleWolfpack commented 2 years ago

I did a lot of tests the last two days. It seems traccar have 3 parameters (serverTime, deviceTime and fixTime) for last seen, but I have no Idea how to get them into HA. I only can check the status (online / offline). I've also noticed, that HA only fetches new events.... So if your tracking device have no uplink and sends older positions to traccar server, HA will not show them. Maybe I've to check the config of my tracking devices, to send older positions first on reconnect. The same is on geofences. If you change something on the device config HA shows is after leaving and reenter the geofence. There is also a difference between the geofence send by traccar and the geofence inside HA if you're looking the history. HA history uses the HA Zones and NOT the traccar geofences attribute.

ildar170975 commented 2 years ago

@EagleWolfpack Will you repeat this post in some other place since this issue is closed? Probably nobody will read it except you and me. Also I would like to ask you about that lost "last_seen" attribute. Please move this post to other place - an open issue dedicated to last_seen (https://github.com/home-assistant/core/issues/76167) or a community thread (https://community.home-assistant.io/t/home-assistant-community-add-on-traccar/81407)