xblax / flashforge_ad5m_klipper_mod

Unoffical mod for Flashforge Adventurer 5M (Pro) 3D printers to run Moonraker, custom Klipper, Mainsail & Fluidd
GNU General Public License v3.0
92 stars 5 forks source link

klipperscreen: Wifi does not always show up on klipperscreen after reboot #38

Closed consp closed 2 months ago

consp commented 3 months ago

Sometimes no channels show up, most likely due to an empty response from iwlist or non-zero exit code or process timeout.

Temporary fix: Go back, wait a few seconds, enter wifi screen and wait for about 10s.

consp commented 2 months ago

issue is an empty /var/log/iwd, needs a try/catch.

consp commented 2 months ago

This is probably due to iwd not having a populated list of networks in range yet. I guess it's not a bug but a feature since it's not finished scanning.

I also notices that having a ton of networks in range might blind it to your local one.

Maybe not, see #69

consp commented 2 months ago

Probably fixed with #69 see https://github.com/consp/KlipperScreen/commit/bcb160c52ff988da25d01ba734dd3db2c27052cd and https://github.com/xblax/flashforge_adm5_klipper_mod/commit/8a305849bfb5255628dbe129dc87669be1e7d06b