balena-labs-research / python-wifi-connect

An API for controlling Wi-Fi connections on balena devices.
MIT License
15 stars 7 forks source link

Cannot scan for new wi-fi connections after 24hrs #1

Closed maggie44 closed 1 year ago

maggie44 commented 2 years ago

An issue in the wrapper for NetworkManager means after 24 hours of the devices running you may not be able to scan for new networks: https://github.com/seveas/python-networkmanager/issues/87

A fix has been found, but it hasn't been merged for some time. As soon as it is will bump the version and apply the fix: https://github.com/seveas/python-networkmanager/pull/85

In the meantime, I have dropped to 2.1 which resolves this issue.

maggie44 commented 2 years ago

Lowered to 2.1 for now. Not expecting any issues with device compatibility as haven't seen any reported on other projects. Can always up the version again if there is, but as this incompatibility is unlikely, and will only affect a small number of users, seemed better to overcome this issue that is going to affect everyone.

https://github.com/maggie0002/balena-py-wifi-connect/commit/3de3692a4233ce3fbcaae01215596ae54718a634