Open Sledgehamma opened 4 months ago
Its most likely associated with rapid update. Lovelace is pretty good at only updating the frontend if a state value has actually changed. Its possible the Unfolded firmware is trying to refresh things on every event. for example, it maybe downloading and redrawing the backdrop image every update event.
Did you disable any additional rapid update automations? Is the lag present if there is no backdrop?
Didn’t see any option to disable rapid update automation. correct, no lag when there is no backdrop! Good guess :) I’ll report it to the unfolded devs.
Didn’t see any option to disable rapid update automation.
If you had previously added this Rapid Update automation before the last update to increase response times, then its possible it is trying to update twice a second!
The latest software adds this feature and sets the poling time to 1s when powered on, so any existing automation should be disabled. Rapid Update is not currently in the Config options, but I could look at adding a custom 'update interval' if its a major issue.
You can turn off ALL updates using 'Settings/Device & services/Zidoo' => 'Device hamburger menu/ System Options/Enable Polling for updates'. If you do disable it you have to add your own automation with your own custom update times.
I hadn't added the Rapid Update automation before. I did now with a polling time of 1s (and disabled all updates as you described) and the issue has gone :) Every second seems a bit too slow as the scrolling text seems laggy. Need to experiment with the update interval.
It seems I spoke too soon. The automation doesnt seen to get always triggered, especially if you pause a video. And now it seems laggy (although not as worse as before) even when set to 1s.
Yeah, I was surprised it made a difference. The only thing you can do with this is to slow the update down. for example, every 5s.
Hi wizmo,
when using the latest version of your integration while playback it makes the unfolded remote two extremely laggy. Touch and key input has a huge delay and animations stutter extremely. While playback the remote shows the playback progress plus the episode image like this:
When I stop playback, and therefore no progress syncing appears, everything is back to normal and the remote is responsive.
I tried another HA integration with the player entity and the problem does not occur.
Let me know what details I should provide so you can have a look into that.
Cheers!