A BIG thank you to @cascha42 for the initial program!
- Moved important variable settings out of the main program and into a config file.
- Updated code base to work with the new Brandmeister API version (v2).
- Fixed the jq parsing errors.
- Minor usability and UI changes.
- Added caching of TS, TG and hotspot information. Any changes made to the timeslots and talkgroups will trigger a refresh of the information, otherwise the program uses the cache file.
- Added option to force cache refresh.
- Added an option to show basic hotspot information.
- Added a double confirmation to the "Drop ALL Static TGs" menu option.
[ ] Move to dialog or zenity
[ ] Additional menu options (there's a LOT of things you can do with the API)
[ ] Merge current code with original code base.
All commits to this repository are now signed. You can download the public key from HERE.
git clone https://github.com/azfirefighter/bm-hotspot-cli.git && cd bm-hotspot-cli
chmod +x bm-hotspot-cli.sh
1. Add your BM API key to bm-hotspot-cli.conf between the single quotes at APIKEY=''
2. Add your BM hotspot ID to bm-hotspot-cli.conf betwen the single quotes at HOTSPOT=''
Feel free to log an issue if you run into one or suggest a new feature.