camect / camect-py

A client library to talk to Camect.
MIT License
13 stars 8 forks source link

Add Method to Enable/Disable Camera #7

Open jimboca opened 3 years ago

jimboca commented 3 years ago

@camect @chao-camect Please allow us to enable/disable camera on it's own. I currently use mode on the hub, but would like finer control of each camera in my home automation system

chao-camect commented 4 months ago

You can use enable_alert / disable_alert.

jimboca commented 4 months ago

Yes of course I am aware and use that. But if the camera is disabled in Home mode I can't re-anable it from my home automation.

chao-camect commented 4 months ago

The home mode has priority. We don't have a way enable cameras that's disabled by home mode. Can you take me a bit about the use case here?

jimboca commented 4 months ago

Sometimes when I am Home, I just want to enable one camera that is typically off when I am home, and since my Home Automation App has all cameras listed that have ever been enabled on that hub it would be easiest just to enable it thru that App, or with my home automation routines.

I can do this in the PWA by showing all disabled cameras, then enabling that one, so I was hoping the same functionality could be exposed in API.