The integration shows up as “Discovered” when starting HASS (and keeps showing up after it fails to configure), but when I try to configure, I get the error:
Aborted
failed to connect
This is a model EU55NU7475. Hass is on a different VLAN than TV, but I have set up mdns, in case that’s that’s important (it was for a few other things I tried to get into HASS). I have also punched a hole in the firewall, so the TV can communicate with HASS (which, I guess is why it shows up as “Discovered”).
I was looking at the TV while trying to set up (well, a few of the times, but it fails less than a second after I press submit
)
In my logs (set log level to debug for homeassistant.components.samsungtv
), I see:
2021-09-02 22:16:11 DEBUG (MainThread) [homeassistant.components.samsungtv] Samsung device found via ZEROCONF: {'host': '10.0.20.161', 'port': 49387, 'hostname': 'Samsung.local.', 'type': '_airplay._tcp.local.', 'name': 'Samsung 7 Series (55)._airplay._tcp.local.', 'properties': {'_raw': {'acl': b'0', 'deviceid': b'REDACTED', 'features': b'0x7F8AD0,0x38BCB46', 'rsf': b'0x3', 'fv': b'p20.0.1', 'flags': b'0x244', 'model': b'UNU74A0', 'manufacturer': b'Samsung', 'serialNumber': b'REDACTED', 'protovers': b'1.1', 'srcvers': b'377.17.24.6', 'pi': b'E8:DE:DB:DC:ED:04', 'psi': b'REDACTED', 'gid': b'REDACTED', 'gcgl': b'0', 'pk': b'REDACTED'}, 'acl': '0', 'deviceid': 'REDACTED', 'features': '0x7F8AD0,0x38BCB46', 'rsf': '0x3', 'fv': 'p20.0.1', 'flags': '0x244', 'model': 'UNU74A0', 'manufacturer': 'Samsung', 'serialNumber': 'REDACTED', 'protovers': '1.1', 'srcvers': '377.17.24.6', 'pi': 'E8:DE:DB:DC:ED:04', 'psi': 'REDACTED', 'gid': 'REDACTED', 'gcgl': '0', 'pk': 'REDACTED'}}
2021-09-02 22:16:11 DEBUG (SyncWorker_0) [homeassistant.components.samsungtv] Create SamsungTVWSBridge for name (10.0.20.161)
2021-09-02 22:18:17 DEBUG (SyncWorker_0) [homeassistant.components.samsungtv] Try config: {'name': 'HomeAssistant', 'description': 'HomeAssistant', 'id': 'ha.component.samsung', 'host': '10.0.20.161', 'method': 'legacy', 'port': None, 'timeout': 31}
2021-09-02 22:18:17 DEBUG (SyncWorker_0) [homeassistant.components.samsungtv] Failing config: {'name': 'HomeAssistant', 'description': 'HomeAssistant', 'id': 'ha.component.samsung', 'host': '10.0.20.161', 'method': 'legacy', 'port': None, 'timeout': 31}, error: [Errno 111] Connection refused
2021-09-02 22:18:17 DEBUG (SyncWorker_0) [homeassistant.components.samsungtv] Try config: {'name': 'HomeAssistant', 'host': '10.0.20.161', 'method': 'websocket', 'port': 8002, 'timeout': 31}
2021-09-02 22:18:17 DEBUG (SyncWorker_0) [homeassistant.components.samsungtv] Failing config: {'name': 'HomeAssistant', 'host': '10.0.20.161', 'method': 'websocket', 'port': 8002, 'timeout': 31}, error: {'event': 'ms.channel.timeOut'}
2021-09-02 22:18:17 DEBUG (SyncWorker_0) [homeassistant.components.samsungtv] Try config: {'name': 'HomeAssistant', 'host': '10.0.20.161', 'method': 'websocket', 'port': 8001, 'timeout': 31}
2021-09-02 22:18:18 DEBUG (SyncWorker_0) [homeassistant.components.samsungtv] Failing config: {'name': 'HomeAssistant', 'host': '10.0.20.161', 'method': 'websocket', 'port': 8001, 'timeout': 31}, error: {'event': 'ms.channel.unauthorized'}
2021-09-02 22:18:18 DEBUG (SyncWorker_0) [homeassistant.components.samsungtv] No working config found
Any suggestions or ideas?
[EDIT] - I did note that it seemed very similar to this and this (as well as a few posts below), but there was no reply. So I thought instead of reviving those threads (that were started about something else), I’d post a new.