uvjim / hass_hdhomerun Goto Github PK
View Code? Open in Web Editor NEWHome Assistant integration for HDHomeRun
Home Assistant integration for HDHomeRun
Would it be possible to add signal strength details for each tuner if the tuner was not idle? Trying to track down why a specific OTA stations is cutting out at night. Tuned in vs idle will definitely help, but it would be really interesting to see a logged history of the signal strength leading up to when it fails.
My best guess right now is a close neighbor might have an LED that's messing up VHF signal, but the more data I have the easier it would be to track down the root cause.
Thanks.
Rolling back 2023.12.4 restores the functionality
Here are the logs
Invalid config
The following integrations and platforms could not be set up:
hdhomerun.binary_sensor ([Show logs](http://172.16.0.38:8123/config/logs?filter=hdhomerun.binary_sensor))
hdhomerun.select ([Show logs](http://172.16.0.38:8123/config/logs?filter=hdhomerun.select))
hdhomerun.sensor ([Show logs](http://172.16.0.38:8123/config/logs?filter=hdhomerun.sensor))
hdhomerun.update ([Show logs](http://172.16.0.38:8123/config/logs?filter=hdhomerun.update))
2023-12-27 19:10:22.131 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.hdhomerun.binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/custom_components/hdhomerun/binary_sensor.py", line 56, in <module>
@dataclasses.dataclass
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1230, in dataclass
return wrap(cls)
^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1220, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1027, in _process_class
_init_fn(all_init_fields,
File "/usr/local/lib/python3.11/dataclasses.py", line 545, in _init_fn
raise TypeError(f'non-default argument {f.name!r} '
TypeError: non-default argument 'key' follows default argument
2023-12-27 19:10:22.137 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'hdhomerun.binary_sensor': Platform not found (Exception importing custom_components.hdhomerun.binary_sensor).
2023-12-27 19:10:22.140 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.hdhomerun.select
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/custom_components/hdhomerun/select.py", line 45, in <module>
@dataclasses.dataclass
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1230, in dataclass
return wrap(cls)
^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1220, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1027, in _process_class
_init_fn(all_init_fields,
File "/usr/local/lib/python3.11/dataclasses.py", line 545, in _init_fn
raise TypeError(f'non-default argument {f.name!r} '
TypeError: non-default argument 'custom_options' follows default argument
2023-12-27 19:10:22.142 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'hdhomerun.select': Platform not found (Exception importing custom_components.hdhomerun.select).
2023-12-27 19:10:22.145 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.hdhomerun.sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/custom_components/hdhomerun/sensor.py", line 62, in <module>
@dataclasses.dataclass
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1230, in dataclass
return wrap(cls)
^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1220, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1027, in _process_class
_init_fn(all_init_fields,
File "/usr/local/lib/python3.11/dataclasses.py", line 545, in _init_fn
raise TypeError(f'non-default argument {f.name!r} '
TypeError: non-default argument 'key' follows default argument
2023-12-27 19:10:22.153 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'hdhomerun.sensor': Platform not found (Exception importing custom_components.hdhomerun.sensor).
2023-12-27 19:10:22.155 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.hdhomerun.update
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/custom_components/hdhomerun/update.py", line 41, in <module>
@dataclasses.dataclass
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1230, in dataclass
return wrap(cls)
^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1220, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1027, in _process_class
_init_fn(all_init_fields,
File "/usr/local/lib/python3.11/dataclasses.py", line 545, in _init_fn
raise TypeError(f'non-default argument {f.name!r} '
TypeError: non-default argument 'key' follows default argument
2023-12-27 19:10:22.157 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'hdhomerun.update': Platform not found (Exception importing custom_components.hdhomerun.update).
2023-12-27 19:10:22.177 ERROR (MainThread) [homeassistant.components.button] Error while setting up hdhomerun platform for button
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 360, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/hdhomerun/button.py", line 82, in async_setup_entry
description=HDHomeRunButtonDescription(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: HDHomeRunButtonDescription.__init__() missing 1 required positional argument: 'press_action_arguments'
After updating to latest version I see the integration error and display
Retrying setup: 404, message='Not Found', url=URL('http://[ipaddressremoved]/lineup.json?show=found')
I verified that you get a 404 response when you try to reach the /lineup.json?show=found
I'm using an older HDHomerun Here is my device details
HDHomeRun DUAL
Model: HDHR3-US
Device ID: 10397A70
Firmware: 20210422
First off, thanks for this add on, it's great!
I have a minor/odd bug, when I give it my IPv4 address (192.168.1.41) the add-on sets up perfectly.
Later on it shows this message, and it's switched to an IPv6 address (which I don't use). No idea why.
I've just reset it up again, using discovery (which I didn't realise it did before), so maybe this will just fix the issue, but I wanted to share in case it's a edge case bug.
Thanks again
After May's HA update I've been getting the following error when HDHomerun Integration starts. I have even removed and re-added it.
2023-05-05 13:52:41.058 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry HDHomerun Flex 4k for hdhomerun
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/hdhomerun/init.py", line 134, in async_setup_entry
hass.config_entries.async_setup_platforms(config_entry, setup_platforms)
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'
I can't think of anything else outside of reinstalling it but I tried that. My HDHomerun 4k Flex still works. Watching stations though Plex everyday.
Current HA Version Info:
Home Assistant 2023.5.1
Supervisor 2023.04.1
Operating System 10.1
Frontend 20230503.2 - latest
Home Assistant does not recognize it after the 2024.1.2 update, I tried reinstalling and it is not found by discovery and adds no devices when the IP is manually entered. It works fine from the app and web UI. Getting this in the HA log:
Unable to prepare setup for platform 'hdhomerun.binary_sensor': Platform not found (Exception importing custom_components.hdhomerun.binary_sensor).
Unable to prepare setup for platform 'hdhomerun.button': Platform not found (Exception importing custom_components.hdhomerun.button).
Unable to prepare setup for platform 'hdhomerun.select': Platform not found (Exception importing custom_components.hdhomerun.select).
Unable to prepare setup for platform 'hdhomerun.sensor': Platform not found (Exception importing custom_components.hdhomerun.sensor).
Unable to prepare setup for platform 'hdhomerun.update': Platform not found (Exception importing custom_components.hdhomerun.update).
Hardware Model | HDFX-4K
Firmware Version | 20231214
ATSC3-DRM | SD20230420
Device ID | 10A2AF3E
MAC Address | 00:18:DD:0A:2A:F3
IP Address | 192.168.1.207
Subnet Mask | 255.255.255.0
HDHomeRun FLEX 4K
System Log
19700101-00:00:01 System: reset reason = power on
19700101-00:00:02 System: network link 100f
19700101-00:00:03 System: ip address obtained: [fe80::218:ddff:fe0a:2af3]/64
19700101-00:00:03 System: ip address obtained: 192.168.1.207/24
19700101-00:00:09 System: ip address obtained: [fd86:4c37:8379:e1b5:218:ddff:fe0a:2af3]/64
20240106-21:47:34 System: time changed from Thu Jan 1 00:00:20 1970 to Sat Jan 6 21:47:34 2024
20240106-21:47:36 System: ip address obtained: 169.254.159.137/16
20240106-21:48:59 Tuner: tuner0 tuning 106.1 WBRC (atsc3:515MHz-5005)
20240106-21:49:00 HTTP: rejecting request from [fd86:4c37:8379:e1b5:f86a:e922:eb68:85be] - protected channel
20240106-21:49:00 Tuner: tuner0 http stream ended (unknown reason)
\\homeassistant\config\custom_components
d---- 12/29/2023 8:54 AM __pycache__
d---- 11/10/2022 3:02 AM examples
d---- 11/10/2022 3:02 AM images
d---- 11/28/2022 2:03 PM pyhdhr
d---- 11/10/2022 3:02 AM translations
----- 11/10/2022 3:02 AM 9510 __init__.py
----- 11/10/2022 3:02 AM 10657 binary_sensor.py
----- 11/10/2022 3:02 AM 5906 button.py
----- 11/10/2022 3:02 AM 16382 config_flow.py
----- 11/10/2022 3:02 AM 2021 const.py
----- 11/10/2022 3:02 AM 1574 diagnostics.py
----- 11/10/2022 3:02 AM 108 hacs.json
----- 11/10/2022 3:02 AM 722 logger.py
----- 11/10/2022 3:02 AM 478 manifest.json
----- 11/10/2022 3:02 AM 4661 README.md
----- 11/10/2022 3:02 AM 3738 select.py
----- 11/10/2022 3:02 AM 12637 sensor.py
----- 11/10/2022 3:02 AM 3535 update.py
debugging on
2024-01-06 16:13:10.853 DEBUG (MainThread) [custom_components.hdhomerun] async_setup_entry (10A2AF3E) --> entered
2024-01-06 16:13:10.858 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> entered
2024-01-06 16:13:10.863 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> carrying out UDP discovery
2024-01-06 16:13:10.878 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] _DiscoverProtocol.do_discover --> entered
2024-01-06 16:13:10.883 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] _DiscoverProtocol.do_discover --> sending discovery packet: ('192.168.1.207', 65001), 0002000c0104000000010204ffffffff4e507f35
2024-01-06 16:13:10.888 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] _DiscoverProtocol.do_discover --> exited
2024-01-06 16:13:11.125 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> waiting 1 second for responses
2024-01-06 16:13:11.648 ERROR (MainThread) [homeassistant.components.notify] Failed to initialize notification service webostv
2024-01-06 16:13:12.464 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> UDP discovery found 3 devices
2024-01-06 16:13:12.472 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> attempting to reach local discovery for 192.168.1.207
2024-01-06 16:13:12.497 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> attempting to reach local discovery for 192.168.1.207
2024-01-06 16:13:12.511 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> attempting to reach local discovery for 192.168.1.207
2024-01-06 16:13:12.919 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> discovered devices: [HDHomeRunDevice 192.168.1.207, HDHomeRunDevice 192.168.1.207, HDHomeRunDevice 192.168.1.207]
2024-01-06 16:13:12.929 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> exited
2024-01-06 16:13:12.939 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.device] async_gather_details (192.168.1.207) --> entered
2024-01-06 16:13:12.948 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.device] async_gather_details (192.168.1.207) --> gathering details using UDP
2024-01-06 16:13:12.957 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> entered
2024-01-06 16:13:12.982 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> carrying out UDP discovery
2024-01-06 16:13:13.066 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] _DiscoverProtocol.do_discover --> entered
2024-01-06 16:13:13.082 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] _DiscoverProtocol.do_discover --> sending discovery packet: ('192.168.1.207', 65001), 0002000c0104000000010204ffffffff4e507f35
2024-01-06 16:13:13.091 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] _DiscoverProtocol.do_discover --> exited
2024-01-06 16:13:13.136 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> waiting 1 second for responses
2024-01-06 16:13:14.471 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> UDP discovery found 3 devices
2024-01-06 16:13:14.482 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> discovered devices: [HDHomeRunDevice 192.168.1.207, HDHomeRunDevice 192.168.1.207, HDHomeRunDevice 192.168.1.207]
2024-01-06 16:13:14.493 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> exited
2024-01-06 16:13:14.560 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> entered, tag: /sys/version, value: None, timeout: 2.50
2024-01-06 16:13:14.569 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> entered, tag: /sys/model, value: None, timeout: 2.50
2024-01-06 16:13:14.578 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> entered, tag: /sys/hwmodel, value: None, timeout: 2.50
2024-01-06 16:13:14.671 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> exited
2024-01-06 16:13:14.804 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> exited
2024-01-06 16:13:14.966 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> exited
2024-01-06 16:13:15.009 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.device] async_gather_details (192.168.1.207) --> exited
2024-01-06 16:13:15.010 DEBUG (MainThread) [custom_components.hdhomerun] Finished fetching hdhomerun_10A2AF3E data in 4.157 seconds (success: True)
2024-01-06 16:13:15.022 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> entered
2024-01-06 16:13:15.034 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> carrying out UDP discovery
2024-01-06 16:13:15.050 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] _DiscoverProtocol.do_discover --> entered
2024-01-06 16:13:15.063 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] _DiscoverProtocol.do_discover --> sending discovery packet: ('192.168.1.207', 65001), 0002000c0104000000010204ffffffff4e507f35
2024-01-06 16:13:15.074 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] _DiscoverProtocol.do_discover --> exited
2024-01-06 16:13:15.091 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> waiting 1 second for responses
2024-01-06 16:13:16.271 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> UDP discovery found 3 devices
2024-01-06 16:13:16.291 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> attempting to reach local discovery for 192.168.1.207
2024-01-06 16:13:16.472 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> attempting to reach local discovery for 192.168.1.207
2024-01-06 16:13:16.510 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> attempting to reach local discovery for 192.168.1.207
2024-01-06 16:13:16.549 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> discovered devices: [HDHomeRunDevice 192.168.1.207, HDHomeRunDevice 192.168.1.207, HDHomeRunDevice 192.168.1.207]
2024-01-06 16:13:16.562 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> exited
2024-01-06 16:13:16.575 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.device] async_gather_details (192.168.1.207) --> entered
2024-01-06 16:13:16.588 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.device] async_gather_details (192.168.1.207) --> gathering details using UDP
2024-01-06 16:13:16.602 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> entered
2024-01-06 16:13:16.617 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> carrying out UDP discovery
2024-01-06 16:13:16.640 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] _DiscoverProtocol.do_discover --> entered
2024-01-06 16:13:16.661 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] _DiscoverProtocol.do_discover --> sending discovery packet: ('192.168.1.207', 65001), 0002000c0104000000010204ffffffff4e507f35
2024-01-06 16:13:16.679 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] _DiscoverProtocol.do_discover --> exited
2024-01-06 16:13:16.710 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> waiting 1 second for responses
2024-01-06 16:13:16.897 ERROR (MainThread) [reolink_aio.api] Host 192.168.1.23:443, could not verify a working RTSP url
2024-01-06 16:13:17.363 ERROR (MainThread) [reolink_aio.api] Host 192.168.1.30:443, could not verify a working RTSP url
2024-01-06 16:13:17.373 ERROR (MainThread) [reolink_aio.api] Host 192.168.1.23:443, could not verify a working RTSP url
2024-01-06 16:13:17.499 ERROR (Thread-10) [pychromecast.socket_client] [NvidiaShield(ed5b9f16-a2b7-e3f5-af73-867aa93b8c5a.local.):8009] Failed to connect to service ServiceInfo(type='mdns', data='SHIELD-Android-TV-ed5b9f16a2b7e3f5af73867aa93b8c5a._googlecast._tcp.local.'), retrying in 5.0s
2024-01-06 16:13:17.629 ERROR (MainThread) [reolink_aio.api] Host 192.168.1.30:443, could not verify a working RTSP url
2024-01-06 16:13:17.731 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> UDP discovery found 3 devices
2024-01-06 16:13:17.752 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> discovered devices: [HDHomeRunDevice 192.168.1.207, HDHomeRunDevice 192.168.1.207, HDHomeRunDevice 192.168.1.207]
2024-01-06 16:13:17.767 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.discover] async_discover --> exited
2024-01-06 16:13:17.781 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> entered, tag: /sys/version, value: None, timeout: 2.50
2024-01-06 16:13:17.795 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> entered, tag: /sys/model, value: None, timeout: 2.50
2024-01-06 16:13:17.808 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> entered, tag: /sys/hwmodel, value: None, timeout: 2.50
2024-01-06 16:13:17.831 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> exited
2024-01-06 16:13:17.889 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> exited
2024-01-06 16:13:17.907 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> exited
2024-01-06 16:13:17.924 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.device] async_gather_details (192.168.1.207) --> exited
2024-01-06 16:13:17.938 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.device] async_refresh_tuner_status (192.168.1.207) --> entered
2024-01-06 16:13:17.951 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.device] async_refresh_tuner_status (192.168.1.207) --> refreshing tuner status using UDP
2024-01-06 16:13:17.964 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.device] _async_get_tuner_status_udp (192.168.1.207) --> entered
2024-01-06 16:13:17.978 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.device] _async_get_tuner_status_udp (192.168.1.207) --> querying all tuners
2024-01-06 16:13:17.992 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> entered, tag: /tuner0/status, value: None, timeout: 2.50
2024-01-06 16:13:18.007 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> entered, tag: /tuner1/status, value: None, timeout: 2.50
2024-01-06 16:13:18.020 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> entered, tag: /tuner2/status, value: None, timeout: 2.50
2024-01-06 16:13:18.031 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> entered, tag: /tuner3/status, value: None, timeout: 2.50
2024-01-06 16:13:18.055 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> exited
2024-01-06 16:13:18.113 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> exited
2024-01-06 16:13:18.128 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> exited
2024-01-06 16:13:18.145 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.protocol] _get_set_req (192.168.1.207) --> exited
2024-01-06 16:13:18.161 DEBUG (MainThread) [custom_components.hdhomerun.pyhdhr.device] _async_get_tuner_status_udp (192.168.1.207) --> exited
2024-01-06 16:13:18.161 DEBUG (MainThread) [custom_components.hdhomerun] Finished fetching hdhomerun_tuner_status_10A2AF3E data in 3.151 seconds (success: True)
2024-01-06 16:13:18.175 DEBUG (MainThread) [custom_components.hdhomerun] async_setup_entry (10A2AF3E) --> setting up platforms: ['binary_sensor', 'button', 'select', 'sensor', 'update']
2024-01-06 16:13:18.177 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.hdhomerun.binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/custom_components/hdhomerun/binary_sensor.py", line 56, in <module>
@dataclasses.dataclass
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1230, in dataclass
return wrap(cls)
^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1220, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1027, in _process_class
_init_fn(all_init_fields,
File "/usr/local/lib/python3.11/dataclasses.py", line 545, in _init_fn
raise TypeError(f'non-default argument {f.name!r} '
TypeError: non-default argument 'key' follows default argument
2024-01-06 16:13:18.180 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'hdhomerun.binary_sensor': Platform not found (Exception importing custom_components.hdhomerun.binary_sensor).
2024-01-06 16:13:18.182 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.hdhomerun.button
Hi,
Just updated to the latest version 2022.10.2 and the component fails to load. Upon restarting, I receive the error:
Component error: hdhomerun - Exception importing custom_components.hdhomerun
From the logs;
Unexpected exception importing component custom_components.hdhomerun
10:01:22 AM โ (ERROR) HDHomeRun (custom integration) - message first occurred at 9:52:13 AM and shows up 12 times
Error occurred loading configuration flow for integration hdhomerun: Exception importing custom_components.hdhomerun.config_flow
9:59:16 AM โ (ERROR) config_entries.py - message first occurred at 9:53:01 AM and shows up 9 times
Setup failed for custom integration hdhomerun: Unable to import component: Exception importing custom_components.hdhomerun
Sorry, a stupid question, but I've just found this repo after troubleshooting my way through @burnnat's HDHomeRun HACS integration which appears to be abandoned.
Where/How do you install this integration? As I don't see it included in the OOB HA integrations, nor in HACS? Or is this a manual install?
I'm currently using
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.