Send battery level to influxdb?
-
Hi! Is it possible to send the battery level of a sensor to influxdb? In the resources data settings I only see the sensor values, not the battery level.
-
Hi Benhub,
I had the same question, and solved it by measuring the voltage using the AD converter, store it in a variable and have the node send it to mycontroller. The type I used is multimeter. The advantage of this solution is that you can graph it on the dashboards.
Hope this is useful for you.
(you can even measure batery voltage in the MCU itself without any external hardware )
-
@Tag said in Send battery level to influxdb?:
(you can even measure batery voltage in the MCU itself without any external hardware )
Please tell us how
-
-
@Tag said in Send battery level to influxdb?:
I had the same question, and solved it by measuring the voltage using the AD converter, store it in a variable and have the node send it to mycontroller. The type I used is multimeter. The advantage of this solution is that you can graph it on the dashboards.
Thanks for this solution, but wouldn't it be nicer to simply forward the internal
I_BATTERY_LEVEL
message to influxdb, so that we don't have to configure another message for every node? -
I opened up an issue: https://github.com/mycontroller-org/mycontroller/issues/488