Trigger using phone notification

Hi.

What is the easiest way to trigger Home Assistant from an specific nofification on my phone? I have a Eufy security camera and want to switch on a TP-Link switch when the camera is triggered. I dont think i can directly access the camera so I want to use the notification on my phone as a trigger.

Thanks for any help.

Lee

1 Like

Can you not integrate the camera through the eufy integration?

Do I understand correctly that you want to trigger on a notification that you receive on your phone that is not coming from Home Assistant? If so you may be able to do something with Android and tasker but on iOS there’s no way to do this as far as I know.

I have installed the eufy security intergration (https://github.com/nonsleepr/ha-eufy-security) which displays the last image from the camera but i cant seem to figure out a way to use it so when the camera is motion activated it triggers an action in home assistant.

Originally i was thinking another option was to sent home assistant a trigger when i recieve a notification from the camera on my phone. Although this relies on my phone being switched on all the time. Ideally id like to do it all through HA.

Thanks

I’m not familiar with this component. Do you get a camera.xxx entity? If so, does this entity change its state or an attribute of it, when motion is detected?

I’m also attempting the same as engltayl.

After installing and configuring the ha-eufy-security integration from HACs I have two cameras (Doorbell and Garden). I’m attempting to turn a switch on that lights up my porch when movement is detected by the eufy doorbell.

To that end I’ve taken a snapshot of the Doorbell attributes when totally idle and when I’m standing in front of it doing a little dance (OK maybe not). There doesn’t appear to be any differences.
Also the State remained “idle” throughout despite my phone telling me that a human has been detected.

Before:

'1011': '1'
'1013': '1'
'1015': '0'
'1045': '0'
'1056': '0'
'1101': '80'
'1131': '1'
'1138': '22'
'1142': '-69'
'1145': '0'
'1148': '0'
'1149': '-1'
'1150': '-1'
'1177': '255'
'1210': '112'
'1225': '9'
'1229': '100'
'1230': '100'
'1239': '9'
'1240': '1'
'1241': '1'
'1243': '2'
'1246': '1'
'1273': '1'
'1276': '4'
'1277': '1'
'1286': '2'
'1288': '0'
'1401': '100'
'1408': '0'
'1702': '1'
'1703': '1'
'1704': '1'
'1705': '5'
'1708': '80'
'1709': '0'
'1710': >-
  {"notification_motion_onoff":1,"notification_ring_onoff":1,"notification_style":2}
'1714': '0'
'1716': '1'
'1717': '16'
'1718': '2'
'2111': '3'
'99904': '0'
'100000': '1'
model_name: T8210
brand: Eufy Security
attribution: Data provided by Eufy Security
hardware_version: T8210
software_version: 2.2.1.3
device_upgrade_now: 0
detect_switch: 1
snooze_mode: null
watermark_mode: 1
push_msg_mode: 0
friendly_name: Doorbell
supported_features: 3

After (while dancing):

'1011': '1'
'1013': '1'
'1015': '0'
'1045': '0'
'1056': '0'
'1101': '80'
'1131': '1'
'1138': '22'
'1142': '-69'
'1145': '0'
'1148': '0'
'1149': '-1'
'1150': '-1'
'1177': '255'
'1210': '112'
'1225': '9'
'1229': '100'
'1230': '100'
'1239': '9'
'1240': '1'
'1241': '1'
'1243': '2'
'1246': '1'
'1273': '1'
'1276': '4'
'1277': '1'
'1286': '2'
'1288': '0'
'1401': '100'
'1408': '0'
'1702': '1'
'1703': '1'
'1704': '1'
'1705': '5'
'1708': '80'
'1709': '0'
'1710': >-
  {"notification_motion_onoff":1,"notification_ring_onoff":1,"notification_style":2}
'1714': '0'
'1716': '1'
'1717': '16'
'1718': '2'
'2111': '3'
'99904': '0'
'100000': '1'
model_name: T8210
brand: Eufy Security
attribution: Data provided by Eufy Security
hardware_version: T8210
software_version: 2.2.1.3
device_upgrade_now: 0
detect_switch: 1
snooze_mode: null
watermark_mode: 1
push_msg_mode: 0
friendly_name: Doorbell
supported_features: 3

It’s probably best to open an issue on the github page of the custom component. I can’t help as I don’t own such a camera.