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

Add a network monitoring for wifi connections #729

Merged
merged 1 commit into from
Mar 15, 2021

Conversation

hawkeyexp
Copy link
Contributor

Hi, i noticed from time to time (primary on very long prints with several hours) my pi has left the connection and was not comming back but print was still running until it's finish.
So i decided to create this as a prevention mechanism which monitors the connection and if needed it will restart the connection without restarting the whole system - so no print will be interrupted and system becomes reachable again :-)

Hope you like it!

@guysoft guysoft merged commit 432e02f into guysoft:devel Mar 15, 2021
@guysoft
Copy link
Owner

guysoft commented Mar 15, 2021

Looks really cool!
Will merge, but not sure how it would help when debugging for other users. Did it help you locate the issue or just manage disconnects?

@hawkeyexp
Copy link
Contributor Author

It doesn't help to debug the issue and i can't really locate the final reason cause my system is running fully headless but it prevent's from system not reachable.
A possible reason is the really heavy count of networks from neighbours etc which is sometimes > 20!

@cp2004
Copy link
Contributor

cp2004 commented Mar 22, 2021

FWIW, there is a fairly large thread on the forums with people having random network disconnects. No single solution yet, only things that seem to be working are these regular checks. Not DHCP, not the connection, sometimes can be pinged, sometimes not, just general flakiness.

https://community.octoprint.org/t/octopi-losing-network-connection-mid-print/16315

Anyway, when this comes into a release, it will hopefully be usable to suggest to people.

@guysoft
Copy link
Owner

guysoft commented Mar 22, 2021

@cp2004 Thanks for the context.

@guysoft guysoft mentioned this pull request Feb 27, 2022
@guysoft guysoft mentioned this pull request Aug 4, 2022
@guysoft guysoft mentioned this pull request Oct 27, 2022
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

Successfully merging this pull request may close these issues.

3 participants