Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ON/OFF detection works, does not respond to basic commands #71

Open
geekscrapy opened this issue Apr 29, 2021 · 1 comment
Open

ON/OFF detection works, does not respond to basic commands #71

geekscrapy opened this issue Apr 29, 2021 · 1 comment

Comments

@geekscrapy
Copy link

I have the following config and using the Hassio VM (no additional things installed apart from a couple of Integrations), using the version of ha-samsungtv-custom which is available at this time.

The TV ON/OFF state is tracked, but the controls don't work. I have the Q80R QLED.

Config:

media_player:
  - platform: samsungtv_custom
    host: 192.168.11.11
    mac: aa:aa:aa:aa:aa:aa
    sourcelist: '{"PlayStation": "KEY_HDMI1", "RaspberryPi": "KEY_HDMI2", "Chromecast": "KEY_HDMI3"}'
    #applist: "YouTube, Apple TV, Plex, Prime Video, Spotify"
    port: 8002
    protocol: ctl_qled

I tested pretty much all the combinations of protocol and ports (so, ws on both 8001+8002, ctl_beta on 8001+8002 etc..), with and without the port variables.

If it makes a difference, the TV is on a different VLAN to Hassio, but as far as I'm aware, this should only limit the turn on feature as I guess that uses WoL.

Side note, what format should the MAC address be in? de:ad:be:ef:de:ad or de-ad-be-ef-de-ad or deadbeefdead?

@geekscrapy
Copy link
Author

geekscrapy commented Apr 29, 2021

Also, I'm getting the following error a lot with the above config

2021-04-29 22:05:17 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for samsungtv_custom doing I/O at custom_components/samsungtv_custom/samsungctl_qled/application.py, line 41: response = requests.get(APP_URL_FORMAT.format(self._ip, APPS[app]), timeout=0.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant