NorthernMan54 / homebridge-cmd-television

20 stars 1 forks source link

Keep daemon alive #26

Open sadanro100 opened 1 year ago

sadanro100 commented 1 year ago

I've used the plugin for quite a while, thank you for putting this together.

Only thing is that all commands (even state update) take around 7/8 secs to perform, it looks like every time a command is sent, the plugin has to go all over the trouble of re-authenticating again. It there a way to make it faster?

I'm running Raspberry Pi 3 and found this that could be helpful.

https://github.com/postlund/pyatv/issues/649

NorthernMan54 commented 1 year ago

As the plugin is script based, it would need to leverage a state saving feature of pyatv. If the implement something we could look at adding