IoTScape

The IoTScape Service enables remote devices to provide custom services. Custom Services can be found under the “Community/Devices” section using the call <RPC> block.

RPCS

IoTScape.getDevices(service: String)

List IDs of devices associated for a service

Arguments:

  • service: String (String) - Name of service to get device IDs for

IoTScape.getMessageTypes(service: String)

List the message types associated with a service

Arguments:

  • service: String (String) - Name of service to get events for

IoTScape.getMethods(service: String)

List the methods associated with a service

Arguments:

  • service: String (String) - Name of service to get methods for

IoTScape.getServices()

List all IoTScape services registered with the server

IoTScape.send(service: String, id: String, command: String)

Make a call to a device as a text command

Arguments:

  • service: String (String) - Name of service to make call to

  • id: String (String) - ID of device to make call to

  • command: String (String) - Input to RPC