The WiFi Motion Core Cloud APIs facilitate the creation, configuration, and management of WiFi Motion networks via RESTful APIs. Additionally, it offers interfaces for accessing topologies, events, and motion data. This documentation outlines the endpoints for engaging with the WiFi Motion cloud and includes specifications for the following APIs:
The live motion API opens a web socket and triggers the network to emit recorded motion at a 500ms interval.
High-level APIs for retrieving the network's topology, last status message, or to view or modify the network's metadata.
The location data APIs expose localized motion data. Localization happens on a per mac, or custom location name base.
A set of APIs to find a network in the WiFi Motion Cloud. Individual, or groups of networks can be queried by their primary identifiers or by MAC.
APIs of the internal Home Insights Microservice. Used for motion-based activity and sleep insights.
Fine-grained network configuration. These APIs give full access to the underlying motion detection controls, but have no safeguards to prevent unwanted side effects. For friendlier configuration management, see the Network Settings APIs.
Interface to manage the access point or mesh nodes of a network. Provides APIs to find, delete or alter the configuration of nodes.
Endpoint used by WiFi Motion agent for the initial cloud connection. This API returns credentials for connecting to the MQTT broker and stores the initial network configuration. We don't recommend using this API directly.
Execute commands directly on the network's access point, or on a mesh node. We recommend using the NOC Management Page for these actions.
https://docs.cognitivesystems.com/_mock/assets/specs/mns/v3-x-x/
https://docs.cognitivesystems.com/_mock/assets/specs/mns/v3-x-x/network/{network_id}/topology
curl -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/mns/v3-x-x/network/{network_id}/topology?offline=false'
OK
Device list
Device info record
Link fixed vs mobile detection state
Keys are leaf macs, value is: "" - automatic sounding "1" - sounding forced enabled "0" - disabled
Device interconnect
{ "ts": 0.1, "devices": [ { … } ], "links": [ { … } ] }
https://docs.cognitivesystems.com/_mock/assets/specs/mns/v3-x-x/network/{network_id}/edit
curl -i -X DELETE \
'https://docs.cognitivesystems.com/_mock/assets/specs/mns/v3-x-x/network/{network_id}/edit?annihilate=true'
https://docs.cognitivesystems.com/_mock/assets/specs/mns/v3-x-x/network/{network_id}/status
curl -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/mns/v3-x-x/network/{network_id}/status?key=string'
{ "leafblower": { "property1": { … }, "property2": { … } }, "network_id": 0, "shard_id": "string", "radars": { "property1": { … }, "property2": { … } }, "ts": 0.1, "last_motion": 0.1, "motion_tripped": 0, "startup": true, "version": { "property1": "string", "property2": "string" }, "health": { "nodes": { … }, "network": 0 }, "capabilities": [ "string" ], "coverage": { "property1": [ … ], "property2": [ … ] }, "guardian_id": "string", "dhcp": { "property1": { … }, "property2": { … } }, "motion_enabled": 0, "armed": 0 }