Please login or register.

Login with username, password and session length
Advanced search  

News:

The Buster PiX10Hub is here! Created by the Community, for the Community.:)% #:)

Author Topic: Battery levels of sensors  (Read 337 times)

LostDog88

  • Hero Member
  • *****
  • Helpful Post Rating: 1
  • Posts: 170
Battery levels of sensors
« on: December 17, 2019, 12:14:10 PM »

I know there was talk on this forum about reporting battery levels to HG.

I cannot find it anywhere. I also suck at search strings.

Is there a way to report to HG battery levels of each sensor?
Logged

bkenobi

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 20
  • Posts: 1868
Re: Battery levels of sensors
« Reply #1 on: December 17, 2019, 02:14:18 PM »

There is a string you can set when you update a sensor that will store the battery charge.  I don't remember off hand, but it's something like:

module.BatteryLevel

The value is either 0-1 or 0-100 which I also don't recall at the moment.  Either one of the other HG users who have worked with sensors can answer or you could check my signature scripts where I'm sure I set the value.  It's really easy and once you do that, the widget will automatically display it.
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.