File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -504,12 +504,21 @@ reading `c` with the context attribute `count` (which is defined as an `Integer`
504504> model defines attributes such as `category` or `controlledProperty` which enable queries to be made like:
505505>
506506> - _Which **Actuators** currently have a low `batteryLevel`?_
507+ >
508+ > `/v2/entities?q=category=="actuator";batteryLevel<0.1`
509+ >
507510> - _Which **Devices** measuring `fillingLevel` were installed before January 2020?_
508511>
512+ > `/v2/entities?q=controlledProperty=="fillingLevel";dateInstalled<"2020-01-25T00:00:00.000Z"`
513+ >
509514> Obviously static data can be extended as necessary and can also include additional data such as a unique `name` or
510515> `serialNumber` for each device should the entity ID be too inflexible for queries.
511516>
517+ > `/v2/entities?q=serialNumber=="XS403001-002"`
518+ >
512519> Additionally devices with a fixed `location` static attribute can also be queried using the Geofencing parameters.
520+ >
521+ > `/v2/entities?georel=near;maxDistance:1500&geometry=point&coords=52.5162,13.3777`
513522
514523You can simulate a dummy IoT device measurement coming from the **Motion Sensor** device `motion001`, by making the
515524following request
Original file line number Diff line number Diff line change @@ -490,12 +490,21 @@ reading `c` with the context attribute `count` (which is defined as an `Integer`
490490> model defines attributes such as `category` or `controlledProperty` which enable queries to be made like:
491491>
492492> - _Which **Actuators** currently have a low `batteryLevel`?_
493+ >
494+ > `/v2/entities?q=category=="actuator";batteryLevel<0.1`
495+ >
493496> - _Which **Devices** measuring `fillingLevel` were installed before January 2020?_
494497>
498+ > `/v2/entities?q=controlledProperty=="fillingLevel";dateInstalled<"2020-01-25T00:00:00.000Z"`
499+ >
495500> Obviously static data can be extended as necessary and can also include additional data such as a unique `name` or
496501> `serialNumber` for each device should the entity ID be too inflexible for queries.
497502>
503+ > `/v2/entities?q=serialNumber=="XS403001-002"`
504+ >
498505> Additionally devices with a fixed `location` static attribute can also be queried using the Geofencing parameters.
506+ >
507+ > `/v2/entities?georel=near;maxDistance:1500&geometry=point&coords=52.5162,13.3777`
499508
500509You can simulate a dummy IoT device measurement coming from the **Motion Sensor** device `motion001`, by making the
501510following request
You can’t perform that action at this time.
0 commit comments