Everything related to EV-04 Alarm push buttons.
|
|
1 rok pred | |
|---|---|---|
| README.md | 1 rok pred | |
| RetreiveUnifiAPMAC.sh | 1 rok pred |
This script retrieves the 2.4GHz radio MAC addresses of UniFi access points using the UniFi Controller API and SSH. It requires certain dependencies and appropriate credentials to function correctly.
Ensure the following applications are installed on your system:
bashsshpassjqcurlUpdate the script with your UniFi Controller credentials and SSH credentials.
CONTROLLER_URL="https://your-controller-url:8443" # Replace with your UniFi Controller Domain name or IP:PORT
USERNAME="your-username" # Replace with your UniFi Controller username
PASSWORD="your-password" # Replace with your UniFi Controller password
SITE_NAME="default" # Replace with your site name if different
SSH_USERNAME="your-username" # Replace with your SSH username
SSH_PASSWORD="your-password" # Replace with your SSH password
Execute the script using bash:
./your-script-name.sh
The script will:
sshpass, jq, curl).This script is licensed under the BSD 0-Clause License.
© 2024 Dennis Juhler Aagaard <dja@radixadm.dk>
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Script made by Dennis Juhler Aagaard
If you encounter any issues or have questions, please reach out to [contact email].
The author of this script is not liable for any damages or issues that arise from using this script. Use it at your own discretion and ensure you have backups of your configurations and data before proceeding.