BPAPI Methods

BPAPI method Device/Simulate

Device/Simulate

Simulates reporting of value for DeviceProperty identified by {property_name} for the devices identified by {id}

Authorization required: Yes

HTTP methods allowed: GET, POST

Syntax: Device/{id}/Simulate/{property_name}/{value}/  Details 

Simulates reporting of value for DeviceProperty identified by {property_name} for the devices identified by {id}

For virtual devices ("virtual_mode" = "1" at gateway-level) simulation is attempted by sending a request direct to the virtual gateway.
In other words, simulation will also use the communication and message parsing functionality, that is, going even deeper down the "stack", and the state of the virtual simulation will also be updated

{id} may be any of node_id, user_defined_name, user_defined_group_name and bpapi_device_id
See Device for more information about what kind of id's that can be used


Unit-tests: 1 test(s)

Popularity: 646 (number of times method has been accessed)

Documentation and tests automatically generated from source-code 2020-04-09 21:17