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

[FR] Set connection timeout #1550

Closed
lightmaster opened this issue Mar 12, 2021 · 1 comment · Fixed by #1438
Closed

[FR] Set connection timeout #1550

lightmaster opened this issue Mar 12, 2021 · 1 comment · Fixed by #1438
Labels
enhancement New feature or request

Comments

@lightmaster
Copy link

Is your feature request related to a problem? Please describe.
I'm using the Tasmota plugin to turn my printer on and off via a wifi outlet. Tasmota has the ability to automatically turn on when you "press" the connect button, including when trying to wake OctoDash.

When using the connect button on the website, Tasmota can initiate a second connection attempt after a set delay, used to account for the delay in the printer turning on.

When waking OctoDash, the printer turns on fine, but it seems like OctoDash gives up trying to connect too soon. The result is that I must tap the screen once to turn on the printer, wait for the connection attempts to timeout, then tap on the screen a second time to actually connect.

Describe the solution you'd like
I'd like a setting to adjust the number of connection attempts to be made and the timeout for those connection attempts.

Link other projects
If you want OctoDash to include other OctoPrint plugins or similar please link them here.

Additional context
Add any other context or screenshots about the feature request here.

@lightmaster lightmaster added the enhancement New feature or request label Mar 12, 2021
@UnchartedBull
Copy link
Owner

Will be fixed by the linked PR. It doesn't add a configurable timeout, but rather OctoDash will automatically exit sleep once OctoPrint is connected. You're still being shown an error after 15s (20s if you use one of the integrated PSU controls), but it will switch over to main view any time OctoPrint connects.

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

Successfully merging a pull request may close this issue.

2 participants