71
MQTT-f lex conf igurat ion example:
{
"config":{
"broker":{
"type":"generic",
"protocol":"mqtt",
"ssl":"false",
"url":"broker.hivemq.com",
"port":1883,
"username":"",
"password":""
},
"subscribe":[
{
"topic":"netio/${DEVICE_NAME}/output/1/action",
"qos":0,
"target":"OUTPUTS/1/ACTION",
"action":"${payload}"
},
{
"topic":"netio/${DEVICE_NAME}/output/1/delay",
"qos":0,
"target":"OUTPUTS/1/DELAY",
"action":"${payload}"
}
],
"publish":[
{
"topic":"netio/${DEVICE_NAME}/output/1/voltage",
"qos":0,
"retain":false,
"payload":"${OUTPUTS/1/VOLTAGE} V",
"events":[
{
"type":"delta",
"source":"OUTPUTS/1/VOLTAGE",
"delta":40
},
{
"type":"timer",
"period":3600
}
]
},
{
"topic":"netio/${DEVICE_NAME}/output/1/state",
"qos":0,
"retain":true,
"payload":"${OUTPUTS/1/STATE}",
"events":[
{
"type":"change",
"source":"OUTPUTS/1/STATE"
Summary of Contents for PowerCable Modbus 101 Series
Page 3: ...3 ...
Page 13: ...13 4 3 Drawings Figure 7 PoweCable xxx 101x side view Figure 8 PoweCable xxx 101x t op view ...
Page 28: ...28 Figure 27 Reset t ing t he consumpt ion count er ...
Page 44: ...44 7 PowerCable REST 101x 7 1 Overview Only one protocol can be active ...
Page 59: ...59 8 PowerCable Modbus 101x 8 1 Overview Only one protocol can be active ...
Page 69: ...69 9 PowerCable MQTT 101x 9 1 Overview Only one protocol can be active ...