Skip to content

Investigate wifi robustness #13

@jonahshader

Description

@jonahshader

We have not tested what happens when the wifi cuts out yet. The esp32 might auto-reconnect or we might need to reconnect manually. wifi.keep_connected() should be called periodically, but only when the wifi is properly configured since it is blocking and would make the system unresponsive as it tries to connect.

Maybe add a function _is_valid to indicate that the wifi config is believed to be valid. "valid" here means that the wifi has been connected to before. only run keep_connected when _is_valid is True.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions