I am starting to use Node-Red and I would like to read a value of a PLC (modbus TCP read node) and I would like to send email if the value is higher than 10 for example.
I can read the value
I can also send email with the email nodes but only with the inject node (true/false)
I don't know how to link the value that I am reading to the email node. I have tried to use some functions but so far without success.
Do you have any example or advice please ?
Thanks for your help