Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

UPNP sharp tv entity Id already exists

$
0
0

@si458 wrote:

Hi all,

Hoping to get some help/advise

I have a sharp tv which gets automatically detected by UPNP/DLNA-DMR when started, however it works the first time I restart my homeassistant without any issues.

BUT then if I switch off my tv, let it change to unavailable in homeassistant then switch my tv back on, it never works again just stays as unavailable?

I have checked the logs and it seems to show that the entity id already exists so I understand why It won’t add another entity but don’t understand why it won’t change the status of existing entity?

The other problem I have is I can’t setup manual DLNA-dmr in my config.xml file because from what I have checked/found out using a upnp client on my laptop,
every time the tv turns on, the upnp port changes? So I can’t set a static xml config in config.xml?

Is the anything I can do to fix this issue or am I stuck?

2020-03-15 22:59:08 INFO (MainThread) [homeassistant.components.discovery] Found new service: dlna_dmr {'host': '192.168.23.242', 'port': 54388, 'ssdp_description': 'http://192.168.23.242:54388/aw', 'name': 'MySharpTV', 'model_name': 'MStarDMR', 'model_number': '0.0', 'serial': '000000', 'manufacturer': 'MStar', 'udn': 'uuid:305208a4-1dd2-11b2-9607-702ed9393890', 'upnp_device_type': 'urn:schemas-upnp-org:device:MediaRenderer:1'}
2020-03-15 22:59:08 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.dlna_dmr
2020-03-15 22:59:08 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 425, in _async_add_entity
    raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: media_player.mysharptv. Platform dlna_dmr does not generate unique IDs

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>