I'm trying to send a variable from Node-Red to Domoticz via http. In Node-red I make a variable available in a msg.payload, but if I do it as below, I get the value 0 for the dummy variable in Domoticz.
/json.htm?type=command¶m=udevice&idx=&nvalue=0&svalue={{msg.payload}}
In Domoticz I always see the value 0 appear, but if I change {{msg.payload}} to 21, then I see exactly 21 appear in Domoticz.
What am I doing wrong?