Page 1 of 1

Battery percentage

Posted: Tuesday 30 June 2020 15:58
by Kest
Hello,

i have a nodemcu(running espeasy) with a INA219 between my 12v10w solar panel(will be upgraded) to a 1,5Kwh battery(3s60p off 18650cells). The INA219 give the Volts, amps and power, nicely logging to domoticz both directions.
Is there a way to create a percetage in domoticz on how full the battery is?

thanks before hand.

Re: Battery percentage

Posted: Tuesday 30 June 2020 16:00
by EddyG
How is your nodemcu logging to Domoticz?

Re: Battery percentage

Posted: Tuesday 30 June 2020 16:07
by Kest
EddyG wrote: Tuesday 30 June 2020 16:00 How is your nodemcu logging to Domoticz?
i created 3 dummy's, one for each value(volts/amps/power) entered thos IDX codes to my easpeasy device configuration. only i needed to create the ina219 3 times one for each value. using mega btw.

Re: Battery percentage

Posted: Tuesday 30 June 2020 17:40
by EddyG
What I ment was, do you use HTTP of MQTT.
You could use an Analog input with a resistance divider and/or some calculation rule to get the percentage and put that to a dummy sensor.
Or if you want that battery level in one or all of the devices use MQTT and NodeRed and combine all values with battery level to push it to Domoticz MQTT. You can do the calculation in NodeRed.

Re: Battery percentage

Posted: Tuesday 30 June 2020 19:38
by Kest
sorry, i use HTTP. never used nodred before so i will give it a try.