camect / camect-py

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

Add callbacks for camera enabled/disabled #10

Open jimboca opened 3 years ago

jimboca commented 3 years ago

When a camera is enabled or disabled in the app no callback is executed.

chao-camect commented 3 years ago

We do have events like "alert_disabled", "alert_enabled", "camera_offline", "camera_online". When you disable a camera, an "camera_offline" event will be sent after about 3 minute (default).

jimboca commented 2 years ago

@chao-camect somehow I missed your response to this. These are nice, but would also be good to have callbacks for camera being disabled/enabled and streaming/notstreaming. Also camera online/offline is not sent with data returned by list_cameras