Hello life savers,
I'm using sensors to send data from Node-Red to AWS IoT by using MQTT out.
In the begining, there was no battery data in the payload so I set the change node to put the battery data in the payload(Someone helped me doing this Thank you so much). Just like the pictures.
But there is a small problem in the data type. Which is the data type of battery_percent is not a number but string. So the data is not automatically being displayed on the AWS graph. Do you guys have any idea to convert the data type?
Thank you so much for every help that you can give me! Have a nice day!