SOTAmat / SOTAcat

CAT control for Elecraft KX radios and SOTAMAT
https://sotamat.com
Other
9 stars 2 forks source link

Scan mode on Web UI #34

Open poynting opened 3 months ago

poynting commented 3 months ago

As a user, for the currently displayed spots (respecting any filters the user may have enabled, as filtering is added), provide a scanning mode whereby the SOTAcat automatically advances through the spots, dwelling on each frequency/mode for a user-defined amount of time. I would expect this would be implemented on the SOTAcat web UI using features already available to select frequency and mode from spots. I don't think any SOTAcat changes outside of the web UI / Javascript are required.

This would be provided as a button which normally says "Scan" or "Start Scanning" when not in scan mode. Once clicked, the text on the button might change to "Stop" or "Stop Scanning." Once a scan is started, the SOTAcat (Web UI JS) would command the radio to go to the frequency and mode of the first spot in the table. After dwell time seconds, the next entry in the table would be selected automatically, and so on. The user can stop scanning at any time by pressing the scan button again.

Special consideration would need to be made for getting new spots while scanning. As a starting point, we could update after the entire visible list has been scanned and scanning is about to re-start at the top.

jeffkowalski commented 3 months ago

I get it now! Thank you for the clear explanation. This won't be a trivial implementation, so I'll need to think about it and likely attend to other preceding issues, but I do love the idea and value your write-up.