-
-
Save bwarman/ee9cb111a0107e5e055f7211f4d3a370 to your computer and use it in GitHub Desktop.
Flow to trigger AARLO camera notifications
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"68dd6634.3739d8","type":"tab","label":"Test Flows","disabled":false,"info":""},{"id":"78a3d913.902288","type":"group","z":"68dd6634.3739d8","name":"Back Left Motion","style":{"stroke":"#a4a4a4","fill":"#ffbfbf","label":true},"nodes":["b8d69499.635588","3ad2d88.ac53028","43adbff2.6908e","a171fa3d.e548a8","6010b27b.9c328c","156779a8.f73b06"],"x":274,"y":319,"w":832,"h":222},{"id":"b8d69499.635588","type":"api-call-service","z":"68dd6634.3739d8","g":"78a3d913.902288","name":"Take Snapshot","server":"7145ad81.bc1584","version":1,"debugenabled":false,"service_domain":"aarlo","service":"camera_request_snapshot_to_file","entityId":"camera.aarlo_back_left","data":"{\"filename\":\"www/back_left.jpg\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1000,"y":400,"wires":[[]]},{"id":"3ad2d88.ac53028","type":"server-state-changed","z":"68dd6634.3739d8","g":"78a3d913.902288","name":"Motion in Backyard","server":"7145ad81.bc1584","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.aarlo_motion_back_left","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,"x":390,"y":420,"wires":[["43adbff2.6908e"],[]]},{"id":"43adbff2.6908e","type":"api-current-state","z":"68dd6634.3739d8","g":"78a3d913.902288","name":"I'm Away?","server":"7145ad81.bc1584","version":1,"outputs":2,"halt_if":"home","halt_if_type":"str","halt_if_compare":"is_not","override_topic":false,"entity_id":"person.me","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":610,"y":420,"wires":[["b8d69499.635588"],[]]},{"id":"a171fa3d.e548a8","type":"server-events","z":"68dd6634.3739d8","g":"78a3d913.902288","name":"Snapshot Ready","server":"7145ad81.bc1584","event_type":"aarlo_snapshot_ready","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"x":520,"y":500,"wires":[["6010b27b.9c328c"]]},{"id":"6010b27b.9c328c","type":"api-call-service","z":"68dd6634.3739d8","g":"78a3d913.902288","name":"Send Notification","server":"7145ad81.bc1584","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app__iphone_11_pro","entityId":"","data":"{\"title\":\"Arlo Camera Triggered\",\"message\":\"Motion in back left\",\"data\":{\"attachment\":{\"content-type\":\"jpeg\",\"url\":\"https://my_url.duckdns.org/local/back_left.jpg\"},\"push\":{\"category\":\"HA_ARLO\"}}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":770,"y":500,"wires":[[]]},{"id":"156779a8.f73b06","type":"inject","z":"68dd6634.3739d8","g":"78a3d913.902288","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":740,"y":360,"wires":[["b8d69499.635588"]]},{"id":"7145ad81.bc1584","type":"server","z":"","name":"Home Assistant","addon":true}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment