stream:
ffmpeg:
camera:
ezviz_cloud:
cameras:
E12345678: Serial number from camera
username: admin
password: Password_from_camera_sticker.
E12345678: Serial number from camera
username: admin
password: Password_from_camera_sticker.
The above is how I integrated the platform into my configuration yaml AFTER installing https://github.com/RenierM26/ha-ezviz from HACS.
Then this below is the automation to record video that I use. With a notification as well. Works pretty decent.
alias: Gate Record
description: ''
trigger:
- platform: state
entity_id: camera.husky_air_e12345678
attribute: Last alarm triggered
condition: []
action:
- service: camera.record
data:
entity_id: camera.husky_air_e12345678
filename: /media/Gate/camera.mp4
duration: 25
lookback: 18
entity_id: camera.husky_air_e12345678
- service: notify.notify
data:
message: Gate
mode: parallel
max: 10