sehaas / ha_hisense_tv

Hisense TV integration for Home Assistant
MIT License
100 stars 22 forks source link

Sources - Only 'App' Available #39

Closed peteshoard closed 1 year ago

peteshoard commented 1 year ago

Noticed that only the App source appears available on my sources list - looks like you may have identified and are working on this issue - any workarounds in the meanwhile? i have tried the media.sources service but cant pass plain text

Thanks

sehaas commented 1 year ago

What does <prefix>/remoteapp/mobile/HomeAssistant/platform_service/data/getchannellistinfo return if you open the media browser? What kind of input source do you expect? I tested the integration with a LNB/satellite dish connected to the TV.

peteshoard commented 1 year ago

Channel lists work great, no problem there, thanks - its the sources. This topic should populate the source dropndown? hisensetv/remoteapp/mobile/HomeAssistant/ui_service/data/sourcelist - is what i think it should pull, but doent - below is the

value in that topic:

[{"sourceid":"0","sourcename":"TV","displayname":"tele","is_signal":"1","is_lock":"0","hotel_mode":"0"},{"sourceid":"3","sourcename":"HDMI 1","displayname":"Kindle","is_signal":"1","is_lock":"0","hotel_mode":"0"},{"sourceid":"5","sourcename":"HDMI 3","displayname":"CCTV","is_signal":"1","is_lock":"0","hotel_mode":"0"},{"sourceid":"4","sourcename":"HDMI 2","displayname":"HDMI 2","is_signal":"0","is_lock":"0","hotel_mode":"0"},{"sourceid":"1","sourcename":"AV","displayname":"AV","is_signal":"0","is_lock":"0","hotel_mode":"0"}]

and all i get in the drop down is 'App' as per the image

image

sehaas commented 1 year ago

The values look fine. Please check your logs for _message_received_sourcelist - skip retained message or check if the MQTT message from hisensetv/remoteapp/mobile/HomeAssistant/ui_service/data/sourcelist has the retained flag set.

If this is the case, you have to unset/delete the message from the TV broker and/or from the HA broker. This can be done with tools like the MQTT Explorer.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 42 days with no activity. Remove stale label or comment or this will be closed in 7 days