The smoke detector can’t do it by itself.
You have to configure two things in Homewizard additionally.
- IP switch for every smoke detector
The IP switch will send a http get command to homey (IP=Homeys IP):
http://192.168.xx.xx/api/app/com.internet/Rauchmelder/Schlafzimmer
smokedetector = Rauchmelder (same in every command)
room name = Schlafzimmer (room where the smoke detector is placed)
- Task which triggers the IP switch for every smoke detector
In homey you can now receive the incoming http get:
In the WHEN card you use the first tag to identify that the command belongs to a smoke alarm.
a) Rauchmelder=smokedetector from topic 1. above.
In the AND card you use the second tag to identify the room/smokedetector which sends the alarm
b) Schlafzimmer=room name from topic 2. above.
In the THEN card you can do what you want of course. I switch on all lights in the house. Open all raffstores/shutters. And send the room name to all sonos boxes in the house (sonos say app).
The main benefit is that you have only a minimal delay between alarm time and homeys reaction.
Attention: Homewizard doesn’t support HTTPS. Nevertheless you can activate the authorization option in the HTTP request App but then you have to make sure to use the whitelist with the Homewizard IP in addition.
URL example: http://192.168.xx.xx/api/app/com.internet/whitelist/Rauchmelder/Schlafzimmer