Hey,
I have a 1-bit GRP address with MQTT direction set to Both. Reading works fine in both directions, but writing has a problem:
Send false via MQTT → LM5 gets true
Send true via MQTT → LM5 gets true
My script:
return json.encode({
value = value,
dataUnit = ' ',
state = value
})
Tried removing the state field too, same result.
Writing from lm5 works fine ,
I have a 1-bit GRP address with MQTT direction set to Both. Reading works fine in both directions, but writing has a problem:
Send false via MQTT → LM5 gets true
Send true via MQTT → LM5 gets true
My script:
return json.encode({
value = value,
dataUnit = ' ',
state = value
})
Tried removing the state field too, same result.
Writing from lm5 works fine ,