Announcement

Collapse
No announcement yet.

Battery Device Value of "3" Causes Events/Scripts to Detect as a Dead Battery

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Battery Device Value of "3" Causes Events/Scripts to Detect as a Dead Battery

    When the plugin creates the devices for the battery status, it uses a value of "3" for high. This causes my battery scripts to show this as a battery level of "3" (a dead battery). Could the plugin be changed to use a value of "100" for high, "50" for Medium, and "1" for low? This would allow my battery level events/scripts to function normally. I did change this on my devices, but the plugin changes them back when it updates. Thanks for considering!


    Click image for larger version

Name:	Battery.JPG
Views:	33
Size:	33.0 KB
ID:	1459111
    Click image for larger version

Name:	Battery2.JPG
Views:	13
Size:	59.2 KB
ID:	1459112

    #2
    I'll add it to my list to look into. I think these are the values that withings sends back so it's a direct mapping, but I can double check.
    MeiAutomtion Home

    Comment

    Working...
    X