NebraLtd / hm-config

Helium Miner Config Container
https://nebra.io/hnt
MIT License
13 stars 20 forks source link

Duplicate Wi-Fi SSIDs sometimes show. #15

Closed ryanteck closed 3 years ago

ryanteck commented 3 years ago

Reported by @suprnrdy

It looks possibly in cases of mesh networks or multiple SSIDs NMCLI detects these as the induvidual networks.

To-Do: If possible merge SSIDs that are the same together.

https://media.discordapp.net/attachments/803988836643241984/827577146767441920/image0.png?width=317&height=686 image

ryanteck commented 3 years ago

This one should be quite easy to resolve, by checking to see if the SSID already exists in the array at https://github.com/NebraLtd/helium-miner-config/blob/main/config_program.py#L244

and

https://github.com/NebraLtd/helium-miner-config/blob/main/config_program.py#L246

ryanteck commented 3 years ago

https://github.com/NebraLtd/hm-config/commit/6b05a0f5aec1ae96be125511fb637f7b8dd98a4b Should resolve this issue.