Closed InfiniteTape closed 3 years ago
Honeywell API does not give me this info to display so this will not happen unless Honeywell changes something, much looking at your config, might have happened. I will look into this.
There's a "batteryRemaining" key in the response with a value as shown in the logs. Maybe the name of the key changed, because this worked a few months ago.
@InfiniteTape, I pushed out a new beta. See if that fixes it.
@donavanbecker, that's fixed it and all values are working, though now my logs look like they're not getting filled in. Not sure if it's a regression or not.
[9/12/2021, 11:36:43 AM] [HoneywellHome] LS %s - %s°, %s%
[9/12/2021, 11:36:43 AM] [HoneywellHome] LS %s -
[9/12/2021, 11:36:43 AM] [HoneywellHome] LS %s - %s°, %s%
[9/12/2021, 11:36:43 AM] [HoneywellHome] LS %s -
[9/12/2021, 11:36:43 AM] [HoneywellHome] LS %s - %s°, %s%
[9/12/2021, 11:38:43 AM] [HoneywellHome] LS %s -
[9/12/2021, 11:38:43 AM] [HoneywellHome] LS %s - %s°, %s%
[9/12/2021, 11:38:43 AM] [HoneywellHome] LS %s -
[9/12/2021, 11:38:43 AM] [HoneywellHome] LS %s - %s°, %s%
@donavanbecker, that's fixed it and all values are working, though now my logs look like they're not getting filled in. Not sure if it's a regression or not.
[9/12/2021, 11:36:43 AM] [HoneywellHome] LS %s - %s°, %s% [9/12/2021, 11:36:43 AM] [HoneywellHome] LS %s - [9/12/2021, 11:36:43 AM] [HoneywellHome] LS %s - %s°, %s% [9/12/2021, 11:36:43 AM] [HoneywellHome] LS %s - [9/12/2021, 11:36:43 AM] [HoneywellHome] LS %s - %s°, %s% [9/12/2021, 11:38:43 AM] [HoneywellHome] LS %s - [9/12/2021, 11:38:43 AM] [HoneywellHome] LS %s - %s°, %s% [9/12/2021, 11:38:43 AM] [HoneywellHome] LS %s - [9/12/2021, 11:38:43 AM] [HoneywellHome] LS %s - %s°, %s%
I think this is do to the plugin debug log that I implemented.. need to change something for it to work correct.
@InfiniteTape Logs should be fixed and battery should be fixed.
Describe The Bug
Started with a fresh install of Homebridge 1.3.4 and Honeywell plugin 10.0.1. Battery level of all three Honeywell leak detectors shows null%.
To Reproduce
Install Homebridge fresh on Raspbian. Add just the Honeywell plugin and authenticate it.
Expected behavior
Battery level is reported correctly.
Relevant log output
Config for homebridge-honeywell-home
Screenshots
No response
Device & Model
Honeywell Leak Detector
Node.js Version
v14.17.6
NPM Version
v6.14.8
Homebridge Version
v1.3.4
Homebridge Honeywell Home Plugin Version
v10.0.1
Homebridge Config UI X Plugin Version
v4.41.2
Operating System
Raspbian Buster