I worked on getting Node Red to take Aux data, then change the true / false to a number value.
Then it is supposed to go to Influxdb but I haven't got the influx databases configured right yet.
Here is what I have used for references to get this far
Very good video where he takes time to explain each step in detail
https://youtu.be/ffg3_1AgtyAAlso Paraphraser helps some though for me hard to follow along sometimes until I read it over and over
https://gist.github.com/Paraphraser/c9db25d131dd4c09848ffb353b69038fThis is the function code I used to change true false to number value - I found this while searching for way to do it so thanks whoever wrote it cause I forgot already
node.warn(msg.payload)
msg.original = msg.payload;
if (msg.payload === "true" || msg.payload === true) {
msg.payload = 111;
} else {
msg.payload = 999;
}
return msg;
Larry