SwitchBotAPI icon indicating copy to clipboard operation
SwitchBotAPI copied to clipboard

Add Privacy On/Off and Recording On/Off to Cameras

Open jbasen opened this issue 3 years ago • 1 comments

Current Situation

Please add the ability turn privacy mode on/off and the ability to start/stop recording to the SwitchBot cameras.

The vast majority of people with an indoor camera are going to want privacy mode to be turned on anytime they are home. So the use cases are:

  1. Turn privacy mode off when the home is unoccupied. This could be triggered through a security system being armed or through geofencing
  2. Turn privacy mode on when the home becomes occupied. Again this could be triggered through a security system being disarmed or through geofencing
  3. Start recording if a security system detects an emergency (fire, burglar, etc)
  4. Stop recording when the security system is disarmed

None of this would prevent a user from using the SwitchBot app turn privacy off and start recording if they wanted to, for example, monitor a baby sitter with their kids while they are out.

Thanks

Proposed Change

Add privacy on/off and recording on/off commands to the API

Additional Context

No response

jbasen avatar Jan 10 '23 00:01 jbasen

I have been digging into the camera and found that turning privacy on/off and recording on/off can be triggered through scenes and the API does support the ability to trigger a scene. However, this puts a burden on the user to setup scenes in such a way that they can be triggered through the API/ And, this process can be error prone. While using scenes to trigger these functions is a work around, I still think the API should support these functions directly.

It would also be nice if the other camera features that are supported through scenes including

  • Motion Detection
  • Detection Sound Alarm
  • Night Vision
  • Move to Preset Point

were also included in the API for the Pan/Tilt Camera

Thanks

jbasen avatar Jan 10 '23 23:01 jbasen