fuatakgun / eufy_security

Home Assistant integration to manage Eufy Security devices as cameras, home base stations, doorbells, motion and contact sensors.
889 stars 73 forks source link

Add calibrate button/service #936

Closed Cheerpipe closed 11 months ago

Cheerpipe commented 11 months ago

Is your feature request related to a problem? Please describe. Eufy cameras supports a calibrate command. I tested it and is working well using this:

service: eufy_security.send_message data: message: {"messageId": "calibrate","command": "device.calibrate","serialNumber": "T8410PZZZZZZZZZZ"}

This command is usefull to ensure camera fov is OK and to fix len position after a external/phisical manupulation of the camera

Describe the solution you'd like Would be nice to have a button and/or service to call calibrate without need of a script.

Describe alternatives you've considered Create a calibrate button and/or service

Additional context Tested on a Indoor Cam 2K Pan & Tilt

fuatakgun commented 11 months ago

between all other issues, this is the easiest one :)

fuatakgun commented 11 months ago

hey, I do not see calibrate command here: https://bropat.github.io/eufy-security-ws/#/api_cmds?id=station-level-commands

but apparently, it is working well :)

fuatakgun commented 11 months ago

get 7.2.0 and you will have it

Cheerpipe commented 11 months ago

Working well on my eufy 2k pan tilt (Button and Service).

Thanks!