Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Querying /all and /fieldsWithoutOptions endpoints freezes animation #250

Open
balloob opened this issue Apr 15, 2022 · 1 comment
Open

Comments

@balloob
Copy link
Contributor

balloob commented Apr 15, 2022

For the Home Assistant integration we query the /all endpoint to get the state of the Fibonacci device. I just updated my Fibonacci256 to the latest version and now notice that the animation pauses between 0.5-3s when I query /all and /fieldsWithoutOptions.

Update That was not the latest version I updated to. I accidentally updated to https://github.com/jasoncoon/esp8266-fastled-webserver/tree/jcoon/hack-fix-all-json-truncation

See video for an example querying /all:

fibo-all-smaller.mov

For /fieldsWithoutOptions it feels the timeout is more often short than long but still can experience long freezes.

@balloob balloob changed the title Querying /all endpoint freezes animation Querying /all and /fieldsWithoutOptions endpoints freezes animation Apr 15, 2022
@balloob
Copy link
Contributor Author

balloob commented Apr 15, 2022

Now updated to 27d560d (builds)

I actually notice now that hitting /all does cause a tiny freeze, but maybe 0.2s. Definitely not as noticeable as on the hack-fix-all-json-truncation branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant