Battery percentage

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Kest
Posts: 7
Joined: Friday 25 October 2019 13:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Arnhem
Contact:

Battery percentage

Post 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.
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Battery percentage

Post by EddyG »

How is your nodemcu logging to Domoticz?
Kest
Posts: 7
Joined: Friday 25 October 2019 13:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Arnhem
Contact:

Re: Battery percentage

Post 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.
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Battery percentage

Post 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.
Kest
Posts: 7
Joined: Friday 25 October 2019 13:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Arnhem
Contact:

Re: Battery percentage

Post by Kest »

sorry, i use HTTP. never used nodred before so i will give it a try.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest