Hello!
I am a beginner with Node-RED and I want to send sensor data to thingspeak.
I have already installed the thingspeak node and tested it with an injection node. Everything works fine.
But now I have the problem that I want to send data from a sensor (e.g. integer value or a string) via the right node (which also contains a field for a topic like the injection node).
I get the data (string) via the "Serial in" node
Which node can I use to also send the topic?
Hi, im a little bit confused. I hope the pictures will help.
I get the payload via serial node and convert it from Sting To Integer. Then i set the change node (here Temperature) and from here to Thingspeak node.
Are you trying to set the topic to a fixed value? If so then select String where your arrow is pointing and type in the string. If not a fixed string then what?
You don't need the first Set, the payload is already the payload so you don't need to change it.
The change node only changes properties that you mention. If you don't mention it then it will be left as it is.