Hello everyone. I am a three week in noobs so please be patient if I'm a bit slow.
I have data from two Atlas Scientific sensors coming into node red through MQTT to go to Influxdb. The value field was a string, not a number. I have changed this in the Change Node to be a number. Changed the time to a timestamp, deleted the name and the address and kept the ModuleType as it was.
I did this as Influxdb wasn't seeing the value so couldn't get it to graph. Now its not seeing the value as a field so isn't there at all.
Any idea what I am doing wrong? Thank you very much.
If you managed to pass through your value to InfluxDB as a string initially, it has now recorded it as a string so the numbers you are sending won't be right.
If that is the case, the easiest thing to do is drop and recreate the measure.
When I initially sent my message to Influx it didn't see the value as a number and wouldn't work. It seems from another post on here that I had to change it to a number so it would graph it - see picture.
I've only been doing this three weeks so sorry for being stupid, but I don't understand what 'drop and recreate the measure' means?
Nope, not stupid at all. This is a very common issue with InfluxDB. It takes the data type from the first message you send it. It then will not change it.
To be honest, if you are just getting started, I would recommend dropping (deleting) the whole database and starting again.