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

Pico loosing connection to wlan #9

Open
schtoffer opened this issue May 15, 2023 · 1 comment
Open

Pico loosing connection to wlan #9

schtoffer opened this issue May 15, 2023 · 1 comment

Comments

@schtoffer
Copy link

Sometimes, after hours or days, my pico running your software, can get disconnected to the wlan. It seems as it does not attempt to log back on should this happen. The problem is solved if I shut down power supply, and boot up again.

I've tried to look through the logic of your code, but I am a newbie, and struggle to find this ongoing test. What I mean is explained in the following psudo code:

While program is running:
    if connection_status == connected:
        pass
    else:
        initiate_new_connection_to_wlan_method()

You could consider how many attempts should be done before another action where to take place. E.g. shutdown, alert, or similar.

Now it could very well be that you already have this logic implemented in your code. And that the issue is on my local network or router set-up. If so, I would be grateful to hear back from you.

If, however you don't have this logic implemented, I would welcome you to patch this feature or point me to the lines where I should look at tweaking it for myself.

Love your framework by the way! I am well on my way to get the smartest garage in the entire neighbourhood 🥇

@mirkin
Copy link
Collaborator

mirkin commented Mar 16, 2024

This should be solved now. Thank you for taking the time to comment.

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

2 participants