Publish service
Publish service provides message delivery function to the device from ThingScale.
By Publish service, it will deliver the command to the device that are subscribed to the MQTT broker of ThingScale.
Publish MQTT messages to device
Endpoint
URI | HTTPメソッド |
---|---|
https://m.thingscale.io/v2/publish/<DEVICE_ID> | POST |
Parameter
Destination MQTT Topic
Topic | Payload |
---|---|
<device_token>/<device_id>/subscribe | contents of "payload" (NOTE)Messages that are commonly published to the device includes a control command . |