30 lines
922 B
JSON
30 lines
922 B
JSON
{
|
|
"comment": "From QIoT MQTT Server",
|
|
"username": "758cb1b5-d631-4cee-9b20-9e8d5029606d",
|
|
"myqnapcloudHost": "Not Available",
|
|
"clientId": "SONOFFSwitch_1516965632",
|
|
"host": [
|
|
"192.168.89.12"
|
|
],
|
|
"password": "r:fa6d6a2834aaabaa88529444c9564ffd",
|
|
"port": 21883,
|
|
"resources": [
|
|
{
|
|
"description": "Power on/off switch",
|
|
"datatype": "Boolean",
|
|
"resourceid": "switch",
|
|
"topic": "qiot/things/admin/SONOFFSwitch/switch",
|
|
"resourcename": "switch",
|
|
"resourcetypename": "Button",
|
|
"unit": ""
|
|
}
|
|
],
|
|
"example-payload": {
|
|
"deviceId": "dsjhjshsdjkjsdkdsjsdjdsksdjd",
|
|
"sensorId": "QIoTDevice",
|
|
"value": 18,
|
|
"metadata": {"unit": "C", "datatype": "Float"}
|
|
},
|
|
"pub-topic": "sonoff/sonoff_D927D7/switch",
|
|
"sub-topic": "sonoff/sonoff_D927D7/command"
|
|
} |