Good day I have installed Node-RED and mosquito. I am sending data from Domoticz via MQTT and created a simple flowchart at the end I set msg.payload and I get data like this from different sensors:
{
"Battery" : 255,
"RSSI" : 12,
"description" : "",
"dtype" : "Temp",
"id" : "82002",
"idx" : 5,
"meterType" : "Energy",
"name" : "Test",
"nvalue" : 0,
"stype" : "LaCrosse TX3",
"svalue1" : "55.5",
"unit" : 1
}
Is it possible to assign the value itself from e.g. svalue1 to a variable so that I can use this variable in another function ? I mean just the value 55.5
{
"Battery" : 255,
"RSSI" : 12,
"description" : "",
"dtype" : "Temp",
"id" : "82002",
"idx" : 5,
"meterType" : "Energy",
"name" : "Test",
"nvalue" : 0,
"stype" : "LaCrosse TX3",
"svalue1" : "55.5",
"unit" : 1
}
Is it possible to assign the value itself from e.g. svalue1 to a variable so that I can use this variable in another function ? I mean just the value 55.5