Fetch Cameras with Specific MQTT Brokers

Solved
Dhakal
Conversationalist

Fetch Cameras with Specific MQTT Brokers

Is it possible to filter out a list of cameras based on the MQTT broker? Or any other APIs which let you fetch cameras for specific MQTT brokers?

1 Accepted Solution
sungod
Kind of a big deal

Don't think there's a single call.

 

You could get a list of cameras and their networks with https://developer.cisco.com/meraki/api-v1/get-organization-devices-statuses/

 

The broker IDs for a network can be found with https://developer.cisco.com/meraki/api-v1/get-network-mqtt-brokers/

 

Then iterate through cameras using https://developer.cisco.com/meraki/api-v1/get-device-camera-sense/ and select the broker ID(s) of interest.

 

 

View solution in original post

1 Reply 1
sungod
Kind of a big deal

Don't think there's a single call.

 

You could get a list of cameras and their networks with https://developer.cisco.com/meraki/api-v1/get-organization-devices-statuses/

 

The broker IDs for a network can be found with https://developer.cisco.com/meraki/api-v1/get-network-mqtt-brokers/

 

Then iterate through cameras using https://developer.cisco.com/meraki/api-v1/get-device-camera-sense/ and select the broker ID(s) of interest.

 

 

Get notified when there are additional replies to this discussion.