Just wanted to share quick video I shot of what I made as an alarm system/piece of mind. This is by far the thing that took the longest to program and work out all the bugs in. And I’m pretty proud of it! so I wanted to share and maybe give someone else some ideas as I got some of these ideas from others as well.
5 Likes
Dang man, that is awesome!
“Grab the gun” - perfect
I’d turn right around if I heard that lol. You should also have Alexa play, “Welcome to the Jungle”, strobe all your lights and lock the doors.
Kidding, that was really cool!
1 Like
I always wanted mine to start playing the halo theme song.
1 Like
Well ya know, I had thought maybe adding some smoke machines and strobe lights. When trigger is tripped, smoke and strobes come on; house music starts blaring. I mean talk about utterly confusing the bad guy…
1 Like
Mind sharing your flow on this? I’d like to replicate and have something similar started, but realistically is not nearly as sophisticated.
Thanks!
Good luck making sense of it. I have a hard enough time when I have to modify something; and I created it!
[{"id":"60df3a92.c6d394","type":"subflow","name":"Standard notification bar theme","info":"","category":"","in":[{"x":200,"y":315,"wires":[{"id":"58133531.eba57c"}]}],"out":[{"x":497,"y":315,"wires":[{"id":"58133531.eba57c","port":0}]}],"env":[],"color":"#DDAA99"},{"id":"58133531.eba57c","type":"change","z":"60df3a92.c6d394","name":"Pulse blue","rules":[{"t":"set","p":"parameter","pt":"msg","to":"16","tot":"num"},{"t":"set","p":"value","pt":"msg","to":"100600459","tot":"num"},{"t":"set","p":"size","pt":"msg","to":"4","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":358,"y":315,"wires":[[]]},{"id":"b0f0b9da.7300e8","type":"subflow","name":"MQTT write","info":"","category":"","in":[{"x":110,"y":135,"wires":[{"id":"52b23695.aa3bc8"}]}],"out":[],"env":[],"color":"#DDAA99"},{"id":"52b23695.aa3bc8","type":"change","z":"b0f0b9da.7300e8","name":"Set topic","rules":[{"t":"set","p":"topic","pt":"msg","to":"zwave/_CLIENTS/ZWAVE_GATEWAY-Mosquitto/api/sendCommand/set","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":249,"y":135,"wires":[["3ed229b9.e2dd56"]]},{"id":"3ed229b9.e2dd56","type":"mqtt out","z":"b0f0b9da.7300e8","name":"","topic":"","qos":"","retain":"","broker":"d66e875.2455a78","x":419,"y":135,"wires":[]},{"id":"d66e875.2455a78","type":"mqtt-broker","name":"re","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"3985bb90.d67e54","type":"subflow","name":"Inovelli scenes ZwaveJS","info":"","category":"","in":[{"x":65,"y":360,"wires":[{"id":"fe008dc7.1d271"}]}],"out":[{"x":749,"y":180,"wires":[{"id":"6592ff44.c9c2d","port":0}]},{"x":749,"y":225,"wires":[{"id":"6592ff44.c9c2d","port":1}]},{"x":749,"y":270,"wires":[{"id":"6592ff44.c9c2d","port":2}]},{"x":749,"y":315,"wires":[{"id":"6592ff44.c9c2d","port":3}]},{"x":749,"y":360,"wires":[{"id":"6592ff44.c9c2d","port":4}]},{"x":749,"y":405,"wires":[{"id":"6592ff44.c9c2d","port":5}]},{"x":749,"y":450,"wires":[{"id":"6592ff44.c9c2d","port":6}]},{"x":758,"y":522,"wires":[{"id":"54e15801.d11ee8","port":0}]},{"x":758,"y":567,"wires":[{"id":"54e15801.d11ee8","port":1}]},{"x":758,"y":612,"wires":[{"id":"54e15801.d11ee8","port":2}]},{"x":758,"y":657,"wires":[{"id":"54e15801.d11ee8","port":3}]},{"x":758,"y":702,"wires":[{"id":"54e15801.d11ee8","port":4}]},{"x":758,"y":747,"wires":[{"id":"54e15801.d11ee8","port":5}]},{"x":758,"y":792,"wires":[{"id":"54e15801.d11ee8","port":6}]},{"x":758,"y":909,"wires":[{"id":"31e08d55.b38372","port":0}]}],"env":[],"color":"#DDAA99","outputLabels":["Up 1x","Up 2x","Up 3x","Up 4x","Up 5x","Up held","Up released","Down 1x","Down 2x","Down 3x","Down 4x","Down 5x","Down held","Down released","Config tap"]},{"id":"fe008dc7.1d271","type":"switch","z":"3985bb90.d67e54","name":"Scene ID","property":"payload.event.property_key_name","propertyType":"msg","rules":[{"t":"eq","v":"001","vt":"num"},{"t":"eq","v":"002","vt":"num"},{"t":"eq","v":"003","vt":"num"}],"checkall":"true","repair":false,"outputs":3,"x":231,"y":360,"wires":[["54e15801.d11ee8"],["6592ff44.c9c2d"],["31e08d55.b38372"]]},{"id":"6592ff44.c9c2d","type":"switch","z":"3985bb90.d67e54","name":"Scene Value (Up)","property":"payload.event.value_raw","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"},{"t":"eq","v":"3","vt":"num"},{"t":"eq","v":"4","vt":"num"},{"t":"eq","v":"5","vt":"num"},{"t":"eq","v":"6","vt":"num"},{"t":"eq","v":"2","vt":"num"},{"t":"eq","v":"1","vt":"str"}],"checkall":"true","repair":false,"outputs":7,"x":558,"y":270,"wires":[[],[],[],[],[],[],[]],"outputLabels":["Up 1x","Up 2x","Up 3x","Up 4x","Up 5x","Up hold",null]},{"id":"31e08d55.b38372","type":"switch","z":"3985bb90.d67e54","name":"Scene Value (Config)","property":"payload.event.value_raw","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":560,"y":909,"wires":[[]],"outputLabels":["Single Config Tap"]},{"id":"54e15801.d11ee8","type":"switch","z":"3985bb90.d67e54","name":"Scene Value (Down)","property":"payload.event.value_raw","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"},{"t":"eq","v":"3","vt":"num"},{"t":"eq","v":"4","vt":"num"},{"t":"eq","v":"5","vt":"num"},{"t":"eq","v":"6","vt":"num"},{"t":"eq","v":"2","vt":"num"},{"t":"eq","v":"1","vt":"str"}],"checkall":"true","repair":false,"outputs":7,"x":550,"y":639,"wires":[[],[],[],[],[],[],[]],"outputLabels":["Down 1x","Down 2x","Down 3x","Down 4x","Down 5x","Down held",""]},{"id":"15848ee1.f54db1","type":"comment","z":"3985bb90.d67e54","name":"Edit to raw values. 3-6-21","info":"","x":156,"y":81,"wires":[]},{"id":"54326eea.b4b64","type":"comment","z":"3985bb90.d67e54","name":"Added up released and down released 3-21-21","info":"","x":226,"y":45,"wires":[]},{"id":"a435ecce.f467b","type":"tab","label":"Night mode","disabled":false,"info":""},{"id":"86f01847.62f0f8","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode on?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":107,"y":513,"wires":[["6520ee9e.1eee"],[]]},{"id":"17841ec9.dd3eb1","type":"switch","z":"a435ecce.f467b","name":"Master bedroom light switch","property":"payload.event.node_id","propertyType":"msg","rules":[{"t":"eq","v":"5","vt":"num"},{"t":"eq","v":"6","vt":"str"},{"t":"eq","v":"7","vt":"str"},{"t":"eq","v":"35","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":157,"y":126,"wires":[["2c96bc22.c51d94"],["2c96bc22.c51d94"],["2c96bc22.c51d94"],["2c96bc22.c51d94"]]},{"id":"dd9b91e0.6537","type":"api-call-service","z":"a435ecce.f467b","name":"Turn on night mode","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.night_mode","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":712,"y":135,"wires":[["3218be7.fa5bb42"]]},{"id":"2c95d4e6.632b0c","type":"server-state-changed","z":"a435ecce.f467b","name":"Ems door opened?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.open_close_em_door","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":118,"y":693,"wires":[["edb6096f.9039c8"],[]]},{"id":"e2ba59e9.af6be8","type":"ha-wait-until","z":"a435ecce.f467b","name":"Wait for Ems door to close again","server":"ab3e2c53.e3491","outputs":2,"entityId":"binary_sensor.open_close_em_door","entityIdFilterType":"exact","property":"state","comparator":"is","value":"off","valueType":"str","timeout":"1","timeoutType":"num","timeoutUnits":"hours","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":915,"y":693,"wires":[["192d62c3.7ad62d"],[]]},{"id":"73178d9b.327244","type":"bigtimer","z":"a435ecce.f467b","outtopic":"","outpayload1":"ON","outpayload2":"OFF","name":"6am?","comment":"","lat":0,"lon":0,"starttime":"360","endtime":"375","starttime2":0,"endtime2":0,"startoff":0,"endoff":0,"startoff2":0,"endoff2":0,"offs":0,"outtext1":"","outtext2":"","timeout":1440,"sun":true,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"jan":true,"feb":true,"mar":true,"apr":true,"may":true,"jun":true,"jul":true,"aug":true,"sep":true,"oct":true,"nov":true,"dec":true,"day1":0,"month1":0,"day2":0,"month2":0,"day3":0,"month3":0,"day4":0,"month4":0,"day5":0,"month5":0,"day6":0,"month6":0,"day7":0,"month7":0,"day8":0,"month8":0,"day9":0,"month9":0,"day10":0,"month10":0,"day11":0,"month11":0,"day12":0,"month12":0,"d1":0,"w1":0,"d2":0,"w2":0,"d3":0,"w3":0,"d4":0,"w4":0,"d5":0,"w5":0,"d6":0,"w6":0,"xday1":0,"xmonth1":0,"xday2":0,"xmonth2":0,"xday3":0,"xmonth3":0,"xday4":0,"xmonth4":0,"xday5":0,"xmonth5":0,"xday6":0,"xmonth6":0,"xd1":0,"xw1":0,"xd2":0,"xw2":0,"xd3":0,"xw3":0,"xd4":0,"xw4":0,"xd5":0,"xw5":0,"xd6":0,"xw6":0,"suspend":false,"random":false,"randon1":false,"randoff1":false,"randon2":false,"randoff2":false,"repeat":true,"atstart":true,"odd":false,"even":false,"x":77,"y":333,"wires":[["fbd7ffd9.8b4df"],[],[]]},{"id":"fbd7ffd9.8b4df","type":"switch","z":"a435ecce.f467b","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"ON","vt":"str"},{"t":"eq","v":"OFF","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":227,"y":333,"wires":[["4144e738.b3f358"],[]]},{"id":"d85accd7.f8f94","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode green","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode_green","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":137,"y":1253,"wires":[["9e3bc403.946a08","5b1f6c62.022864","f58a3e6b.9da0c","5b56d16a.9c9ae","401ad8cf.452878"],[]]},{"id":"ab8b6224.edda8","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode purple","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode_purple","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":137,"y":1433,"wires":[["5e780fef.02124","9e3bc403.946a08","5b1f6c62.022864","42149fa6.a01fd"],[]]},{"id":"7104f5aa.faeccc","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode red","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode_red","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":127,"y":1373,"wires":[["5e780fef.02124","9e3bc403.946a08","f58a3e6b.9da0c","13a7f188.82439e","33fee803.94bfc8"],[]]},{"id":"1146744c.ade61c","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode yellow","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode_yellow","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":137,"y":1313,"wires":[["5e780fef.02124","5b1f6c62.022864","f58a3e6b.9da0c","13a7f188.82439e","d0e6dcfe.c4291"],[]]},{"id":"7aeceb3a.1a6144","type":"api-call-service","z":"a435ecce.f467b","name":"Night mode green","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.night_mode_green","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":739,"y":576,"wires":[["1c399b1e.a43b65"]]},{"id":"fc667784.32b048","type":"api-call-service","z":"a435ecce.f467b","name":"Night mode yellow","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.night_mode_yellow","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":622,"y":441,"wires":[[]]},{"id":"11820961.f64ba7","type":"api-call-service","z":"a435ecce.f467b","name":"Night mode purple","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.night_mode_purple","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":603,"y":687,"wires":[["e2ba59e9.af6be8"]]},{"id":"5e780fef.02124","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off night mode green","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode_green","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":187,"y":1593,"wires":[[]]},{"id":"9e3bc403.946a08","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off night mode yellow","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode_yellow","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":184,"y":1638,"wires":[[]]},{"id":"f58a3e6b.9da0c","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off night mode purple","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode_purple","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":197,"y":1713,"wires":[[]]},{"id":"5b1f6c62.022864","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off night mode red","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode_red","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":187,"y":1673,"wires":[[]]},{"id":"e4181dc7.e6af5","type":"api-call-service","z":"a435ecce.f467b","name":"Turn on master bedroom closet light","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.master_bedroom_closet","data":"{\"brightness_pct\":10}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":407,"y":873,"wires":[["5e35c854.ff5368"]]},{"id":"edb6096f.9039c8","type":"api-current-state","z":"a435ecce.f467b","name":"is night mode on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.night_mode","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":352,"y":693,"wires":[["11820961.f64ba7"],["ef1eac30.d2ed9"]]},{"id":"5e35c854.ff5368","type":"api-call-service","z":"a435ecce.f467b","name":"Turn on hallway lights","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.upstairs_hall_slave","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":697,"y":873,"wires":[[]]},{"id":"e1aca1a5.9324e","type":"stoptimer","z":"a435ecce.f467b","duration":"1","units":"Second","payloadtype":"num","payloadval":"0","name":"","x":1449,"y":1773,"wires":[[],[]]},{"id":"b7a4bed8.7154f","type":"stoptimer","z":"a435ecce.f467b","d":true,"duration":"3","units":"Second","payloadtype":"num","payloadval":"0","name":"","x":1692,"y":1773,"wires":[[],[]]},{"id":"bf2a636.adef2a","type":"server-state-changed","z":"a435ecce.f467b","name":"Front door open?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.open_close_front_door","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":117,"y":1873,"wires":[["9bec06eb.dee9b8"],[]]},{"id":"14be178e.a765d8","type":"server-state-changed","z":"a435ecce.f467b","name":"Basement door open?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.open_close_basement_door","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":137,"y":1913,"wires":[["db993a86.f25ba8"],[]]},{"id":"8c419b26.8e08d8","type":"server-state-changed","z":"a435ecce.f467b","name":"Garage door open?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.open_close_garage_door","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":127,"y":1953,"wires":[["52747753.c59638"],[]]},{"id":"db993a86.f25ba8","type":"api-current-state","z":"a435ecce.f467b","name":"is night mode on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.night_mode","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":387,"y":1913,"wires":[["2a6decfc.405f14"],[]]},{"id":"2a6decfc.405f14","type":"api-call-service","z":"a435ecce.f467b","name":"Night mode red","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.night_mode_red","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":900,"y":1989,"wires":[[]]},{"id":"9bec06eb.dee9b8","type":"api-current-state","z":"a435ecce.f467b","name":"is night mode on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.night_mode","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":387,"y":1873,"wires":[["2a6decfc.405f14","275c030d.19654c"],[]]},{"id":"52747753.c59638","type":"api-current-state","z":"a435ecce.f467b","name":"is night mode on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.night_mode","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":387,"y":1953,"wires":[["2a6decfc.405f14"],[]]},{"id":"7b89d139.d4bee","type":"server-state-changed","z":"a435ecce.f467b","d":true,"name":"Night mode","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":124,"y":1197,"wires":[[],["f58a3e6b.9da0c","5b1f6c62.022864","9e3bc403.946a08","5e780fef.02124"]]},{"id":"15c347b7.d59838","type":"server-state-changed","z":"a435ecce.f467b","name":"Front door open?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.open_close_front_door","entityidfiltertype":"exact","outputinitially":true,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":107,"y":2513,"wires":[["64c3434f.53487c"],["f5882aa1.9110d8"]]},{"id":"58b665f5.75720c","type":"server-state-changed","z":"a435ecce.f467b","name":"Basement door open?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.open_close_basement_door","entityidfiltertype":"exact","outputinitially":true,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":127,"y":2573,"wires":[["64c3434f.53487c"],["2bf5e8fd.396938"]]},{"id":"b5770851.d74608","type":"server-state-changed","z":"a435ecce.f467b","name":"Garage door open?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.open_close_garage_door","entityidfiltertype":"exact","outputinitially":true,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":117,"y":2633,"wires":[["64c3434f.53487c"],["e13a5fe9.98519"]]},{"id":"e13a5fe9.98519","type":"api-current-state","z":"a435ecce.f467b","name":"Front door open?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"binary_sensor.open_close_front_door","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":337,"y":2633,"wires":[[],["875e6ec3.bc88f"]]},{"id":"2bf5e8fd.396938","type":"api-current-state","z":"a435ecce.f467b","name":"Garage door open?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"binary_sensor.open_close_garage_door","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":367,"y":2573,"wires":[[],["44645925.af5338"]]},{"id":"f5882aa1.9110d8","type":"api-current-state","z":"a435ecce.f467b","name":"Basement door open?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"binary_sensor.open_close_basement_door","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":347,"y":2513,"wires":[[],["51438706.65fc28"]]},{"id":"51438706.65fc28","type":"api-current-state","z":"a435ecce.f467b","name":"Garage door open?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"binary_sensor.open_close_garage_door","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":557,"y":2513,"wires":[[],["c0c2515b.455fb"]]},{"id":"875e6ec3.bc88f","type":"api-current-state","z":"a435ecce.f467b","name":"Basement door open?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"binary_sensor.open_close_basement_door","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":567,"y":2633,"wires":[[],["c0c2515b.455fb"]]},{"id":"44645925.af5338","type":"api-current-state","z":"a435ecce.f467b","name":"Front door open?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"binary_sensor.open_close_front_door","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":577,"y":2573,"wires":[[],["c0c2515b.455fb"]]},{"id":"c0c2515b.455fb","type":"api-call-service","z":"a435ecce.f467b","name":"ON: All doors closed helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.all_doors_closed","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":837,"y":2573,"wires":[[]]},{"id":"64c3434f.53487c","type":"api-call-service","z":"a435ecce.f467b","name":"OFF: All doors closed helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.all_doors_closed","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":807,"y":2513,"wires":[[]]},{"id":"6520ee9e.1eee","type":"api-current-state","z":"a435ecce.f467b","name":"All door closed?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.all_doors_closed","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":342,"y":513,"wires":[["826f7f92.32648"],["fc667784.32b048"]]},{"id":"d6362c48.8de77","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off fireplace","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"switch","service":"turn_off","entityId":"switch.fireplace","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":837,"y":513,"wires":[["78088b28.b6d344"]]},{"id":"13a7f188.82439e","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off night mode","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":172,"y":1755,"wires":[["803b49d5.08c9f8"]]},{"id":"881ead02.3dbfe","type":"api-call-service","z":"a435ecce.f467b","name":"ON Christinas lamp","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.master_bedroom_lamp_christina_side","data":"{\"brightness_pct\":1}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":347,"y":913,"wires":[["664c4ece.a8ab5"]]},{"id":"664c4ece.a8ab5","type":"api-call-service","z":"a435ecce.f467b","name":"ON Jims lamp","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.master_bedroom_lamp_jims_side","data":"{\"brightness_pct\":1}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":547,"y":913,"wires":[[]]},{"id":"a327d34c.331b7","type":"comment","z":"a435ecce.f467b","name":"All door closed boolean","info":"","x":137,"y":2473,"wires":[]},{"id":"1fec3ad.25527c5","type":"comment","z":"a435ecce.f467b","name":"Alexa speech red mode","info":"","x":137,"y":1833,"wires":[]},{"id":"452d9a90.bb5034","type":"comment","z":"a435ecce.f467b","name":"Night mode routine","info":"","x":137,"y":453,"wires":[]},{"id":"6e451e9c.fe9ac","type":"comment","z":"a435ecce.f467b","name":"If Em's door opens","info":"","x":127,"y":653,"wires":[]},{"id":"b9cfbd0b.98503","type":"comment","z":"a435ecce.f467b","name":"What to do if red mode turned on","info":"","x":177,"y":833,"wires":[]},{"id":"3315b40.84a434c","type":"comment","z":"a435ecce.f467b","name":"Set LED light bar colors","info":"","x":137,"y":1153,"wires":[]},{"id":"b80160aa.31efe","type":"comment","z":"a435ecce.f467b","name":"Turn off booleans","info":"","x":137,"y":1553,"wires":[]},{"id":"59192132.3caa","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode yellow","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode_yellow","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":117,"y":2241,"wires":[["7c08d2b2.2ec6fc","4271b8cf.7e41f8","6b0668ab.933588","7dc96bf8.916ff4","49e116df.d23ba8"],[]]},{"id":"7c08d2b2.2ec6fc","type":"api-current-state","z":"a435ecce.f467b","name":"Front door open?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"binary_sensor.open_close_front_door","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":378,"y":2214,"wires":[["c3b3f2f9.b7b33"],[]]},{"id":"4271b8cf.7e41f8","type":"api-current-state","z":"a435ecce.f467b","name":"Basement door open?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"binary_sensor.open_close_basement_door","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":397,"y":2298,"wires":[["99aba7ce.b87928"],[]]},{"id":"6b0668ab.933588","type":"api-current-state","z":"a435ecce.f467b","name":"Garage door open?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"binary_sensor.open_close_garage_door","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":387,"y":2338,"wires":[["d3cecf65.01ba5"],[]]},{"id":"26d55023.da21c","type":"comment","z":"a435ecce.f467b","name":"Alexa speech yellow mode","info":"","x":129,"y":2178,"wires":[]},{"id":"91b453fb.efe97","type":"comment","z":"a435ecce.f467b","name":"Turn off night mode in morning","info":"","x":167,"y":293,"wires":[]},{"id":"bdf38be2.b9e518","type":"server-state-changed","z":"a435ecce.f467b","name":"Front door locked?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"lock.front_door","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"locked","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":117,"y":2773,"wires":[["4974261b.c89268"],["6dc2b7af.611ff8"]]},{"id":"4974261b.c89268","type":"api-call-service","z":"a435ecce.f467b","name":"ON: front door locked helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.front_door_locked","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":382,"y":2754,"wires":[[]]},{"id":"6dc2b7af.611ff8","type":"api-call-service","z":"a435ecce.f467b","name":"OFF: front door locked helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.front_door_locked","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":392,"y":2808,"wires":[[]]},{"id":"826f7f92.32648","type":"api-current-state","z":"a435ecce.f467b","name":"Front door locked?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.front_door_locked","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":595,"y":513,"wires":[["d6362c48.8de77"],["fc667784.32b048"]]},{"id":"c3b3f2f9.b7b33","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak: front door open","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"35"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030204T1"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"The front door is open"},"devices":["G6G0XG11030204T1"]}}]}},"x":659,"y":2214,"wires":[[]]},{"id":"49e116df.d23ba8","type":"api-current-state","z":"a435ecce.f467b","name":"Front door locked?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.front_door_locked","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":388,"y":2259,"wires":[[],["e7b70a9d.588468"]]},{"id":"30ca9fad.60dbe","type":"api-call-service","z":"a435ecce.f467b","name":"Send alert to Jim","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_pixel_5_jim","entityId":"","data":"{\"title\":\"\",\"message\":\"Nightmode red alert\",\"data\":{\"sticky\":\"true\",\"priority\":\"Normal\",\"ttl\":0,\"tag\":\"tagname\",\"color\":\"red\"}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":337,"y":953,"wires":[[]]},{"id":"55a0888d.d76848","type":"api-call-service","z":"a435ecce.f467b","name":"Send alert to Christina","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_pixel_5_christina","entityId":"","data":"{\"title\":\"\",\"message\":\"Nightmode red alert\",\"data\":{\"sticky\":\"true\",\"priority\":\"Normal\",\"ttl\":0,\"tag\":\"tagname\",\"color\":\"red\"}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":357,"y":993,"wires":[[]]},{"id":"1dbf2366.52709d","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode red","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode_red","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":107,"y":893,"wires":[["e4181dc7.e6af5","881ead02.3dbfe","30ca9fad.60dbe","55a0888d.d76848"],[]]},{"id":"8471f4b1.0277c8","type":"api-call-service","z":"a435ecce.f467b","name":"Night mode green","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.night_mode_green","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1342,"y":792,"wires":[[]]},{"id":"e3ad3ed3.2f166","type":"ha-get-entities","z":"a435ecce.f467b","server":"ab3e2c53.e3491","name":"Get Lights That are On","rules":[{"property":"entity_id","logic":"starts_with","value":"light.","valueType":"str"},{"property":"entity_id","logic":"does_not_include","value":"light.loft_lamp, light.lamp1,light.kitchen_sink, light.porch, light.master_bedroom_light, light.master_bathroom_light, light.kitchen_cabinet_light_strip, light.kitchen_island_light_strip","valueType":"str"},{"property":"state","logic":"is","value":"on","valueType":"str"}],"output_type":"array","output_empty_results":true,"output_location_type":"msg","output_location":"payload","output_results_count":1,"x":146,"y":576,"wires":[["1edcfa2c.5eb2b6"]]},{"id":"1edcfa2c.5eb2b6","type":"switch","z":"a435ecce.f467b","name":"","property":"payload.length","propertyType":"msg","rules":[{"t":"gt","v":"0","vt":"num"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":348,"y":576,"wires":[["9b7e92cc.82d28"],["7aeceb3a.1a6144"]]},{"id":"9b7e92cc.82d28","type":"api-call-service","z":"a435ecce.f467b","name":"Turn Them Off","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"","data":"{\"entity_id\": $join(payload.entity_id,\",\")}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":521,"y":576,"wires":[["7aeceb3a.1a6144"]]},{"id":"4144e738.b3f358","type":"api-call-service","z":"a435ecce.f467b","name":"OFF: night mode","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":459,"y":369,"wires":[["f1146a53.b2a398"]]},{"id":"19ebfc43.829d54","type":"api-call-service","z":"a435ecce.f467b","name":"ON: night mode end helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.night_mode_end","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":959,"y":360,"wires":[["ee88fc59.e3491"]]},{"id":"ee88fc59.e3491","type":"api-call-service","z":"a435ecce.f467b","name":"OFF: night mode end helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode_end","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1259,"y":360,"wires":[["c669b5cf.2fff78"]]},{"id":"e5b1d31.9b3033","type":"api-current-state","z":"a435ecce.f467b","name":"Garages closed?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.garages_closed","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":342,"y":468,"wires":[[],["fc667784.32b048"]]},{"id":"7dc96bf8.916ff4","type":"api-current-state","z":"a435ecce.f467b","name":"Garages open?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"false","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.garages_closed","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":377,"y":2378,"wires":[["8f90e98c.5bb758"],[]]},{"id":"1c399b1e.a43b65","type":"api-call-service","z":"a435ecce.f467b","name":"Turn on alexa guard","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"alarm_control_panel","service":"alarm_arm_away","entityId":"alarm_control_panel.alexa_guard","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":982,"y":576,"wires":[["90edd97d.b134e8"]]},{"id":"f1146a53.b2a398","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off alexa guard","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"alarm_control_panel","service":"alarm_disarm","entityId":"alarm_control_panel.alexa_guard","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":689,"y":360,"wires":[["19ebfc43.829d54"]]},{"id":"803b49d5.08c9f8","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off alexa guard","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"alarm_control_panel","service":"alarm_disarm","entityId":"alarm_control_panel.alexa_guard","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":407,"y":1753,"wires":[[]]},{"id":"275c030d.19654c","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak: front door open","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"30"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"The front door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Front door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Front door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Front door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Front door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}}]}},"x":657,"y":1873,"wires":[[]]},{"id":"b0265fb9.d9a13","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak: garage door open","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"30"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Garage door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Garage door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Garage door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Garage door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Garage door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}}]}},"x":667,"y":1953,"wires":[[]]},{"id":"6db1f8c4.12c4d8","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak: basement door open","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"30"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Basement door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Basement door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Basement door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Basement door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Basement door is open. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}}]}},"x":677,"y":1913,"wires":[[]]},{"id":"753a9b3b.d90614","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak: motion in office","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"30"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Motion detected in office. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Motion detected in office. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Motion detected in office. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Motion detected in office. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Motion detected in office. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}}]}},"x":657,"y":1993,"wires":[[]]},{"id":"de486794.0ca848","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak: motion in basement","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"30"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Motion detected in basement. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Motion detected in basement. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Motion detected in basement. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Motion detected in basement. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Motion detected in basement. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}}]}},"x":677,"y":2033,"wires":[[]]},{"id":"ba7aaff9.e58b1","type":"api-current-state","z":"a435ecce.f467b","name":"is night mode on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.night_mode","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":387,"y":2033,"wires":[["de486794.0ca848","2a6decfc.405f14"],[]]},{"id":"35fb9522.4bcbda","type":"api-current-state","z":"a435ecce.f467b","name":"is night mode on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.night_mode","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":387,"y":1993,"wires":[["753a9b3b.d90614","2a6decfc.405f14"],[]]},{"id":"4b790675.9f0798","type":"server-state-changed","z":"a435ecce.f467b","name":"Motion in office?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.motion_office","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":117,"y":1993,"wires":[[],[]]},{"id":"923fe58d.d8e488","type":"server-state-changed","z":"a435ecce.f467b","name":"Motion in basement","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.motion_basement","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":127,"y":2033,"wires":[[],[]]},{"id":"e7b70a9d.588468","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak: front door unlocked","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"35"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030204T1"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"The front door is unlocked"},"devices":["G6G0XG11030204T1"]}}]}},"x":679,"y":2259,"wires":[[]]},{"id":"99aba7ce.b87928","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak: basement door open","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"35"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030204T1"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"The basement sliding door is open"},"devices":["G6G0XG11030204T1"]}}]}},"x":677,"y":2298,"wires":[[]]},{"id":"d3cecf65.01ba5","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak: garage door unlocked","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"35"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030204T1"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"The garage door is open"},"devices":["G6G0XG11030204T1"]}}]}},"x":687,"y":2338,"wires":[[]]},{"id":"8f90e98c.5bb758","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak: garages open","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"35"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030204T1"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"One of the garages is open"},"devices":["G6G0XG11030204T1"]}}]}},"x":657,"y":2378,"wires":[[]]},{"id":"7819f56f.aaa94c","type":"api-current-state","z":"a435ecce.f467b","name":"is night mode on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.night_mode","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":685,"y":243,"wires":[["469be890.788478"],["9648842b.f01408"]]},{"id":"fdf82931.190e98","type":"api-call-service","z":"a435ecce.f467b","name":"ON: Em sleeping helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.em_sleeping","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1227,"y":253,"wires":[["2a64915.60b996e"]]},{"id":"ef1eac30.d2ed9","type":"api-current-state","z":"a435ecce.f467b","name":"is em sleeping on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.em_sleeping","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":370,"y":756,"wires":[["11820961.f64ba7","fdd637a1.a8e428"],[]]},{"id":"2d6c8ebe.360232","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode end toggled","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode_end","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":173,"y":3141,"wires":[["a17886e7.c3a5e8"],[]]},{"id":"860e67da.c3ce98","type":"comment","z":"a435ecce.f467b","name":"To change back to normal when coming out of night mode or em sleeping","info":"","x":299,"y":3087,"wires":[]},{"id":"192d62c3.7ad62d","type":"api-current-state","z":"a435ecce.f467b","name":"is em sleeping on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.em_sleeping","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":1036,"y":747,"wires":[["654c7609.7d8788","bc64bab6.0fadc8"],["8471f4b1.0277c8"]]},{"id":"654c7609.7d8788","type":"api-call-service","z":"a435ecce.f467b","name":"ON: notification bars normal helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.set_notification_bars_to_normal","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1384,"y":693,"wires":[["2ab7a025.cc91b"]]},{"id":"2ab7a025.cc91b","type":"api-call-service","z":"a435ecce.f467b","name":"OFF: set notifications bars normal helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.set_notification_bars_to_normal","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1755,"y":696,"wires":[[]]},{"id":"2a2ae46b.60de3c","type":"api-current-state","z":"a435ecce.f467b","name":"is em sleeping on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.em_sleeping","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":973,"y":243,"wires":[["3218be7.fa5bb42","b9c1b8bb.569c98"],["fdf82931.190e98"]]},{"id":"3218be7.fa5bb42","type":"api-call-service","z":"a435ecce.f467b","name":"OFF: Em sleeping helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.em_sleeping","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1029,"y":135,"wires":[["f96590de.2228","6a82627.713629c"]]},{"id":"a17886e7.c3a5e8","type":"time-range-switch","z":"a435ecce.f467b","name":"","lat":"","lon":"","startTime":"5:00","endTime":"15:00","startOffset":0,"endOffset":0,"x":449,"y":3141,"wires":[["322bafae.8cece"],[]]},{"id":"3e9d12a3.3aba6e","type":"comment","z":"a435ecce.f467b","name":"Only change upstairs lights off of solid white if its morning (between 5-7)","info":"","x":884,"y":3087,"wires":[]},{"id":"bc64bab6.0fadc8","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off night mode purple","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode_purple","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1363,"y":738,"wires":[[]]},{"id":"f96590de.2228","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off night mode purple","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode_purple","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1557,"y":193,"wires":[[]]},{"id":"c669b5cf.2fff78","type":"api-call-service","z":"a435ecce.f467b","name":"ON: notification bars normal helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.set_notification_bars_to_normal","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1681,"y":135,"wires":[["e5038db4.6c62a"]]},{"id":"e5038db4.6c62a","type":"api-call-service","z":"a435ecce.f467b","name":"OFF: set notifications bars normal helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.set_notification_bars_to_normal","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":2070,"y":135,"wires":[[]]},{"id":"2a64915.60b996e","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Em sleep mode on","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"35"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030205CT","G6G0XG11030204T1"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"M sleep mode on"},"devices":["G6G0XG11030204T1","G6G0XG11030205CT"]}}]}},"x":1522,"y":252,"wires":[[]]},{"id":"fdd637a1.a8e428","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Trumpet sound","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"60"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030205CT","G6G0XG11030204T1"]}},{"type":"sound","payload":{"sound":{"type":"str","value":"amzn_sfx_trumpet_bugle_04"},"devices":["G6G0XG11030205CT","G6G0XG11030204T1"]}}]}},"x":621,"y":759,"wires":[[]]},{"id":"ec23c3d4.14bdc","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode on?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":674,"y":45,"wires":[["3218be7.fa5bb42"],[]]},{"id":"6a82627.713629c","type":"api-current-state","z":"a435ecce.f467b","name":"is night mode on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.night_mode","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":1360,"y":135,"wires":[[],["c669b5cf.2fff78"]]},{"id":"bbdfaadc.95a358","type":"server-state-changed","z":"a435ecce.f467b","name":"Em sleep mode on?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.em_sleeping","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":991,"y":45,"wires":[["2a64915.60b996e"],["3218be7.fa5bb42"]]},{"id":"43b1e28a.6bd97c","type":"comment","z":"a435ecce.f467b","name":"Light strip night mode setting","info":"","x":148,"y":3735,"wires":[],"icon":"font-awesome/fa-wrench"},{"id":"78088b28.b6d344","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off TV","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"media_player","service":"turn_off","entityId":"media_player.tv_living_room","data":"","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1042,"y":513,"wires":[["e3ad3ed3.2f166"]]},{"id":"69f6f42b.83212c","type":"server-state-changed","z":"a435ecce.f467b","name":"Vibration sensor1 basement","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.vibration_basement_window1","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","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":157,"y":2082,"wires":[["1a7d7a49.89caf6"],[]]},{"id":"1a7d7a49.89caf6","type":"api-current-state","z":"a435ecce.f467b","name":"is night mode on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.night_mode","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":424,"y":2091,"wires":[["fa36358f.2bb1a8","2a6decfc.405f14"],[]]},{"id":"fa36358f.2bb1a8","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak: basement window broken","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"30"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Basement window broken. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Basement window broken. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Basement window broken. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Basement window broken. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"Basement window broken. Grab the gun."},"devices":["G6G0XG11030205CT","G6G0XG11030204T1","G091AA0704960SK0"]}}]}},"x":699,"y":2091,"wires":[[]]},{"id":"d5e84107.dbb5c","type":"server-events","z":"a435ecce.f467b","name":"zwave_js_event","server":"ab3e2c53.e3491","event_type":"zwave_js_event","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"x":98,"y":27,"wires":[["17841ec9.dd3eb1"]]},{"id":"2c96bc22.c51d94","type":"subflow:3985bb90.d67e54","z":"a435ecce.f467b","name":"","x":435,"y":126,"wires":[[],[],[],[],[],[],[],[],[],["dd9b91e0.6537"],[],[],[],[],["7819f56f.aaa94c"]]},{"id":"90edd97d.b134e8","type":"api-current-state","z":"a435ecce.f467b","name":"Is Jim Home?","server":"456659de.370498","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"person.jim","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":1205,"y":576,"wires":[["eaecb6e3.08a228"],["fa4cfb00.a10648"]]},{"id":"eaecb6e3.08a228","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak routine when Jim is home","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"55"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030204T1"]}},{"type":"speak","payload":{"type":"ssml","text":{"type":"ssml","value":"<speak>\t <voice name=\"Giorgio\">The house is secure, have a good night.</voice>\t</speak> "},"devices":["G6G0XG11030204T1"]}}]}},"x":1473,"y":558,"wires":[[]]},{"id":"fa4cfb00.a10648","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak routine if Jim is not home","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"35"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030204T1"]}},{"type":"speak","payload":{"type":"ssml","text":{"type":"ssml","value":"<speak>\t <voice name=\"Giorgio\">The house is secure, have a good night Christina. Dont worry mi amore, Jim will be home soon.</voice>\t</speak> "},"devices":["G6G0XG11030204T1"]}}]}},"x":1473,"y":612,"wires":[[]]},{"id":"70a18ae2.243f94","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode green","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode_green","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":117,"y":3789,"wires":[["91d2b42a.eeee48"],[]]},{"id":"62118f23.70a77","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode yellow","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode_yellow","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":117,"y":3849,"wires":[["e8ca41f.97862c","9d3d38d6.4281f8"],[]]},{"id":"d3fab182.c17f5","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode red","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode_red","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":107,"y":3906,"wires":[["e8ca41f.97862c","9d3d38d6.4281f8"],[]]},{"id":"e82f6cc6.7499c","type":"api-call-service","z":"a435ecce.f467b","name":"White","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.light_strip_color","data":"{ \"option\": \"White\" }","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":608,"y":3789,"wires":[[]]},{"id":"91d2b42a.eeee48","type":"api-call-service","z":"a435ecce.f467b","name":"Brightness 35","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_number","service":"set_value","entityId":"input_number.light_strip_brightness","data":"{\"value\":35}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":386,"y":3789,"wires":[["e82f6cc6.7499c"]]},{"id":"c70abb4c.49b0c8","type":"function","z":"a435ecce.f467b","name":"Set island parameters","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 64, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1541,"y":3852,"wires":[["35275d8a.16da72","4eec89f5.23af48"]]},{"id":"9363f4b.244c408","type":"change","z":"a435ecce.f467b","name":"Pulse yellow","rules":[{"t":"set","p":"parameter","pt":"msg","to":"21","tot":"num"},{"t":"set","p":"value","pt":"msg","to":"100600357","tot":"num"},{"t":"set","p":"size","pt":"msg","to":"4","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":1268,"y":3843,"wires":[["c70abb4c.49b0c8"]]},{"id":"35275d8a.16da72","type":"function","z":"a435ecce.f467b","name":"Set cabinet parameters","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 57, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1560,"y":3897,"wires":[["4eec89f5.23af48"]]},{"id":"b3507b56.1a32c8","type":"change","z":"a435ecce.f467b","name":"Fast blink red","rules":[{"t":"set","p":"parameter","pt":"msg","to":"21","tot":"num"},{"t":"set","p":"value","pt":"msg","to":"67045888","tot":"num"},{"t":"set","p":"size","pt":"msg","to":"4","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":1268,"y":3897,"wires":[["c70abb4c.49b0c8"]]},{"id":"47505b7.9db57a4","type":"function","z":"a435ecce.f467b","name":"Master bedroom 35","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 35, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":739,"y":1305,"wires":[["55cd075b.f9b3a8","4466b9c2.b2fa08"]]},{"id":"55cd075b.f9b3a8","type":"function","z":"a435ecce.f467b","name":"Kitchen table slave (near livingroom) 7","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 7, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":809,"y":1341,"wires":[["2b35d6f5.f0c3ca","4466b9c2.b2fa08"]]},{"id":"2b35d6f5.f0c3ca","type":"function","z":"a435ecce.f467b","name":"Living room overhead 6","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 6, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":759,"y":1377,"wires":[["25c79eb7.591932","4466b9c2.b2fa08"]]},{"id":"25c79eb7.591932","type":"function","z":"a435ecce.f467b","name":"Entryway master (in kitchen) ","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 5, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":769,"y":1413,"wires":[["4466b9c2.b2fa08"]]},{"id":"5b56d16a.9c9ae","type":"change","z":"a435ecce.f467b","name":"Solid green","rules":[{"t":"set","p":"parameter","pt":"msg","to":"16","tot":"num"},{"t":"set","p":"value","pt":"msg","to":"33491556","tot":"num"},{"t":"set","p":"size","pt":"msg","to":"4","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":376,"y":1251,"wires":[["47505b7.9db57a4"]]},{"id":"d0e6dcfe.c4291","type":"change","z":"a435ecce.f467b","name":"Pulse yellow","rules":[{"t":"set","p":"parameter","pt":"msg","to":"16","tot":"num"},{"t":"set","p":"value","pt":"msg","to":"100600357","tot":"num"},{"t":"set","p":"size","pt":"msg","to":"4","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":386,"y":1314,"wires":[["47505b7.9db57a4"]]},{"id":"33fee803.94bfc8","type":"change","z":"a435ecce.f467b","name":"Fast blink red","rules":[{"t":"set","p":"parameter","pt":"msg","to":"16","tot":"num"},{"t":"set","p":"value","pt":"msg","to":"67045888","tot":"num"},{"t":"set","p":"size","pt":"msg","to":"4","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":386,"y":1368,"wires":[["47505b7.9db57a4"]]},{"id":"42149fa6.a01fd","type":"change","z":"a435ecce.f467b","name":"Chase purple","rules":[{"t":"set","p":"parameter","pt":"msg","to":"16","tot":"num"},{"t":"set","p":"value","pt":"msg","to":"50268866","tot":"num"},{"t":"set","p":"size","pt":"msg","to":"4","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":377,"y":1431,"wires":[["47505b7.9db57a4"]]},{"id":"4b1ba74b.201bf8","type":"function","z":"a435ecce.f467b","name":"Loft 36","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 36, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":996,"y":3141,"wires":[["45be5ba3.74fac4","e3fe7e8c.3efcc"]]},{"id":"dff8ea3b.e336f8","type":"function","z":"a435ecce.f467b","name":"Guest bathroom fan 29","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 29, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1046,"y":3213,"wires":[["ab721662.be6378","e3fe7e8c.3efcc"]]},{"id":"45be5ba3.74fac4","type":"function","z":"a435ecce.f467b","name":"Guest bathroom 28","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 28, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1036,"y":3177,"wires":[["dff8ea3b.e336f8","e3fe7e8c.3efcc"]]},{"id":"ab721662.be6378","type":"function","z":"a435ecce.f467b","name":"Master bathroom 37","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 37, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1036,"y":3249,"wires":[["62816d19.382db4","e3fe7e8c.3efcc"]]},{"id":"62816d19.382db4","type":"function","z":"a435ecce.f467b","name":"Master bathroom shower 38","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 38, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1066,"y":3285,"wires":[["cda993.7c9e667","e3fe7e8c.3efcc"]]},{"id":"cda993.7c9e667","type":"function","z":"a435ecce.f467b","name":"Master bathroom fan 39","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 39, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1056,"y":3321,"wires":[["76670a28.e197f4","e3fe7e8c.3efcc"]]},{"id":"76670a28.e197f4","type":"function","z":"a435ecce.f467b","name":"Master bedroom closet 40","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 40, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1066,"y":3357,"wires":[["34194c86.338f94","e3fe7e8c.3efcc"]]},{"id":"34194c86.338f94","type":"function","z":"a435ecce.f467b","name":"Upstairs hallway slave 27","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 27, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1056,"y":3393,"wires":[["5ca3023e.5e283c","e3fe7e8c.3efcc"]]},{"id":"5ca3023e.5e283c","type":"function","z":"a435ecce.f467b","name":"Upstairs hallway master top of stairs 26","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 26, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1106,"y":3429,"wires":[["818d17d2.ed4d28","e3fe7e8c.3efcc"]]},{"id":"818d17d2.ed4d28","type":"function","z":"a435ecce.f467b","name":"Master bedroom 35","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 35, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1036,"y":3465,"wires":[["5c1e4703.045a68","e3fe7e8c.3efcc"]]},{"id":"5c1e4703.045a68","type":"function","z":"a435ecce.f467b","name":"Kitchen table slave (near livingroom) 7","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 7, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1106,"y":3501,"wires":[["c51ee431.569588","e3fe7e8c.3efcc"]]},{"id":"c51ee431.569588","type":"function","z":"a435ecce.f467b","name":"Living room overhead 6","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 6, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1056,"y":3537,"wires":[["60f1b5f4.81c32c","e3fe7e8c.3efcc"]]},{"id":"60f1b5f4.81c32c","type":"function","z":"a435ecce.f467b","name":"Entryway master (in kitchen) 5","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 5, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1076,"y":3573,"wires":[["e3fe7e8c.3efcc","b9e6e4bf.d61fe8"]]},{"id":"e3fe7e8c.3efcc","type":"subflow:b0f0b9da.7300e8","z":"a435ecce.f467b","name":"","x":1420,"y":3330,"wires":[]},{"id":"4eec89f5.23af48","type":"subflow:b0f0b9da.7300e8","z":"a435ecce.f467b","name":"","x":1816,"y":3870,"wires":[]},{"id":"4466b9c2.b2fa08","type":"subflow:b0f0b9da.7300e8","z":"a435ecce.f467b","name":"","x":1078,"y":1251,"wires":[]},{"id":"84c1387f.76e868","type":"server-state-changed","z":"a435ecce.f467b","name":"Set notification bars to normal toggled?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.set_notification_bars_to_normal","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":197,"y":3321,"wires":[["d120ba39.f85368"],[]]},{"id":"322bafae.8cece","type":"subflow:60df3a92.c6d394","z":"a435ecce.f467b","name":"","x":743,"y":3141,"wires":[["4b1ba74b.201bf8"]]},{"id":"dd0fcee0.608d8","type":"function","z":"a435ecce.f467b","name":"Master bedroom 35","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 35, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":415,"y":3393,"wires":[["dc82746f.80ca18","73094858.e23728"]]},{"id":"dc82746f.80ca18","type":"function","z":"a435ecce.f467b","name":"Kitchen table slave (near livingroom) 7","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 7, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":485,"y":3429,"wires":[["d924c3b1.79ced","73094858.e23728"]]},{"id":"d924c3b1.79ced","type":"function","z":"a435ecce.f467b","name":"Living room overhead 6","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 6, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":435,"y":3465,"wires":[["1f93c09.bd1923f","73094858.e23728"]]},{"id":"1f93c09.bd1923f","type":"function","z":"a435ecce.f467b","name":"Entryway master (in kitchen) ","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 5, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":445,"y":3501,"wires":[["73094858.e23728","1b5d4e55.7a5862"]]},{"id":"d120ba39.f85368","type":"subflow:60df3a92.c6d394","z":"a435ecce.f467b","name":"","x":536,"y":3321,"wires":[["dd0fcee0.608d8"]]},{"id":"73094858.e23728","type":"subflow:b0f0b9da.7300e8","z":"a435ecce.f467b","name":"","x":781,"y":3429,"wires":[]},{"id":"401ad8cf.452878","type":"change","z":"a435ecce.f467b","name":"Fast blink red","rules":[{"t":"set","p":"parameter","pt":"msg","to":"16","tot":"num"},{"t":"set","p":"value","pt":"msg","to":"67045888","tot":"num"},{"t":"set","p":"size","pt":"msg","to":"4","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":386,"y":1215,"wires":[["b539e17b.c1cf6"]]},{"id":"c4a4fb8f.d539d8","type":"function","z":"a435ecce.f467b","name":"Entryway slave (near front door) 4","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 4, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":716,"y":1161,"wires":[["6e7eb040.58a5a","4466b9c2.b2fa08"]]},{"id":"b539e17b.c1cf6","type":"function","z":"a435ecce.f467b","name":"Porch 3","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 3, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":636,"y":1125,"wires":[["c4a4fb8f.d539d8","4466b9c2.b2fa08"]]},{"id":"6e7eb040.58a5a","type":"function","z":"a435ecce.f467b","name":"Garage 50","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 50, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":646,"y":1197,"wires":[["76b6835c.6cc8bc","4466b9c2.b2fa08"]]},{"id":"76b6835c.6cc8bc","type":"function","z":"a435ecce.f467b","name":"Mudroom master (near pantry) 51","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 51, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":726,"y":1233,"wires":[["4466b9c2.b2fa08"]]},{"id":"b9e6e4bf.d61fe8","type":"function","z":"a435ecce.f467b","name":"Porch 3","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 3, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1014,"y":3609,"wires":[["8dae0e48.b42d4","e3fe7e8c.3efcc"]]},{"id":"8dae0e48.b42d4","type":"function","z":"a435ecce.f467b","name":"Entryway slave (near front door) 4","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 4, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1094,"y":3645,"wires":[["d0b063ca.20761","e3fe7e8c.3efcc"]]},{"id":"d0b063ca.20761","type":"function","z":"a435ecce.f467b","name":"Garage 50","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 50, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1024,"y":3681,"wires":[["e0b93f7b.6e3f4","e3fe7e8c.3efcc"]]},{"id":"e0b93f7b.6e3f4","type":"function","z":"a435ecce.f467b","name":"Mudroom master (near pantry) 51","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 51, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1104,"y":3717,"wires":[["e3fe7e8c.3efcc"]]},{"id":"1b5d4e55.7a5862","type":"function","z":"a435ecce.f467b","name":"Porch 3","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 3, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":384,"y":3537,"wires":[["c2556a25.8009e8","73094858.e23728"]]},{"id":"c2556a25.8009e8","type":"function","z":"a435ecce.f467b","name":"Entryway slave (near front door) 4","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 4, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":464,"y":3573,"wires":[["fc921ae.7309ae8","73094858.e23728"]]},{"id":"fc921ae.7309ae8","type":"function","z":"a435ecce.f467b","name":"Garage 50","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 50, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":394,"y":3609,"wires":[["b2175eff.64d01","73094858.e23728"]]},{"id":"b2175eff.64d01","type":"function","z":"a435ecce.f467b","name":"Mudroom master (near pantry) 51","func":"msg.payload = { \n \"args\": [ { \n \"commandClass\": 112, \n \"nodeId\": 51, \n \"property\": msg.parameter }, \n \"set\", [msg.parameter, msg.value, msg.size]]\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":474,"y":3645,"wires":[["73094858.e23728"]]},{"id":"415f4042.5e77","type":"comment","z":"a435ecce.f467b","name":"Set light strip back to normal when coming out of nightmode yellow or red","info":"","x":299,"y":4023,"wires":[],"icon":"font-awesome/fa-wrench"},{"id":"9648842b.f01408","type":"api-current-state","z":"a435ecce.f467b","name":"is night mode yellow on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.night_mode_yellow","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":975,"y":306,"wires":[["c669b5cf.2fff78","39829eff.471812"],["45bacaba.7790a4"]]},{"id":"45bacaba.7790a4","type":"api-current-state","z":"a435ecce.f467b","name":"is night mode red on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.night_mode_red","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":1244,"y":306,"wires":[["c669b5cf.2fff78","169f013b.c5adbf"],["2a2ae46b.60de3c"]]},{"id":"20adba1f.2423b6","type":"server-state-changed","z":"a435ecce.f467b","name":"Set notification bars to normal toggled?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.set_notification_bars_to_normal","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":188,"y":4086,"wires":[["2d6e574c.617e08"],[]]},{"id":"e8ca41f.97862c","type":"api-current-state","z":"a435ecce.f467b","name":"Current color","server":"7cc6d248.e5ecfc","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_select.light_strip_color","state_type":"str","state_location":"color","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":341,"y":3852,"wires":[["edb7e66b.0fed28"]]},{"id":"edb7e66b.0fed28","type":"change","z":"a435ecce.f467b","name":"Write current color to global.brightness","rules":[{"t":"set","p":"color","pt":"global","to":"color","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":683,"y":3852,"wires":[["73e468cf.c6abd8"]]},{"id":"73e468cf.c6abd8","type":"api-current-state","z":"a435ecce.f467b","name":"Current effect","server":"7cc6d248.e5ecfc","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_select.light_strip_effect","state_type":"str","state_location":"effect","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":341,"y":3897,"wires":[["1ffd1228.e4573e"]]},{"id":"1ffd1228.e4573e","type":"change","z":"a435ecce.f467b","name":"Write current effect to global.brightness","rules":[{"t":"set","p":"effect","pt":"global","to":"effect","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":683,"y":3888,"wires":[["9f93fd80.717f5","669f92e6.f56d2c","ae2cb790.190c28"]]},{"id":"b8025a75.40a138","type":"api-current-state","z":"a435ecce.f467b","name":"Was color last selected?","server":"7cc6d248.e5ecfc","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.lightstrip_color_was_last_selected","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":912,"y":4086,"wires":[["eca092aa.a0f12"],["a109f9b6.207b88"]]},{"id":"9f93fd80.717f5","type":"api-current-state","z":"a435ecce.f467b","name":"is night mode yellow on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.night_mode_yellow","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":1020,"y":3870,"wires":[["9363f4b.244c408"],["b3507b56.1a32c8"]]},{"id":"eca092aa.a0f12","type":"change","z":"a435ecce.f467b","name":"Transfer global.color to msg.color","rules":[{"t":"set","p":"color","pt":"msg","to":"color","tot":"global"}],"action":"","property":"","from":"","to":"","reg":false,"x":1266,"y":4068,"wires":[["e051869a.a55158"]]},{"id":"a109f9b6.207b88","type":"change","z":"a435ecce.f467b","name":"Transfer global.effect to msg.effect","rules":[{"t":"set","p":"effect","pt":"msg","to":"effect","tot":"global"}],"action":"","property":"","from":"","to":"","reg":false,"x":1276,"y":4104,"wires":[["c855f325.9eb2e"]]},{"id":"e051869a.a55158","type":"api-call-service","z":"a435ecce.f467b","name":"Set color","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.light_strip_color","data":"{\"option\":\"{{color}}\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1536,"y":4068,"wires":[[]]},{"id":"c855f325.9eb2e","type":"api-call-service","z":"a435ecce.f467b","name":"Set effect","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.light_strip_effect","data":"{\"option\":\"{{effect}}\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1546,"y":4104,"wires":[[]]},{"id":"669f92e6.f56d2c","type":"api-call-service","z":"a435ecce.f467b","name":"Set color none","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.light_strip_color","data":"{\"option\":\"None\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":980,"y":3915,"wires":[[]]},{"id":"ae2cb790.190c28","type":"api-call-service","z":"a435ecce.f467b","name":"Set effect none","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.light_strip_effect","data":"{\"option\":\"None\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":990,"y":3960,"wires":[[]]},{"id":"39829eff.471812","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off night mode yellow","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode_yellow","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1570,"y":306,"wires":[[]]},{"id":"169f013b.c5adbf","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off night mode red","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode_red","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1564,"y":350,"wires":[[]]},{"id":"67cd3617.a6ff88","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off night mode green","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode_green","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":480,"y":324,"wires":[["4144e738.b3f358"]]},{"id":"2d6e574c.617e08","type":"api-current-state","z":"a435ecce.f467b","name":"Night mode yellow/red for lighstrip on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.night_mode_yellow_or_red_for_lighstrip","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":575,"y":4086,"wires":[["b8025a75.40a138","15063f3b.129251"],[]]},{"id":"15063f3b.129251","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off yellow/red for lighstrip","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode_yellow_or_red_for_lighstrip","data":"","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":932,"y":4131,"wires":[[]]},{"id":"9d3d38d6.4281f8","type":"api-call-service","z":"a435ecce.f467b","name":"Turn on yellow/red for lighstrip","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.night_mode_yellow_or_red_for_lighstrip","data":"","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":401,"y":3951,"wires":[[]]},{"id":"d62ddfe4.0b3d6","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode yellow","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode_yellow","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":108,"y":4203,"wires":[["34128411.9b3ffc"],[]]},{"id":"34128411.9b3ffc","type":"trigger","z":"a435ecce.f467b","name":"","op1":"","op2":"0","op1type":"nul","op2type":"str","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":304,"y":4203,"wires":[["2d6e574c.617e08","dd29fdb4.f8c88","90eeed0d.41cfd"]]},{"id":"eeb65b94.98bf18","type":"server-state-changed","z":"a435ecce.f467b","name":"Night mode yellow","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode_yellow","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","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":126,"y":3384,"wires":[["377aa96b.5e12d6"],[]]},{"id":"377aa96b.5e12d6","type":"trigger","z":"a435ecce.f467b","name":"","op1":"","op2":"0","op1type":"nul","op2type":"str","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":124,"y":3438,"wires":[["d120ba39.f85368"]]},{"id":"dd29fdb4.f8c88","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off night mode yellow","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode_yellow","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":553,"y":4203,"wires":[[]]},{"id":"90eeed0d.41cfd","type":"api-call-service","z":"a435ecce.f467b","name":"Turn off night mode","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.night_mode","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":523,"y":4257,"wires":[[]]},{"id":"469be890.788478","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Night mode de activated","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"35"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030204T1"]}},{"type":"speak","payload":{"type":"ssml","text":{"type":"ssml","value":"<speak>\t <voice name=\"Giorgio\">Night mode is deavtivated</voice>\t</speak> "},"devices":["G6G0XG11030204T1"]}}]}},"x":498,"y":279,"wires":[["67cd3617.a6ff88"]]},{"id":"b9c1b8bb.569c98","type":"alexa-remote-routine","z":"a435ecce.f467b","name":"Speak: Em sleep mode off","account":"f0ce5fbc.18734","routineNode":{"type":"node","payload":{"type":"serial","children":[{"type":"volume","payload":{"value":{"type":"num","value":"35"},"mode":{"type":"str","value":"set"},"devices":["G6G0XG11030205CT","G6G0XG11030204T1"]}},{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"M sleep mode off"},"devices":["G6G0XG11030204T1","G6G0XG11030205CT"]}}]}},"x":993,"y":198,"wires":[[]]},{"id":"ab3e2c53.e3491","type":"server","name":"AvilaSmartHomeRpi","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"f0ce5fbc.18734","type":"alexa-remote-account","name":"","authMethod":"proxy","proxyOwnIp":"192.168.86.215","proxyPort":"3456","cookieFile":"Auth","refreshInterval":"15","alexaServiceHost":"pitangui.amazon.com","amazonPage":"amazon.com","acceptLanguage":"en-US","userAgent":"","useWsMqtt":"on","autoInit":"on"},{"id":"456659de.370498","type":"server","name":"AvilaSmartHome","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"7cc6d248.e5ecfc","type":"server","name":"Home Assistant","addon":true}]
1 Like