I’ve set up my hue lights to turn off / on based on the playing/paused state of Kodi. It works but I feel the response time is a little slow. Sometimes its near instantaneous but other times it’ll take up to 8 seconds between the movie being paused or played before the lights turn off or on. Is there any way to decrease this response time?
Not sure if it helps, but give enable_websocket: false
in your kodi config a try.
It’s enabled by default and i’ve seen such responce times without it.
I just got it working. For HA to use websockets you have to have the “Allow programs on other systems to control Kodi” in the System --> Services menu in Kodi.
1 Like
If you have any issues with using websockets as some do just change the listening port to 80 rather than 8080 and it should work reliably.