Im trying to send a JSON with data over MQTT which i convert to a javascript object and then send to influxDB which will later go to my grafana. However when i insert my data in influx the values come in as strings, i assume this is causing the problem with me not being able to display the values. Does anyone know how to fix this?
First you have to decide what you want to write to the influx. The message you have shown has a nested object bandwidth. You can't write objects to influx, only fields and tags. Look at the help text for the influx node and it will tell you what the data has to look like. First you need to design the db schema though.