Wow thats something to work towards,If compiled with MQTT support (needs paho mqqt library), jbdtool outputs mqtt data. You can specify the info on the comand line with the -m option, for example:
jbdtool -m host:clientid:topic[:user[ass]] jbdtool -t ip:pack_01 -m localhost:pack_01:/Battery/pack_01
(pack_01 is the dns name of my wifi module #1)
In another window, I can subscribe to /Battery/# to see the JSON output:
# mosquitto_sub -h localhost -t '/Battery/#'
I have a node-red server running on the same host which injects the info into an influx DB. It should look something like this:
View attachment 23789
From there, its easy to make a dash for it in Grafana. Something like this maybe (could use some work):
View attachment 23790
After that you could get fancy and maybe do some linking if you have multiple packs so you can click on each pack to get the info
NOTE: I just updated the github repo ... it wasnt setting the name field in the JSON output with the mqtt clientid.
EDIT: no way to remove those stupid emojis ... they are colon p
I have alot of questions but i will try an keep it short,
I am currently running the static version for pi that you put together, do i need to switch to the github repo?