Amazing update. I’ve just installed the beta and provided a path to the logos. When I tune a channel, the logo changes to an empty space but doesn’t show the actual logo. I’ve used the path format specified in the readme.
Is it looking for png files? Also, are the file names case sensitive?
Yup. They should be the channel names in all lowercase. So in my case I put /local/update_icons in the configuration options for the path. I had a file in there named bbc two.png and that is what was displayed.
Oh dear. I thought I had really old firmware on one of my devices (from 2018) but yours looks like it’s from 2011. That firmware isn’t even listed on the SiliconDust website.
Did you have any sensors for your device before trying this integration? I know some people had been using template/REST sensors.
Currently the HDHomeRun devices are found automatically using SSDP or you can manually add them.
In both cases I try and parse the discover.json file on the device to get basic information.
Now, your device doesn’t support automatic discovery as far as I can tell. Not withstanding I’m hoping we can do something with it.
SiliconDust provide an online version of discovery mind you. Could you try http://my.hdhomerun.com/discover in a browser. I’m hoping it’ll return a JSON object of info for your device. If it does, I could try local and fallback to online to see if progress can be made.
added support for the update entity in HASS 2022.4.x - when you upgrade to a version that has the update entity available the integration will remove the two version sensors and the binary sensor which shows an update is available
It’s been a while since I wrote the integration and thought the easiest route to getting something up and running was to stick with the HTTP API. That proved true but as you can see from the thread there was a few people with devices that didn’t support the HTTP API.
Anyway, I decided to take a look at the UDP discover and TCP control protocol provided by Siliciondust (see here for more info). I have now implemented this in Python so that the integration should now be able to discover and interact with any device that has implemented that protocol.
The integration has pretty much been rewritten to cope with this. However, I’ve tried to do it in such a way that existing users won’t notice any difference (in fact I’ve test on my system and everything just carried on as before).
With that said 2022.5.1b0 is out in HACS now. (you will need to enable beta releases in HACS)
Hopefully @nickrout and @rlust should now be able to use the integration if you want to.
Considering this is quite a big rewrite, I’ll be interested in any feedback. The TCP control protocol doesn’t seem to give me all the information that the HTTP API does but it could just need a little more poking to find what I need.
Again, any feedback gratefully received.
Edit: P.S. you may also have noticed I’ve snuck a logo into the brands repository.