So I could get the info I need by using the scrape commands like Stephen mentioned. Still trying to get it to grab info from the actual other way though.
And the sensor that tracks what is currently being shown on a given tuner. You have to create a different sensor for each tuner. I had to update to the latest firmware on the device before it showed everything.
Amazing. Works perfectly for me without needing to hack about with my Hassio installation. I’ve added these sensors, plus a couple of extra template sensors to get the current channel attribute out and it works perfectly. Thank you.
thank you! I had issues with the custom component but this works great! I modified it to take in the value of the station being broadcast for the recorder otherwise it displays off
sensor:
- platform: rest
resource: http://192.168.xxx.xxx/status.json
name: HDHomerun Tuner 1
json_attributes_path: "$..[?(@.Resource=='tuner0')]"
json_attributes:
- Resource
- VctNumber
- VctName
- Frequency
- SignalStrengthPercent
- SymbolQualityPercent
- TargetIP
value_template: >-
{% if value_json[0].VctName is defined %}
{{ value_json[0].VctName }}
{% else %}
OFF
{% endif %}
- platform: rest
resource: http://192.168.xxx.xxx/status.json
name: HDHomerun Tuner 2
json_attributes_path: "$..[?(@.Resource=='tuner1')]"
json_attributes:
- Resource
- VctNumber
- VctName
- Frequency
- SignalStrengthPercent
- SymbolQualityPercent
- TargetIP
value_template: >-
{% if value_json[1].VctName is defined %}
{{ value_json[1].VctName }}
{% else %}
OFF
{% endif %}
I’m just using a basic entities card, however I’ve downloaded a channels logo pack and customised the icons so it shows the logo of the tuned-to channel
The icons themselves are in the www/images/channels folder. I did have to write a powershell script to enumerate through the files and rename/lower-case them.
For anyone in this group still wanting an HACS installable version of the hdhomerun sensor, I’ve forked the one referenced earlier and made it auto-install all dependencies with a restart of HASS, rather than having to go in to do an apk install.