Regarding DLNA and Televisions

I have a Sony Aquos TV that needs to receive information from a DLNA source. Since there isn’t one on my network, I figured I’d start looking for a software solution that I could run on the Mac. Then, I looked up DLNA in Home Assistant and found the dlna_dmr component.

From here, I’m a bit confused about the Configuration Variables on the DLNA component page.

The required URL? What should it actually be?

My tv is on 192.168.2.2, but I don’t know the port and I don’t know what the /dmr part of the URL is referring to. Furthermore, if I dial in http://192.168.2.2 into my browser, I don’t get a connection.

Telnet works fine on port 10002, and apparently I wrongly assumed that there would be a web interface on the TV that would allow remote configuration.

Anyone dealt with DLNA before?

I have been exploring this feature too, and thought the URL requirement a bit vague.

I found this UPNP toolset https://www.meshcommander.com/upnptools was quite insightful and helped to reveal a lot of info of my tv, etc.

If you just want to get it working, try enabling DLNA in the discovery entry in configuration.yaml. HA should find and configure an entity for your tv.

configuration.yaml

discovery:
  enable:
    - dlna_dmr