wizmo2 / zidoo-player

Home-assistant custom component and api wrapper for Zidoo Media Players
22 stars 4 forks source link

State reporting issues with rapid update #11

Closed wizmo2 closed 1 year ago

wizmo2 commented 2 years ago

State stability reported when using rapidly updating media player.

To improve automation response times, the homeassistant_entity service can be used to increase the polling time. With these higher polling rates, the integration can report inconsistent states (toggling between playing, idle, off).

wizmo2 commented 2 years ago

The player state is computed using multiple api calls. plus the current code does not handle timeout and errors well.

Will investigate further and look at reworking for better stability when polling at higher rates.

v1.2.12 includes a fix for pause/play issues, but further work is needed.

wizmo2 commented 1 year ago

beta-110922 with timeout support is available for testing

wizmo2 commented 1 year ago

changes applied and released with v1.3.1