Closed pannal closed 2 months ago
When using "turn camera on/off" in the Yi app, the camera automatically moves its "head" down into the "lens isn't visible anymore"-position. I'd like to be able to do that using HA.
The 1st error is normal. I don't know how to tell to ha that the cam is disable. I could try to catch the error. The 2nd error should be fixed here: https://github.com/roleoroleo/yi-hack_ha_integration/commit/6d45b9a2e38c3434da9b83aff372c9ca7a431756
About the "turn camera on/off" in the Yi app, I'm not able to implement it. But the privacy is ok: rtsp and snapshots are switched off.
Yes, you could try to use ptz service to move the head into a preset position.
The 1st error is normal. I don't know how to tell to ha that the cam is disable. I could try to catch the error.
I checked this error. Is not normal but it doesn't depend on the component. It's a "simple" connection error, probably a temporary wifi issue. Because it's related to a http request to which the cam must always respond.
Thank you. Is there a way to move to a predefined PTZ preset using the HA integration? The webinterface of the Yi Hack camera has this functionality.
Edit: The webinterface uses /cgi-bin/preset.sh?num=X
for this
Check ptz service.
Yes but PTZ service only allows me to PTZ, not to activate presets, as far as I can see. Am I missing something?
You are right. At the moment you can't use presets with ha.
Hi @pannal!
I am at the same boat. Could you be able to face down the U pro? And able to move 360º from HA?
Best!
When I turn the camera off from the camera settings page in the Web UI, the head tilts face down and the camera stops streaming, but when I switch on privacy mode from HA nothing happens. Can the HA privacy switch toggle the "camera on/off" setting from the Camera Settings page in the Web UI?
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.
Hey,
Thank you for the hack and the integration. I'm using the Yi Dome U Pro.
I'd like to turn on the privacy mode ("face-down" and off) using HA - how does that work?
I've tried
camera.turn_off
, which seems to kill the stream itself resulting in the image not to show anymore and these log entries:Using
camera.turn_on
doesn't work afterwards, with this error:Should I use a saved PTZ position and
switch.yi_cam_1_privacy
to achieve this?Thank you!