Notification with camera pictures - best practice

Hi,

i hope someone can take a look at my notification automation.
I am trying to send notifications via pushOver. My flow actually works but I think there must be better/easyer ways to do that. So I am getting the pictures from my ip cameras via wget and store them locally. Then I pass them on via pushOver. Pretty straight forward.

The cameras are actually entities but i could not get it to work using these entities.

So, here is my flow:

[{"id":"63733c92cd9ca5d4","type":"tab","label":"Flow 3","disabled":true,"info":"","env":[]},{"id":"9179d064b526eeb1","type":"exec","z":"63733c92cd9ca5d4","command":"wget http://192.168.1.109:8080/XX/s.jpg -O /media/haupteingang.jpg","addpay":"","append":"","useSpawn":"false","timer":"","winHide":false,"oldrc":false,"name":"Kamera Haupteingang","x":920,"y":260,"wires":[["1ab2763014e16c9f"],[],[]]},{"id":"6efa85d107906329","type":"server-state-changed","z":"63733c92cd9ca5d4","name":"Alarmo Alarm getriggered","server":"787d7ae2.456504","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"alarm_control_panel.alarmo","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"triggered","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,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":130,"y":520,"wires":[["adde61d4d1ea480d"],["30d2d521f7c2b45a"]]},{"id":"adde61d4d1ea480d","type":"switch","z":"63733c92cd9ca5d4","name":"","property":"data.new_state.attributes.arm_mode","propertyType":"msg","rules":[{"t":"eq","v":"armed_away","vt":"str"},{"t":"eq","v":"armed_night","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":430,"y":520,"wires":[["9b3f01abe20bbb23"],[]]},{"id":"30d2d521f7c2b45a","type":"debug","z":"63733c92cd9ca5d4","name":"debug 10","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":720,"y":760,"wires":[]},{"id":"f7b0b5c1944a4373","type":"exec","z":"63733c92cd9ca5d4","command":"wget http://192.168.1.109:8080/XX/s.jpg -O /media/ostseite.jpg","addpay":"","append":"","useSpawn":"false","timer":"","winHide":false,"oldrc":false,"name":"Kamera Ostseite","x":910,"y":320,"wires":[[],[],[]]},{"id":"a01a628cc188bbcb","type":"exec","z":"63733c92cd9ca5d4","command":"wget http://192.168.1.109:8080/XX/s.jpg -O /media/westseite.jpg","addpay":"","append":"","useSpawn":"false","timer":"","winHide":false,"oldrc":false,"name":"Kamera Westseite","x":910,"y":380,"wires":[[],[],[]]},{"id":"05e88c95a3bae9eb","type":"exec","z":"63733c92cd9ca5d4","command":"wget http://192.168.1.109:8080/XX/s.jpg -O /media/terrasse.jpg","addpay":"","append":"","useSpawn":"false","timer":"","winHide":false,"oldrc":false,"name":"Kamera Terrasse","x":910,"y":440,"wires":[[],[],[]]},{"id":"bdbddcbd17e74a20","type":"exec","z":"63733c92cd9ca5d4","command":"wget http://192.168.1.109:8080/XX/s.jpg -O /media/garage.jpg","addpay":"","append":"","useSpawn":"false","timer":"","winHide":false,"oldrc":false,"name":"Kamera Garage","x":900,"y":500,"wires":[[],[],[]]},{"id":"9b3f01abe20bbb23","type":"delay","z":"63733c92cd9ca5d4","name":"","pauseType":"delay","timeout":"3","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":600,"y":380,"wires":[["9179d064b526eeb1","f7b0b5c1944a4373","a01a628cc188bbcb","05e88c95a3bae9eb","bdbddcbd17e74a20"]]},{"id":"1ab2763014e16c9f","type":"delay","z":"63733c92cd9ca5d4","name":"","pauseType":"delay","timeout":"3","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1160,"y":260,"wires":[["d1dc65226481d08d","ffa2c704952554eb","49bf91afa398c57b","52cafc84def17be9","76b86a53872bec65","3bd3ab64f8f65526"]]},{"id":"d1dc65226481d08d","type":"api-call-service","z":"63733c92cd9ca5d4","name":"PushOver Benachrichtigung Haupteingang","server":"787d7ae2.456504","version":5,"debugenabled":false,"domain":"notify","service":"pushover","areaId":[],"deviceId":[],"entityId":[],"data":"{\t   \"message\":\"Auslöser: {{msg.data.new_state.attributes.open_sensors}}\",\t   \"title\":\"Alarm wurde ausgelöst\",\t   \"target\":\"Daniels_iPhone_6\",\t   \"data\":{\t       \"attachment\":\"/media/haupteingang.jpg\",\t       \"priority\":\"2\",\t       \"retry\":\"60\",\t       \"expire\":\"3600\"\t       }\t}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1510,"y":260,"wires":[[]]},{"id":"ffa2c704952554eb","type":"debug","z":"63733c92cd9ca5d4","name":"debug 11","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1500,"y":20,"wires":[]},{"id":"49bf91afa398c57b","type":"api-call-service","z":"63733c92cd9ca5d4","name":"PushOver Benachrichtigung Ostseite","server":"787d7ae2.456504","version":5,"debugenabled":false,"domain":"notify","service":"pushover","areaId":[],"deviceId":[],"entityId":[],"data":"{\t   \"message\":\"Auslöser: {{open_sensors}}\",\t   \"title\":\"Alarm wurde ausgelöst\",\t   \"target\":\"Daniels_iPhone_6\",\t   \"data\":{\t       \"attachment\":\"/media/ostseite.jpg\",\t       \"priority\":\"2\",\t       \"retry\":\"60\",\t       \"expire\":\"3600\"\t       }\t}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1490,"y":300,"wires":[[]]},{"id":"52cafc84def17be9","type":"api-call-service","z":"63733c92cd9ca5d4","name":"PushOver Benachrichtigung Westseite","server":"787d7ae2.456504","version":5,"debugenabled":false,"domain":"notify","service":"pushover","areaId":[],"deviceId":[],"entityId":[],"data":"{\t   \"message\":\"Auslöser: {{open_sensors}}\",\t   \"title\":\"Alarm wurde ausgelöst\",\t   \"target\":\"Daniels_iPhone_6\",\t   \"data\":{\t       \"attachment\":\"/media/westseite.jpg\",\t       \"priority\":\"2\",\t       \"retry\":\"60\",\t       \"expire\":\"3600\"\t       }\t}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1490,"y":340,"wires":[[]]},{"id":"76b86a53872bec65","type":"api-call-service","z":"63733c92cd9ca5d4","name":"PushOver Benachrichtigung Terrasse","server":"787d7ae2.456504","version":5,"debugenabled":false,"domain":"notify","service":"pushover","areaId":[],"deviceId":[],"entityId":[],"data":"{\t   \"message\":\"Auslöser: {{open_sensors}}\",\t   \"title\":\"Alarm wurde ausgelöst\",\t   \"target\":\"Daniels_iPhone_6\",\t   \"data\":{\t       \"attachment\":\"/media/terrasse.jpg\",\t       \"priority\":\"2\",\t       \"retry\":\"60\",\t       \"expire\":\"3600\"\t       }\t}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1490,"y":380,"wires":[[]]},{"id":"3bd3ab64f8f65526","type":"api-call-service","z":"63733c92cd9ca5d4","name":"PushOver Benachrichtigung Garage","server":"787d7ae2.456504","version":5,"debugenabled":false,"domain":"notify","service":"pushover","areaId":[],"deviceId":[],"entityId":[],"data":"{\t   \"message\":\"Auslöser: {{open_sensors}}\",\t   \"title\":\"Alarm wurde ausgelöst\",\t   \"target\":\"Daniels_iPhone_6\",\t   \"data\":{\t       \"attachment\":\"/media/garage.jpg\",\t       \"priority\":\"2\",\t       \"retry\":\"60\",\t       \"expire\":\"3600\"\t       }\t}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1490,"y":420,"wires":[[]]},{"id":"787d7ae2.456504","type":"server","name":"Home Assistant","addon":true}]