Monitoring battery charging
-
Hey guys, just starting out here!
I've set a RPi up with Home Assistant, and have a MightyHat I'm using as a serial gateway plugged in to the RPi. The MightyHat has a back up battery (a UPS if you will) I want to read the battery voltage and report that back as well as if its charging or not!
For the battery voltage should I use V_VOLTAGE under the Multimeter, or use sendBatteryLevel()? What would be the best way to report if its charging or not?
-
Hey guys, just starting out here!
I've set a RPi up with Home Assistant, and have a MightyHat I'm using as a serial gateway plugged in to the RPi. The MightyHat has a back up battery (a UPS if you will) I want to read the battery voltage and report that back as well as if its charging or not!
For the battery voltage should I use V_VOLTAGE under the Multimeter, or use sendBatteryLevel()? What would be the best way to report if its charging or not?
@phill21 sendBatteryLevel is meant for reporting the battery level of the node itself (for a battery powered node). Controllers treat this differently from V_VOLTAGE. For example, there is no way to get a graph of the batteryLevel in Domoticz, but V_VOLTAGE will give a graph.
For charging or not you can use a binary switch/light (on means charging, off not charging) or send the amount of current or power (V_CURRENT or V_WATT)
-
Hey guys, just starting out here!
I've set a RPi up with Home Assistant, and have a MightyHat I'm using as a serial gateway plugged in to the RPi. The MightyHat has a back up battery (a UPS if you will) I want to read the battery voltage and report that back as well as if its charging or not!
For the battery voltage should I use V_VOLTAGE under the Multimeter, or use sendBatteryLevel()? What would be the best way to report if its charging or not?
@phill21 Have a look at this project i did a while back. you may get some inspiration from there :)
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