Joseph Oliai Posted April 29, 2025 Posted April 29, 2025 I am trying to arm and disarm a camera with the gRPC protocol. So far I succeeded to enable and disable a camera but I have no idea how I can arm and disarm a camera. Should I use the ChangeConfigRequest and directly change the config of the video channel? Quote
samuelharris Posted Monday at 12:08 AM Posted Monday at 12:08 AM ChangeConfigRequest is the right idea for enable/disable, but arming usually lives on a different service than the video channel config. Check the device's capabilities first, since not every camera exposes an arm/disarm action, and then look for the specific request that carries the armed state rather than editing channel config directly. If the config schema has an armed flag on the channel or device object, use that path, but confirm the field name from the service definition you're compiling against. Sharing the request type you used for enable would make it easier to point you at the matching arm call. Quote
Recommended Posts
Join the conversation
If you have an account, sign in now to post with your account.