roberodin / ha-samsungtv-custom

📺 HomeAssistant - SamsungTV Custom Component
Apache License 2.0
123 stars 176 forks source link

Q-LED Source select #16

Open markyskus opened 4 years ago

markyskus commented 4 years ago

Hi, I1m using your samsungtv custom component, and I want to set the sources for it, the HDMI1 is work with KEY_HDMI, but how could I add HDMI2 and TV for my config, KEY_HDMI2 and KEY_TV didn't work :( Thx

markyskus commented 4 years ago

sorry, the KEY_HDMI is not for hdmi1, it is for the active hdmi port, so could somebody help to the correct HDMI1, HDMI2 and TV setup :)

SeLLeRoNe commented 4 years ago

It should be something like this:

sourcelist: '{"R": "KEY_HDMI1", "NowTV IT": "KEY_HDMI2", "NowTV UK": "KEY_HDMI3", "Nintendo Wii": "KEY_HDMI4"}'
markyskus commented 4 years ago

thx, but my config is this, but didn't work key_hdmi1 and key_hdmi2 didnt work only with key_hdmi, but key_hdmi is for the active hdmi port not for 1 or 2 :(

markyskus commented 4 years ago

nobody using this plugin with q-led?

SeLLeRoNe commented 4 years ago

I am using it with a Q60 with this config:

platform: samsungtv_custom
name: Living Room TV
host: !secret livingroom_tv_ip
mac: !secret livingroom_tv_mac
port: !secret livingroom_tv_port
update_method: ping
markyskus commented 4 years ago

I am using it with a Q60 with this config:

platform: samsungtv_custom
name: Living Room TV
host: !secret livingroom_tv_ip
mac: !secret livingroom_tv_mac
port: !secret livingroom_tv_port
update_method: ping

thanks, but ping is OK, only a source change didn't work...

SeLLeRoNe commented 4 years ago

I do have source change working, that's why I provided my config

markyskus commented 4 years ago

I do have source change working, that's why I provided my config

with update_method ping i have got invalid config

Invalid config for [media_player.samsungtv_custom]: [update_method] is an invalid option for [media_player.samsungtv_custom]. Check: media_player.samsungtv_custom->update_method. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/samsungtv_custom/

SeLLeRoNe commented 4 years ago

Sorry about that, I just figure out that I am using a fork version that you can get here: https://github.com/xchwarze/ha-samsungtv-custom/

markyskus commented 4 years ago

Sorry about that, I just figure out that I am using a fork version that you can get here: https://github.com/xchwarze/ha-samsungtv-custom/

how you configure the source change? HDMI1, HDMI2 didint work, I'm using now homebridge to, it has got key_source+key_left+key_enter method, how could I configure that with my home assistant config?

SeLLeRoNe commented 4 years ago

I am using the app for now, I didn't integrate with anything nor I am using a service yet.

I'll try to do some tests maybe tomorrow to see if I can change and how, the input.

image

T-bond commented 4 years ago

I have the same problem, but with a non QLed TV. Mine is working with WS protocol. It is a RU8002. So maybe it is not related to QLed only. KEY_HDMI is changing between active HDMI sources. But KEY_HDMI{1-4} is not doing anything.

Boss-man commented 4 years ago

Same here on a Q9FN.. It seems that only KEY_HDMI is defined in the source code. So KEY_HDMI1-4 is not possible.