Reporting Battery Level
-
https://codebender.cc/sketch:337094 This is modified electricity meter sketch with battery level .
-
I bought 2AA batteries. Working.Domoticz devices page report battery level 3. How to see battery level graph ?
@Fat-Fly to report battery voltage you have to create a S_MULTIMETER sensor and send the voltage with V_VOLTAGE.
Sendbatterylevel only changes the battery level in Domoticz in % and can not be shown separate.
Tot use your arduino with low voltages you need to change the fuse settings (BOD) with an ISP programmer.
-
@Fat-Fly "Estonia: Between East, West and the World" ;-)
These are the lines of code which should do the trick... you need to put them in the right spot yourself
#define VOLTAGE_CHILD_ID 5 MyMessage voltageMsg(VOLTAGE_CHILD_ID, V_VOLTAGE); // Node voltage gw.present(VOLTAGE_CHILD_ID, S_MULTIMETER, "Battery " ); float voltage = vcc.Read_Volts() ; gw.send(voltageMsg.set(voltage,2)); //send battery in Volt -
@Fat-Fly I am not sure how you intend to arrange your electricity pulse meter reading, but in my case I had to wire Pro Mini 5V to mains or otherwise recharge a battery every 5-7 days. I think you can do the total kWh and putting Pro Mini to sleep, but you cannot have total consumption kWh and current consumption kW with sleeping.
-
Yesterday this not working. KW reader is too away from gateway.My house is lenght is 22m. Electricity meter is one end of house and gateway is center house. can i use repeater on something other. I use for this nrf with antenna.
-
Yesterday this not working. KW reader is too away from gateway.My house is lenght is 22m. Electricity meter is one end of house and gateway is center house. can i use repeater on something other. I use for this nrf with antenna.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login