Hey everyone! Im getting my feet wet with this whole home automation thing and the first thing i wanted to get out of the way was a doorbell notification but i cant for the life of me get it going the way i want. What i have set up;
-Set up my IP camera to generate a jpeg on doorbell event and broadcast an mqtt … thing (not into the lingo yet so please bear with me)
-Set up a mqtt broker server (in docker) to relay the mqtt thing from my camera
-Set up HA (in docker) with mqtt integration configured to listen to this broadcast so i can use it as a trigger
-Installed ios app on my phone
-Made a little super basic yaml file to connect everything together;
alias: Doorbell ring description: On doorbell event display image in notification on phone - platform: mqtt topic: voordeur_alert id: voordeur_alert condition:  action: - device_id: xxxxxx domain: mobile_app type: notify title: RING! message: Doorbell mode: single
And this works fine, on doorbell event i get my notification… except that as soon as i try to get any image to show up in the notification everything breaks and i get the most useless yaml errors or the web interface simply doesnt feel like saving or cooperating any longer. I am missing a crucial step in how to manually add stuff like this to my automation file or even where to find the proper way to format all of this. If i see one more ‘Message malformed: extra keys not allowed @ data[‘data’]’ in my life then it will be too soon.
So the actual question; How do i make a jpeg on a network location (that all devices have access to) show up inside this notification? Preferably when i click the notification it opens the image fullscreen (or opens it in browser) instead of opening my home automation app.