Hello
I have a modbus node to receive the data of a sensor processed by a function and to store each in a variable in order to set up a msg.payload which collects these two data without problem
msg.payload = " RESUME : " + "temperature = " + temp + " °C || humidity = " + humi +" %" ;
On the other hand, I have a ui_Form or I mention an email address that will stoquer in msg.to to send the data collected by the sensor using the email node.
ex msg.to = "exemple@gmail.com"
the sensor data comes in every 3 seconds, and the msg.to is generated every time I click on submit the problem I have is that I could not combine or associate the msg.payload with the msg.to to send the data via email, because they don’t come at the same time.
Any idea please !