-
Notifications
You must be signed in to change notification settings - Fork 27
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
Refresh rate too slow - Moving to push mode #168
Comments
hey @marcolivierarsenault got any timeline for this |
no, tbh, no bandwidth has not progressed in months. |
I have created a template switch that makes respectively an output pin from the board up or down; then, using value_template for a relevant numeric sensor I get from the board to refresh the state of the switch (this is for driving a fan) Having 30 seconds makes the switch to temporarly revert to the older state when commuting. Hardcoding 2 seconds solved the issue brillantly, nonetheless having this pull-based looks definitively much more elegant :) |
Why not simply change/update the interval when the printer becomes active? |
yeah that makes sense. with the delay to the push mode, I will likely add a parameter to pull at a higher frequence |
@jamincollins I have added an option to set a different timer. details here: https://moonraker-home-assistant.readthedocs.io/en/latest/connection.html#polling-rate-configuration make sure to download latest ( |
Thank you |
where is that optin for change pooling rate? |
Right now the integration refresh every 30 sec, which is too slow for many people.
We will be pivoting this integration in pull mode instead of push.
Temporary solution
you can lower the refresh rate
moonraker-home-assistant/custom_components/moonraker/__init__.py
Line 29 in ca5c81f
The text was updated successfully, but these errors were encountered: