I’m fairly new to HA and I’m trying to use the WebOS integration in HA. Initialy all works fine, but after a couple of minutes the connection with the Tv is lost and the integration only works after a HA reboot. Thanks in advance!
My LG WebOS integration:
webostv:
host: 192.168.X.XXX
name: LG TV
customize:
sources:
- youtube
- netflix
- Amazon Prime Video
- videoland
Common for webOS 3.0 and higher would be to use WakeOnLan feature. To use this feature your TV should be connected to your network via Ethernet rather than Wireless and you should enable LG Connect Apps feature in Network settings of the TV instructions (or Mobile App in General settings for older models) (*may vary by version).
On newer models (2017+), WakeOnLan may need to be enabled in the TV settings by going to Settings > General > Mobile TV On > Turn On Via WiFi instructions.
Perhaps give that a go and see if it fixes the issue?
I checked all settings on the TV but al seems to be working. I’ve tried it with de LG WebOS Mobile App. This works like the HA integration, but when the TV is off overnight the connection won’t turn back on. The LAN Ping however is fine when te TV comes back on. The WIFI Ping stops working until i reconnect it via the TV menu.
I’ve also tried toggle the quick start + mode on the TV, but with no luck so far
Yes the branch I posted above can be deployed as a custom integration. I believe it works better than the current home assistant code as it will reconnect to the TV after a wake up on lan (but it is a bit slow to do so)
If you want to test it you just need
deploy the webos tv integration above as a custom component (copy the webostv folder in your custom_components folder
I have the same issue, set up as above and get the error
Logger: homeassistant.setup
Source: setup.py:178
First occurred: 18:53:03 (1 occurrences)
Last logged: 18:53:03
Setup failed for webostv: No setup or config entry setup function defined.
I copied the setup.py into the config folder and get the same error.
What am I doing wrong?
Found the /config/webostv.conf is reporting the error below. I have tried deleting this and re-pairing the Tv, each time I get:
‘utf-8’ codec can’t decode byte 0x91 in position 99: invalid start byte’