@tom_l Thanks but that’s not the problem… I have live feed working without local accessible to a snapshot folder and it works great
@Charles_Brown I looked at your examples and thought that you might be able to share some light on my problem?
@robbiet480 I used your excellent youtube video to create this notification, but I haven’t been able to find any way to split it up into multiple notification since it requires the category “camera” to be used, I keep getting the same action below each notification?
The one to the left is ok - Garageport open and action to close the port
The one to the right is wrong should be without any action to close the garageport
I want the same camera to show the live feed in both two scenarios
1. Motion detection
2. Garage opening with IOS action to close it again?
My challenge is that no matter what I try to do I keep getting the action to close the garage door.
And that is really bad because that would open the door if pushed when motion detection triggers.
But I need the “camera” category/identifier under IOS settings which interfers with my secound notification?
ios:
push:
categories:
- name: garageport
identifier: 'camera'
actions:
- identifier: 'CLOSE_GARAGEPORT' ## This must point to an action ##
title: 'Tryk her for at Lukke Garageporten?'
activationMode: 'background'
authenticationRequired: yes
destructive: no
behavior: 'default'
Then the action:
# Garageport IOS ACTION
- alias: iOS app notification action garage1
initial_state: true
hide_entity: true
trigger:
platform: event
event_type: ios.notification_action_fired
event_data:
actionName: CLOSE_GARAGEPORT
action:
- service: cover.close_cover
entity_id: cover.sonoff_sv_garage
Then the IOS notification:
# Garageport IOS Notification
- alias: Notify IOS garageport is open
initial_state: true
hide_entity: true
trigger:
- platform: state
entity_id: cover.sonoff_sv_garage
from: 'closed'
to: 'open'
action:
- service: notify.ios_group_caspersen_home
data:
attachment:
content-type: jpeg
push:
category: 'camera'
entity_id: camera.axis_m1031w15
- service: notify.ios_group_caspersen_home
data:
title: "Garageport status"
message: "Garageporten er åben {{ states('sensor.time') }}"
data:
push:
sound: "US-EN-Daisy-Garage-Door-Open.wav" ## Sound files: https://www.home-assistant.io/docs/ecosystem/ios/notifications/sounds/
badge: 0 ## This will remove the badge/app icon number ##
category: 'camera'
entity_id: camera.axis_m1031w15
And finally the second Motion notification:
# Automations notification for Garage if Nobodys home
- alias: Garage movement
hide_entity: true
initial_state: 'on'
trigger:
- platform: state
entity_id: binary_sensor.garage_entry
to: 'on'
- platform: state
entity_id: binary_sensor.garage_motion
to: 'on'
action:
- service: notify.ios_group_caspersen_home
data:
message: "Der er aktivitet i garagen? {{ states('sensor.time') }}"
title: "Home Assistant"
data:
attachment:
content-type: jpeg
push:
sound: "US-EN-Alexa-Motion-In-Garage.wav"
category: 'camera'
entity_id: camera.axis_m1031w15
As you can see the category ‘camera’ is used every time to get the live feed…
But if I change it to ‘garage1’ the livefeed dosent work, and I really don’t want the snapshot setup
All help to clear this up would be much appreciated
Regards
Casperse