https://github.com/math77fr/siren-neo-nas-ab02b2-for-z2m
Home Assistant / Trigger a NEO NAS-AB02B2 siren under Zigbee2MQTT
https://github.com/math77fr/siren-neo-nas-ab02b2-for-z2m
home-assistant neo-nas-ab02b2 script siren z2m zigbee2mqtt
Last synced: 3 months ago
JSON representation
Home Assistant / Trigger a NEO NAS-AB02B2 siren under Zigbee2MQTT
- Host: GitHub
- URL: https://github.com/math77fr/siren-neo-nas-ab02b2-for-z2m
- Owner: math77FR
- License: mit
- Created: 2025-02-27T16:11:09.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-27T17:01:19.000Z (3 months ago)
- Last Synced: 2025-02-27T22:54:53.582Z (3 months ago)
- Topics: home-assistant, neo-nas-ab02b2, script, siren, z2m, zigbee2mqtt
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Trigger NEO Siren Script for Home Assistant
This repository provides two approaches to trigger a NEO NAS-AB02B2 siren using Zigbee2MQTT integration within Home Assistant.
## 🚦 Implementation Options
### 1. Call the Script Directly in Automations
In this approach, you call the script (`script_neo_siren.yaml`) directly within each automation that triggers the siren.**Pros:**- Setup the siren parameters (melody, duration, volume) individually for each automation.- Greater flexibility if different automations require different siren behaviors.
**How to Implement:**- Add the script call in your automation and configure the parameters manually.
**Detailed Explanation:** [README_script.md](README_script.md)
### 2. Use a Blueprint to Create a Preconfigured Script
With this approach, you create a blueprint that generates a script with fixed parameters (melody, duration, volume, etc.). The generated script can then be used in multiple automations.**Pros:**- Centralized setup of siren parameters in the blueprint.- Easier maintenance when using the siren in multiple automations.
**How to Implement:**- Define a blueprint that sets up the siren script.- Call the generated script in your automations.
**Detailed Explanation:** [README_Blueprint.md](README_Blueprint.md)
## 💡 Which Approach to Choose?
- **Option 1** is ideal if you need specific siren behaviors for different scenarios.
- **Option 2** is recommended if you want a consistent siren behavior across multiple automations with minimal maintenance.## 🤝 Contributions
Feel free to submit issues, feature requests, or pull requests to enhance this script!## 📜 License
This project is licensed under the MIT License.