grzegorz914 / homebridge-lgwebos-tv

Homebridge plugin for LG WebOS TV, publish as independent external platform accessory.
MIT License
135 stars 15 forks source link

Change ping/update interval #172

Closed epheterson closed 1 year ago

epheterson commented 1 year ago

I’m not seeing what the refresh rate of pinging the TV for updates is or how to change it.

I want an automation to run by turning the tv on but it’s pretty slow. I’d like to check the rate and maybe change it to 5s or so, maybe less? Not sure what the cost/overhead is.

grzegorz914 commented 1 year ago

its not a ping or poll, here is web socket, if the tv connect to then the data is present.

epheterson commented 1 year ago

Is there any way to make the TV form it faster when turning on? I see in Homebridge logs it takes a while.

grzegorz914 commented 1 year ago

try latest beta.4

epheterson commented 1 year ago

It does seem a bit faster! What’s changed?

Glujaz commented 1 year ago

I have the same issue as well, but in the other way : when turning it off.

I have an automation, and it takes like 10min to detect it's been turned off. So maybe, again, i suppose this also needs an update interval.

(Turning it manually off works, but HomeKit sees it on again after a second)

i use a video projector with webos 3 I think

this is by the way happening when using only the Apple TV to control it. Using the projector's remote seems to be more instant. On the contrary, using only HomeKit (not the Apple TV to wake up), turning it on works, but not turning it off.

grzegorz914 commented 1 year ago

This issue should be solved with 2.14.x