Simplify MQTT structure
This commit is contained in:
@ -6,5 +6,8 @@
|
||||
"h": 56,
|
||||
"label": "On",
|
||||
"type": 1,
|
||||
"mqtt": [ "/topic1 Hello", "/t2 Wereld", "/topic3", "", "/top4" ]
|
||||
"mqtt": [
|
||||
{ "topic": "/topic1", "message": {"string": 100, "args": {"int":100, "str":"string1"}}},
|
||||
{ "topic": "/topic2", "message": {"string": 200, "args": { "int":200, "str":"string2"}}}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user