Home Assistant Community Store
GitHub API | ok
-- | --
GitHub Content | ok
GitHub Web | ok
GitHub API Calls Remaining | 4990
Installed Version | 1.34.0
Stage | running
Available Repositories | 1390
Downloaded Repositories | 30
Home Assistant Cloud
logged_in | true
-- | --
subscription_expiration | July 11, 2024 at 03:00
relayer_connected | true
relayer_region | eu-central-1
remote_enabled | true
remote_connected | true
alexa_enabled | true
google_enabled | true
remote_server | eu-central-1-7.ui.nabu.casa
certificate_status | ready
instance_id | e6f318c99a8f4ca38ff45902bee413f1
can_reach_cert_server | ok
can_reach_cloud_auth | ok
can_reach_cloud | ok
Home Assistant Supervisor
host_os | Home Assistant OS 12.4
-- | --
update_channel | stable
supervisor_version | supervisor-2024.06.2
agent_version | 1.6.0
docker_version | 26.1.4
disk_total | 93.8 GB
disk_used | 43.8 GB
healthy | true
supported | true
host_connectivity | true
supervisor_connectivity | true
ntp_synchronized | true
virtualization | kvm
board | ova
supervisor_api | ok
version_api | ok
installed_addons | Terminal & SSH (9.14.0), File editor (5.8.0), Samba share (12.3.1), Mosquitto broker (6.4.1), ESPHome (2024.6.2), Home Assistant Google Drive Backup (0.112.1), SQLite Web (4.1.2), HiSense Air Conditioners (0.3.17)
Dashboards
dashboards | 7
-- | --
resources | 19
views | 8
mode | storage
Recorder
oldest_recorder_run | September 21, 2022 at 10:26
-- | --
current_recorder_run | June 26, 2024 at 14:56
estimated_db_size | 17066.18 MiB
database_engine | sqlite
database_version | 3.44.2
Xiaomi Miot Auto
component_version | 0.7.18
-- | --
can_reach_server | ok
can_reach_spec | pending
logged_accounts | 1
total_devices | 21
Checklist
[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..
Describe the issue
Yesterday, suddenly all of the cameras stopped working for me in this integration.
They do work in the official Android app.
Looking at the logs, it's possible to see:
2024-06-26 17:01:10.343 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
Restarting, reinstalling, re-logging-in, and even installing and logging-in with SMS to my account on a different Home Assistant instance of a friend - they all didn't solve the issue.
To debug this, I tried taking one of the RTSP URL from my core.config_entries file (e.g. rtsp://ak:<password>@52.58.161.16:554/0C11051DE41A), and it works perfectly fine both in VLC, and using ffplay -i rtsp://ak:<password>@52.58.161.16:554/0C11051DE41A -v 9 -loglevel 99.
I did notice that trying the command ffplay -rtsp_transport tcp -i rtsp://ak:<password>@52.58.161.16:554/0C11051DE41A -v 9 -loglevel 99 fails with a similar error:
Nonmatching transport in server reply
rtsp://ak:<password>@52.58.161.16:554/0C11051DE41A: Invalid data found when processing input
(using UDP or nothing works).
I tried adding a Generic Camera device in my Home Assistant with the RTSP URL and with its default settings, and it failed with the same error (INVALIDDATA).
Setting it explicitly to UDP though works!
I tried adding "rtsp_transport": "udp" to the GenericCamera setup of this integration in my local copy of camera.py, and indeed it worked!
I am not sure what changed from yesterday (is it something in all Akuvox? Something in the configuration of the cameras in our building?).
Ideally, like ffmpeg the Generic Camera could understand/auto-negotiate the transport internally and everything would work.
Less ideally, this integration could do that internally and pass the correct transport to GenericCamera.
Since that doesn't happen, I think a reasonable workaround would be the ability to manually choose the transport for the cameras in this integration, which I believe currently is impossible (is it?).
If this affects all of Akuvox, maybe it should just be hardcoded, but I have no way to check if that's true.
Reproduction steps
Add the integration
Login with SMS
Try to access a camera
Debug logs
15 2024-06-26 16:40:45.143 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration akuvox 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
98 2024-06-26 16:40:46.182 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'camera', 'homeassistant_alerts', 'input_number', 'logbook', 'dlna_dmr', 'schedule', 'input_datetime', 'iec', 'thread', 'system_health', 'blueprint', 'persistent_notification', 'zone', 'button', 'ping', 'diagnostics', 'map', 'timer', 'stream', 'mqtt', 'person', 'config', 'upnp', 'ble_monitor', 'akuvox', 'scene', 'shelly', 'esphome', 'ffmpeg', 'script', 'file_upload', 'philips_js', 'min_max', 'generic', 'tag', 'input_button', 'backup', 'tts', 'analytics', 'xiaomi_ble', 'nanoleaf', 'media_source', 'application_credentials', 'uptime', 'automation', 'hacs', 'samsungtv', 'assist_pipeline', 'stt', 'trace', 'androidtv', 'hardware', 'met', 'mjpeg_timelapse', 'xiaomi_miot', 'cast', 'tesla_custom', 'climate', 'wake_on_lan', 'wake_word', 'search', 'google_home', 'my', 'energy', 'reolink', 'dnsip', 'oralb', 'lovelace', 'counter', 'sonos', 'input_select', 'androidtv_remote', 'tuya', 'intent', 'threshold', 'switcher_kis', 'history', 'device_automation', 'input_text', 'conversation', 'zha', 'mobile_app', 'rympro', 'dash_cast', 'xiaomi_miio', 'homekit_controller', 'input_boolean', 'onboarding', 'template', 'image_upload', 'bluetooth_adapters', 'nuki', 'default_config', 'sensor', 'yeelight', 'sun', 'group'}
431 2024-06-26 16:40:49.979 INFO (MainThread) [homeassistant.setup] Setting up akuvox
432 2024-06-26 16:40:49.979 INFO (MainThread) [homeassistant.setup] Setup of domain akuvox took 0.00 seconds
433 2024-06-26 16:40:49.984 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'akuvox' calls `async_run_job`, which is deprecated and will be removed in Home Assistant 2025.4; Please review https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job for replacement options at custom_components/akuvox/api.py, line 81: hass.async_run_job(self.async_set_stored_data_for_key, "wait_for_image_url", self.wait_for_image_url), please create a bug report at https://github.com/nimroddolev/akuvox/issues
434 2024-06-26 16:40:49.990 DEBUG (MainThread) [custom_components.akuvox] 🔄 Polling user's personal door log every 2 seconds.
435 2024-06-26 16:40:50.007 DEBUG (MainThread) [custom_components.akuvox] 📡 Requesting server list...
455 2024-06-26 16:40:50.537 DEBUG (MainThread) [custom_components.akuvox] ✅ Server list retrieved successfully
456 2024-06-26 16:40:50.537 DEBUG (MainThread) [custom_components.akuvox] 📡 Retrieving list of user's devices...
460 2024-06-26 16:40:51.022 DEBUG (MainThread) [custom_components.akuvox] ✅ User's device list retrieved successfully
461 2024-06-26 16:40:51.022 DEBUG (MainThread) [custom_components.akuvox] 🎥 Camera parsed: בניין 4 עמדת שומר
462 2024-06-26 16:40:51.023 DEBUG (MainThread) [custom_components.akuvox] 🎥 Camera parsed: בניין 6 עמדת שומר
463 2024-06-26 16:40:51.023 DEBUG (MainThread) [custom_components.akuvox] 🎥 Camera parsed: בניין 6 קומה 1
464 2024-06-26 16:40:51.023 DEBUG (MainThread) [custom_components.akuvox] 🚪 Door relay parsed: בניין 6 קומה 1-Relay1
465 2024-06-26 16:40:51.023 DEBUG (MainThread) [custom_components.akuvox] 🎥 Camera parsed: בניין 6 קומה -1
466 2024-06-26 16:40:51.023 DEBUG (MainThread) [custom_components.akuvox] 🚪 Door relay parsed: בניין 6 קומה -1-Relay1
467 2024-06-26 16:40:51.023 DEBUG (MainThread) [custom_components.akuvox] 🎥 Camera parsed: בניין 6 קומה -2
468 2024-06-26 16:40:51.023 DEBUG (MainThread) [custom_components.akuvox] 🚪 Door relay parsed: בניין 6 קומה -2-Relay1
469 2024-06-26 16:40:51.023 DEBUG (MainThread) [custom_components.akuvox] 🎥 Camera parsed: בניין 6 לובי ראשי
470 2024-06-26 16:40:51.023 DEBUG (MainThread) [custom_components.akuvox] 🚪 Door relay parsed: בניין 6 לובי ראשי-Relay
471 2024-06-26 16:40:51.023 DEBUG (MainThread) [custom_components.akuvox] 🎥 Camera parsed: בניין 6 קומה -3
472 2024-06-26 16:40:51.023 DEBUG (MainThread) [custom_components.akuvox] 🚪 Door relay parsed: בניין 6 קומה -3-Relay1
473 2024-06-26 16:40:51.023 DEBUG (MainThread) [custom_components.akuvox] 📡 Retrieving list of user's temporary keys...
520 2024-06-26 16:40:51.290 DEBUG (MainThread) [custom_components.akuvox] ✅ User's temporary keys list retrieved successfully
521 2024-06-26 16:40:51.290 DEBUG (MainThread) [custom_components.akuvox] 🔑 Bugale parsed, opening 5 doors
522 2024-06-26 16:40:51.290 DEBUG (MainThread) [custom_components.akuvox] Saving user's data to local storage
523 2024-06-26 16:40:51.295 DEBUG (MainThread) [custom_components.akuvox] Finished fetching akuvox data in 1.291 seconds (success: True)
615 2024-06-26 16:40:51.874 INFO (MainThread) [homeassistant.components.camera] Setting up akuvox.camera
616 2024-06-26 16:40:51.874 INFO (MainThread) [homeassistant.components.button] Setting up akuvox.button
617 2024-06-26 16:40:51.878 INFO (MainThread) [homeassistant.components.sensor] Setting up akuvox.sensor
618 2024-06-26 16:40:51.886 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'בניין 6 קומה 1, 0'
619 2024-06-26 16:40:51.886 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'בניין 6 קומה -1, 0'
620 2024-06-26 16:40:51.886 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'בניין 6 קומה -2, 0'
621 2024-06-26 16:40:51.886 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'בניין 6 לובי ראשי, 0'
622 2024-06-26 16:40:51.886 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'בניין 6 קומה -3, 0'
623 2024-06-26 16:40:51.888 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox camera 'בניין 4 עמדת שומר'
624 2024-06-26 16:40:51.888 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox camera 'בניין 6 עמדת שומר'
625 2024-06-26 16:40:51.888 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox camera 'בניין 6 קומה 1'
626 2024-06-26 16:40:51.888 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox camera 'בניין 6 קומה -1'
627 2024-06-26 16:40:51.888 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox camera 'בניין 6 קומה -2'
628 2024-06-26 16:40:51.888 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox camera 'בניין 6 לובי ראשי'
629 2024-06-26 16:40:51.888 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox camera 'בניין 6 קומה -3'
630 2024-06-26 16:40:51.898 DEBUG (MainThread) [custom_components.akuvox] Adding temporary door key 'Bugale 71542'
648 2024-06-26 16:40:52.333 WARNING (MainThread) [custom_components.akuvox] 📜 Regional API subdomain not configured...using pre v0.0.7 backward compatible 'ecloud'
718 2024-06-26 16:41:05.997 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
719 2024-06-26 16:41:06.029 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
736 2024-06-26 16:41:16.286 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
737 2024-06-26 16:41:16.315 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
744 2024-06-26 16:41:36.570 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
745 2024-06-26 16:41:36.622 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
758 2024-06-26 16:42:06.860 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
759 2024-06-26 16:42:06.895 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
770 2024-06-26 16:42:47.145 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
771 2024-06-26 16:42:47.183 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
786 2024-06-26 16:43:37.410 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
787 2024-06-26 16:43:37.471 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
805 2024-06-26 16:44:37.677 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
806 2024-06-26 16:44:37.755 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
821 2024-06-26 16:45:47.980 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
822 2024-06-26 16:45:48.046 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
834 2024-06-26 16:46:06.682 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for bootstrap waiting on {<Task pending name='Task-1833' coro=<AkuvoxApiClient.async_retrieve_personal_door_log() running at /config/custom_components/akuvox/api.py:596> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>} - moving forward
846 2024-06-26 16:46:21.710 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: switch, xiaomi_miot.select, map, nanoleaf.light, homekit_controller.sensor, mqtt.climate, mobile_app.device_tracker, xiaomi_miot.media_player, google_assistant, text, min_max, binary_sensor, input_button, switcher_kis.button, xiaomi_ble.sensor, xiaomi_ble, ultimaker, ble_monitor.sensor, mobile_app.binary_sensor, trace, xiaomi_miot.number, mjpeg_timelapse, xiaomi_miot.camera, esphome.button, tuya.siren, google_home, shelly.button, switcher_kis.switch, lovelace, sonos, hacs.sensor, mobile_app, androidtv_remote.media_player, dash_cast, homeassistant.scene, onboarding, template, bluetooth_adapters, cloud.tts, default_config, zha.switch, tuya.select, homeassistant_alerts, dlna_dmr, upnp.sensor, yeelight.light, persistent_notification, xiaomi_miio.binary_sensor, water_heater, alarm_control_panel, zha.climate, tesla_custom.device_tracker, valve, generic.camera, ble_monitor, tts, reolink.siren, switcher_kis.cover, media_source, xiaomi_miio.fan, event, cover, shelly.cover, switcher_kis.climate, counter, zha.binary_sensor, sun.sensor, frontend, ble_monitor.binary_sensor, conversation, number, homekit_controller, energy.sensor, xiaomi_miio.vacuum, xiaomi_miot.sensor, xiaomi_miio.switch, mobile_app.sensor, zha.sensor, xiaomi_miot.cover, thread, samsungtv.remote, ultimaker.sensor, rympro.sensor, reolink.update, mqtt, xiaomi_miio.select, xiaomi_miot.climate, esphome, mqtt.button, nanoleaf, tuya.humidifier, repairs, reolink.sensor, light, system_log, androidtv, lock, tesla_custom.cover, oralb, intent, philips_js.media_player, mobile_app.notify, ssdp, tuya.scene, input_number, reolink.binary_sensor, schedule, input_datetime, hassio.update, homekit_controller.binary_sensor, climate_template.climate, akuvox.camera, ble_monitor.device_tracker, zone, uptime.sensor, sonos.binary_sensor, button, diagnostics, xiaomi_miot.text, remote, yeelight.binary_sensor, websocket_api, template.sensor, stream, tuya.vacuum, xiaomi_miot.button, tesla_custom.update, sonos.number, shelly.update, akuvox, cloud, tuya.binary_sensor, file_upload, oralb.sensor, cloud.stt, zha.update, philips_js.binary_sensor, google_home.number, cast.media_player, zha.number, application_credentials, upnp.binary_sensor, hardware, met, min_max.sensor, tuya.button, homekit_controller.light, cloud.binary_sensor, select, energy, sonos.switch, webhook, threshold.binary_sensor, tuya, zha.lock, tuya.camera, vacuum, xiaomi_miio, tesla_custom.select, nuki, xiaomi_miot.remote, sensor, sun, xiaomi_miot.switch, shelly.binary_sensor, google_home.sensor, logbook, tesla_custom.button, shelly.sensor, ping, sonos.sensor, auth, hassio.binary_sensor, usb, tuya.alarm_control_panel, scene, generic, zeroconf, recorder, xiaomi_miot.alarm_control_panel, xiaomi_miio.sensor, assist_pipeline, zha.button, xiaomi_miot.fan, zha.alarm_control_panel, samsungtv.media_player, search, my, dlna_dmr.media_player, group.cover, network, nanoleaf.button, switcher_kis, fan, tesla_custom.text, api, input_boolean, google_home.switch, xiaomi_miio.number, ping.device_tracker, group, camera, iec.binary_sensor, xiaomi_miot.water_heater, akuvox.button, iec, tuya.fan, system_health, shelly.switch, philips_js.remote, nuki.binary_sensor, device_tracker, androidtv.media_player, androidtv_remote.remote, xiaomi_miot.vacuum, homekit_controller.button, person, upnp, humidifier, ffmpeg, tesla_custom.switch, http, backup, sonos.media_player, analytics, zha.siren, zha.light, xiaomi_miot.humidifier, google_translate.tts, iec.sensor, reolink.camera, cast, reolink.button, tesla_custom.number, threshold, akuvox.sensor, input_text, tesla_custom.binary_sensor, shelly.valve, image_upload, tuya.cover, mjpeg_timelapse.camera, xiaomi_miot.light, template.binary_sensor, blueprint, nuki.lock, xiaomi_ble.event, shelly.event, tesla_custom.sensor, shelly, zha.select, script, xiaomi_miio.button, siren, automation, alexa, hacs, samsungtv, shelly.light, stt, philips_js.switch, ping.sensor, zha.fan, climate, wake_word, reolink.number, dnsip, androidtv_remote, input_select, tuya.light, device_automation, zha, rympro, tesla_custom.climate, wake_on_lan, met.weather, zha.cover, logger, xiaomi_miot.binary_sensor, tesla_custom.lock, hassio.sensor, update, media_player, dnsip.sensor, timer, config, tuya.number, tuya.climate, philips_js, philips_js.light, tag, uptime, notify, esphome.switch, zha.device_tracker, nuki.sensor, esphome.sensor, reolink.switch, xiaomi_miot, tesla_custom, tuya.sensor, esphome.update, reolink, dhcp, bluetooth, history, tuya.switch, reolink.select, hassio, homeassistant, ping.binary_sensor, xiaomi_miot.device_tracker, mqtt.sensor, weather, reolink.light, xiaomi_ble.binary_sensor, switcher_kis.sensor, yeelight The system is waiting for tasks: {<Task pending name='Task-1833' coro=<AkuvoxApiClient.async_retrieve_personal_door_log() running at /config/custom_components/akuvox/api.py:596> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>}
918 2024-06-26 16:47:08.262 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
919 2024-06-26 16:47:08.326 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
937 2024-06-26 16:48:38.566 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
938 2024-06-26 16:48:38.596 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
959 2024-06-26 16:50:18.846 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
960 2024-06-26 16:50:18.896 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
973 2024-06-26 16:52:09.113 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
974 2024-06-26 16:52:09.166 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
998 2024-06-26 16:54:09.400 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
999 2024-06-26 16:54:09.465 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
1031 2024-06-26 16:56:19.668 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
1032 2024-06-26 16:56:19.753 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
1051 2024-06-26 16:58:39.974 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
1052 2024-06-26 16:58:40.040 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
1101 2024-06-26 17:01:10.261 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_qvmh_1_2] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C1105209736
1102 2024-06-26 17:01:10.343 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bnyyn_6_lvby_rshy] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@52.58.161.16:554/0C11051DE41A
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4990 Installed Version | 1.34.0 Stage | running Available Repositories | 1390 Downloaded Repositories | 30Home Assistant Cloud
logged_in | true -- | -- subscription_expiration | July 11, 2024 at 03:00 relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | true remote_server | eu-central-1-7.ui.nabu.casa certificate_status | ready instance_id | e6f318c99a8f4ca38ff45902bee413f1 can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 12.4 -- | -- update_channel | stable supervisor_version | supervisor-2024.06.2 agent_version | 1.6.0 docker_version | 26.1.4 disk_total | 93.8 GB disk_used | 43.8 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | kvm board | ova supervisor_api | ok version_api | ok installed_addons | Terminal & SSH (9.14.0), File editor (5.8.0), Samba share (12.3.1), Mosquitto broker (6.4.1), ESPHome (2024.6.2), Home Assistant Google Drive Backup (0.112.1), SQLite Web (4.1.2), HiSense Air Conditioners (0.3.17)Dashboards
dashboards | 7 -- | -- resources | 19 views | 8 mode | storageRecorder
oldest_recorder_run | September 21, 2022 at 10:26 -- | -- current_recorder_run | June 26, 2024 at 14:56 estimated_db_size | 17066.18 MiB database_engine | sqlite database_version | 3.44.2Xiaomi Miot Auto
component_version | 0.7.18 -- | -- can_reach_server | ok can_reach_spec | pending logged_accounts | 1 total_devices | 21Checklist
Describe the issue
Yesterday, suddenly all of the cameras stopped working for me in this integration. They do work in the official Android app.
Looking at the logs, it's possible to see:
Restarting, reinstalling, re-logging-in, and even installing and logging-in with SMS to my account on a different Home Assistant instance of a friend - they all didn't solve the issue.
To debug this, I tried taking one of the RTSP URL from my
core.config_entries
file (e.g.rtsp://ak:<password>@52.58.161.16:554/0C11051DE41A
), and it works perfectly fine both in VLC, and usingffplay -i rtsp://ak:<password>@52.58.161.16:554/0C11051DE41A -v 9 -loglevel 99
. I did notice that trying the commandffplay -rtsp_transport tcp -i rtsp://ak:<password>@52.58.161.16:554/0C11051DE41A -v 9 -loglevel 99
fails with a similar error:(using UDP or nothing works).
I tried adding a Generic Camera device in my Home Assistant with the RTSP URL and with its default settings, and it failed with the same error (
INVALIDDATA
). Setting it explicitly to UDP though works!I tried adding
"rtsp_transport": "udp"
to theGenericCamera
setup of this integration in my local copy ofcamera.py
, and indeed it worked! I am not sure what changed from yesterday (is it something in all Akuvox? Something in the configuration of the cameras in our building?).Ideally, like
ffmpeg
the Generic Camera could understand/auto-negotiate the transport internally and everything would work. Less ideally, this integration could do that internally and pass the correct transport toGenericCamera
.Since that doesn't happen, I think a reasonable workaround would be the ability to manually choose the transport for the cameras in this integration, which I believe currently is impossible (is it?).
If this affects all of Akuvox, maybe it should just be hardcoded, but I have no way to check if that's true.
Reproduction steps
Debug logs
Diagnostics dump
No response