Two cameras on imou_life here: an old Dahua bullet in the garden (it’s been sitting in the Imou app for years — ancient model, but the live stream still works) and a PTZ I swapped in at the front door this year.
All I want is the boring version: either camera thinks there’s someone there → hallway light on for 90 seconds. README mentions imou_life_alarm, and event push is on in the integration.
Person detection is off on the old bullet in the app (too many trees, too many false positives). Developer tools shows a real push of videoMotion, I copied that into YAML, first trigger works.
Person detection is on for the door PTZ in the app, but I never see its events in Developer tools. The Open Platform alarm type table has human (person appeared) and videoMotion (picture change), so I put human on the PTZ — figured if the app has person detection on, the type name should line up. Second trigger’s trace is always empty, even though the phone app is firing person alerts for the PTZ.
automation looks roughly like this (SNs redacted):
triggers:
- trigger: event
event_type: imou_life_alarm
event_data:
device_id: 5L0123…CDEF
channel_id: "0"
msg_type: videoMotion # old bullet, copied from a real Developer tools push
- trigger: event
event_type: imou_life_alarm
event_data:
device_id: 8A09AB…3456
channel_id: "0"
msg_type: human # PTZ, from the Open Platform docs — never seen this in HA
Diagnostics recent_msg_type_counts only ever increments videoMotion — no PTZ-related keys at all. Anyone mixing old and new cameras in automations hit a gotcha like this?