yi-hack_ha_integration icon indicating copy to clipboard operation
yi-hack_ha_integration copied to clipboard

Don't record temporarily

Open pannal opened this issue 1 year ago • 5 comments

Hey there,

I'm using the HA integration with two r30gb and am able to turn them on and off. However, as the PTZ doesn't work while the cameras are off, and I have them set to a "privacy orientation" normally, I need to use the PTZ to move them to the "surveillance" orientation after turning them on.

This leads to motion being detected and videos to be saved. Can this be circumvented? Can I turn recording/motion detection off while moving them with the PTZ service?

Thank you!

pannal avatar Jan 25 '24 09:01 pannal

The only way to turn off recording is killing the process mp4record. But it's not completely safe and requires time to restart. Probably is not a good idea.

roleoroleo avatar Jan 27 '24 12:01 roleoroleo

Thank you. Is it possible to have PTZ working while the camera is set to off in HA? That would fix the issue as well.

pannal avatar Feb 01 '24 08:02 pannal

About mp4record there is a web service to handle start and stop: https://github.com/roleoroleo/yi-hack-Allwinner-v2/wiki/Web-services-description#service-start-and-stop

Thank you. Is it possible to have PTZ working while the camera is set to off in HA? That would fix the issue as well.

Which command do you use to move the cam? onvif? ptz service?

roleoroleo avatar Feb 03 '24 16:02 roleoroleo

PTZ service

pannal avatar Feb 03 '24 20:02 pannal

It depends on the cam, but in general it's not possible. The cam doesn't reply to ptz command, neither remote nor local.

roleoroleo avatar Feb 14 '24 15:02 roleoroleo

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar May 15 '24 02:05 github-actions[bot]