Hi, I am trying to send multiple values from a modbus device to InfluxDB.
I can see the Ambient Temperature within Grafana, but i cant pick up the Battery SOC
Have you looked at, and understood, the sidebar help for influx node? It tells you there what you need to put in the message you are sending to it.
[Edt] I have just realise you are using two influx nodes for some reason. Show us how you have configured them.
What do you see if you run the influx command line client and say
use home
show measurements
To avoid using multiple nodes you can set msg.measurement in the message. See the help text in the editor. Get it working as it is first though.
Yep I see the field names, but I get what you mean now about the side bar. I will try the msg.measurement and report back. Thank you
InfluxDB shell version: 1.8.3
use home
Using database home
show measurements
name: measurements
name
AmbiantTemperature
Kwh
Temp
msg.payload
What you have should work perfectly well. I can't see any reason why BatterySOC is not getting written to.
Assuming that you are not accidentally setting msg.measurement already. It is odd that you have a measurement of msg.payload.
Thanks Colin. I have made a few changes, so I will put them back to before hand, and make a new table in the DB and try again
Cheers
Change the debug nodes to show Complete Message, and give them names. That will make it easier to check the data.
@Colin
Working good now after a few hours of logging, Thanks for the help






