[{"id":"d3d0ad36.4da518","type":"group","z":"56970bdc.c12284","name":"Deurbelacties","style":{"label":true},"nodes":["8b653dc4.9cf158","b0c5b153.c59e08","e2c72d31.ab6118","c4c76fcb.8148c8","402463be.652d0c","94f6c2dd.3edef","1e40e31.8a5031d","b139fddc.1901f","e0ba8b64.8d3ca","3c9be78.61fca18","ebae3e15.c22688","d9af51.92de90b","53a3c771.b7273","f12506a8.d6d13","dc01bd70.94a0f8"],"x":94,"y":479,"w":1512,"h":582},{"id":"8b653dc4.9cf158","type":"api-current-state","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"alarm is gedeeltelijk ingeschakeld","server":"72656354.052ccc","version":1,"outputs":2,"halt_if":"Gedeeltelijk ingeschakeld","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_select.alarmstatus","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":940,"y":580,"wires":[["b0c5b153.c59e08","c4c76fcb.8148c8"],[]]},{"id":"b0c5b153.c59e08","type":"api-call-service","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"licht op zolder aan","server":"72656354.052ccc","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.overloop_en_washok","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1470,"y":560,"wires":[[]]},{"id":"e2c72d31.ab6118","type":"api-call-service","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"licht op zolder weer uit","server":"72656354.052ccc","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"light.overloop_en_washok","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1480,"y":620,"wires":[[]]},{"id":"c4c76fcb.8148c8","type":"delay","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"5 minuten wachten","pauseType":"delay","timeout":"5","timeoutUnits":"minutes","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1230,"y":620,"wires":[["e2c72d31.ab6118"]]},{"id":"402463be.652d0c","type":"comment","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"licht op overloop tijdelijk inschakelen als er 's avonds aangebeld wordt.","info":"licht op overloop insc","x":1050,"y":520,"wires":[]},{"id":"94f6c2dd.3edef","type":"comment","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"fotos van de deurbel doorsturen naar de andru=oid TV","info":"Op android tv de app Pipup installeren:\nhttps://github.com/rogro82/PiPup","x":1000,"y":720,"wires":[]},{"id":"1e40e31.8a5031d","type":"http request","z":"56970bdc.c12284","d":true,"g":"d3d0ad36.4da518","name":"Sonos in de keuken - er wordt aangebeld","method":"GET","ret":"txt","paytoqs":"ignore","url":"http://{{ip-NAS}}:5005/keuken/say/er%20wordt%20aangebeld/nl-nl/20","tls":"","persist":false,"proxy":"","authType":"","x":960,"y":1020,"wires":[[]],"inputLabels":["url"]},{"id":"b139fddc.1901f","type":"comment","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"melden via Sonos","info":"gebruik makend van:\nhttps://github.com/jishi/node-sonos-http-api\n\ndie draait in een docker op mijn synology","x":890,"y":980,"wires":[]},{"id":"e0ba8b64.8d3ca","type":"delay","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"max 1x per 10 seconden","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"10","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"x":650,"y":860,"wires":[["8b653dc4.9cf158","1e40e31.8a5031d","3c9be78.61fca18","d9af51.92de90b","dc01bd70.94a0f8"]]},{"id":"3c9be78.61fca18","type":"api-call-service","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"chatbericht sturen","server":"72656354.052ccc","version":1,"debugenabled":true,"service_domain":"notify","service":"deurbelmeldingen","entityId":"","data":"{\"message\":\"Er is aangebeld\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1090,"y":860,"wires":[[]]},{"id":"ebae3e15.c22688","type":"http request","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"","method":"POST","ret":"txt","paytoqs":"ignore","url":"http://{{IP TV}}:7979/notify","tls":"","persist":false,"proxy":"","authType":"","x":1090,"y":760,"wires":[[]]},{"id":"d9af51.92de90b","type":"change","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"duration\":7,\"position\":0,\"title\":\"Er is aangebeld\",\"titleColor\":\"#50BFF2\",\"titleSize\":12,\"message\":\"Er is aangebeld\",\"messageColor\":\"#fbf5f5\",\"messageSize\":0,\"backgroundColor\":\"#0f0e0e\",\"media\":{\"web\":{\"uri\":\"http://{{ip deurbel}}/snap.jpeg\",\"width\":580}}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":880,"y":760,"wires":[["ebae3e15.c22688"]]},{"id":"53a3c771.b7273","type":"trigger-state","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"","server":"72656354.052ccc","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"binary_sensor.doorbell_voordeur","entityidfiltertype":"exact","debugenabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"on","propertyValue":"new_state.state"}],"outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"str","x":300,"y":860,"wires":[["e0ba8b64.8d3ca"],[]]},{"id":"f12506a8.d6d13","type":"api-call-service","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"Camerabeeld bel sturen","server":"72656354.052ccc","version":1,"debugenabled":true,"service_domain":"notify","service":"deurbelmeldingen","entityId":"","data":"{\"message\":\"Voordeur\",\"data\":{\"file_url\":\"http://{{IP}}/snap.jpeg\"}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1110,"y":900,"wires":[[]]},{"id":"dc01bd70.94a0f8","type":"delay","z":"56970bdc.c12284","g":"d3d0ad36.4da518","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":880,"y":900,"wires":[["f12506a8.d6d13"]],"info":"vertraging van een seconde, anders zie je de aanbellende vinger nog vol in beeld"},{"id":"72656354.052ccc","type":"server","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]