I have an arduino that is connected to 15 ds18b20 temperature sensors and is sending the data to my pi (running node red) via serial.
I've been able to deal with this in the past by just grabbing the {{{payload}}} when it was only one sensor, but now that I have 15 of them, I'm not sure how I can grab the data and know what data I'm grabbing. For simplicity's sake, let's say that my arduino is sending data that looks like this...
indoorTemp: 70
outdoorTemp:36
How would I parse that data?
Or should I format the data differently to begin with? (like give each sensor a 3 digit code and skip those digits when I'm looking for the temp itself). I'm just having a brain cramp here and appreciate how helpful you all have been.