I hope this is the right forum section for this topic...
Is it possible to control more then one Domoticz's Ligth/Switch by MQTT broker message ("Domoticz/in" topic).
Everythings work fine when I use MQTT Topic: domoticz/in, Message: { "idx" : 2, "nvalue" : 1}
But I want to control more than one ligth/switch in one MQTT message, is it possible ?
I try to use JSON array like:
Code: Select all
{{ "idx" : 2, "nvalue" : 1} { "idx" : 3, "nvalue" : 1} }
[ { "idx" : 2, "nvalue" : 1}, { "idx" : 3, "nvalue" : 1} ]
{[{ "idx" : 2, "nvalue" : 1}, { "idx" : 3, "nvalue" : 1}]}
{ "idx": [ { "idx" : 2, "nvalue" : 1}, { "idx" : 3, "nvalue" : 1} ] }
{ "idx": 2, "nvalue": [ { "idx" : 2, "nvalue" : 1}, { "idx" : 3, "nvalue" : 1} ] }
someone could point to me whether I use the wrong syntax or Domoticz doesn't handle such inquiries ?
R.W.