House on fire flow

Let’s assume the house is on fire and the power is still on (I know it is an assumption :upside_down_face:) I would like to start a few events

  • First I want to send all HA users in my group/house a critical notification (just in case they have not heard the smoke/fire alarm… or in case they are not at home)
  • Turn all lights on
  • power off all smart power plugs
  • turn of the central ventilation
  • open all curtains and shutters

The smoke alarm I use are the Fibaro FGSD-002 on every floor.
I trigger the smoke alarm state and the air temperature to send the notifcations.
Lights on, power plugs, central box ventilation are pretty simple to group and turn off/on but I’m not sure how to activate the shutters. I have only Somfy shutters IO with Connexoon box integrated in HA.
Can some-one help me with the correct node to use with my shutters (open, close and %position)?

Thanks a lot

I dont have any help for the flow, but I would add that if you have smart locks, to unlock the doors as well

1 Like

Yes thats good for the thieves! Put a smoke cannon in the mailopening and good to go :rofl:

2 Likes

No smartlock in my house :sunglasses:
I already don’t like the dentist

3 Likes

By any chance… do you have the “output” of the events state nod for the fibaro smoke detector?

Thus do you know what it sends out when smoke is detected? on? true? other?

I ask this because I have another smoke detector I use and “all” outputs triggered my flow, including “unavailable”… But I have never really seen the real payload to use.

I have bought a smoke detector spray to test it but thought to ask you since you use it in node-red.

I have red the manual/tech details of the Fibaro smoke sensor and validated it with several treads.
The smoke sensor will report as a default value: 0 and reports 255 upon smoke alarm
sensor.fgsd002_smoke_sensor_smoke
And the same counts for temperature: > 55C might be caused by fire
So I have created (and it might be done more smart) for each detector 2 flows: 1 when the state changes from 0 to 255 and one with the temperature going > 55 C degrees

Have you tested if this really works? If smoke is detected? Can you share the configuration of the flow?

actually I have not tested the smoke alarm yet. Not sure how I can test it with actual smoke (don’t know if pressing the test button or actual smoke gives the same output)

[{"id":"fe5fc582.a018d8","type":"group","z":"f46cdefa.ce656","style":{"stroke":"#2e333a","stroke-opacity":"1","fill":"#2e333a","fill-opacity":"0.75","label":true,"label-position":"nw","color":"#a4a4a4"},"nodes":["6108afc9.99691","1412e9c9.62cc76","17ea995.4492e67","12ec3196.7f9cde","967aca5e.728fc8","d392e135.fc2fb"],"x":34,"y":19,"w":752,"h":262},{"id":"6108afc9.99691","type":"server-state-changed","z":"f46cdefa.ce656","g":"fe5fc582.a018d8","name":"SMOKE sensor livingroom","server":"3c5076fb.e901ba","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.fgsd002_smoke_sensor_smoke","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"255","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":170,"y":60,"wires":[["1412e9c9.62cc76","12ec3196.7f9cde"],[]]},{"id":"1412e9c9.62cc76","type":"api-call-service","z":"f46cdefa.ce656","g":"fe5fc582.a018d8","name":"Notify MY iPhone","server":"3c5076fb.e901ba","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_iphone_van_me","entityId":"","data":"{\"title\":\"ALERT!\",\"message\":\"Rook ALARM woonkamer\",\"data\":{\"push\":{\"sound\":{\"critical\":1,\"name\":\"default\",\"volume\":1}}}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":640,"y":60,"wires":[[]],"icon":"node-red-contrib-alarm/alarm.png"},{"id":"17ea995.4492e67","type":"inject","z":"f46cdefa.ce656","g":"fe5fc582.a018d8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":360,"y":160,"wires":[["1412e9c9.62cc76","967aca5e.728fc8","d392e135.fc2fb"]]},{"id":"12ec3196.7f9cde","type":"api-call-service","z":"f46cdefa.ce656","g":"fe5fc582.a018d8","name":"Notify WIFE iPhone","server":"3c5076fb.e901ba","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_iphone_van_wife","entityId":"","data":"{\"title\":\"ALERT!\",\"message\":\"Rook ALARM woonkamer\",\"data\":{\"push\":{\"sound\":{\"critical\":1,\"name\":\"default\",\"volume\":1}}}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":640,"y":120,"wires":[[]],"icon":"node-red-contrib-alarm/alarm.png"},{"id":"967aca5e.728fc8","type":"api-call-service","z":"f46cdefa.ce656","g":"fe5fc582.a018d8","name":"Notify KID1 iPhone","server":"3c5076fb.e901ba","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_iphone_van_kid1","entityId":"","data":"{\"title\":\"ALERT!\",\"message\":\"Rook ALARM woonkamer\",\"data\":{\"push\":{\"sound\":{\"critical\":1,\"name\":\"default\",\"volume\":0.5}}}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":640,"y":180,"wires":[[]],"icon":"node-red-contrib-alarm/alarm.png"},{"id":"d392e135.fc2fb","type":"api-call-service","z":"f46cdefa.ce656","g":"fe5fc582.a018d8","name":"Notify KID2 iPhone","server":"3c5076fb.e901ba","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_iphone_van_kid2","entityId":"","data":"{\"title\":\"ALERT!\",\"message\":\"Rook ALARM woonkamer\",\"data\":{\"push\":{\"sound\":{\"critical\":1,\"name\":\"default\",\"volume\":0.5}}}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":650,"y":240,"wires":[[]],"icon":"node-red-contrib-alarm/alarm.png"},{"id":"3c5076fb.e901ba","type":"server","name":"HomeAssistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

not sure if this will work with the Fibaro and not sure if I will buy this for a simple test (when 1 works, the others in my house will also work)
The funny thing here is when I order it at Amazon.de it will cost me around 11EU (7.45 for the spray and approx 4eu delivery to NL). When I order this at Amazon.nl it will cost me 23EUR with almost 16eu delivery… (did I say funny?.. that was sarcasm :face_with_raised_eyebrow:)

Dont have prime ?

Tested with smoke. Only 2 nodes give a message:

sensor.fgsd002_smoke_sensor_smoke
255 (smoke)
0 (no smoke)

binary_sensor.fgsd002_smoke_sensor_smoke_alarm_smoke_detected
on (smoke)
off (no smoke)

So at least the sensor and it’s value I used for the flows are correct.
Thank you for validating

Hi,

I have setup almost the same flow in node red.
When smoke is detected (Xiaomi Honeywell detectors) all covers (Somfy IO connected to Connexoon) are opened (Call service node, Service open_cover). All lights turned on (max brightness) and as final step, all Alexa devices are sending message to leave the house (this is running in a 20 second loop for 1 hour).

I had one issue with the covers (I have 12) that when I mass closed/opened them some of them didn’t respond (to many requests at once ??). I solved this with a delay of 5 seconds between action of each cover.