iklein99 / homebridge-smartthings

This is a plugin to Homebridge to connect your Smartthings network into Apple Home Kit.
Apache License 2.0
150 stars 52 forks source link

Yale conexis l1 lock reporting battery low 1% #253

Closed Budgie66 closed 3 months ago

Budgie66 commented 3 months ago

Describe The Bug: My Yale conexis l1 lock is reporting low battery even after installing a fresh set , it runs on z wave via my SmartThings hub2ive rebooted that and changed the Homebridge plug in version to the previous one and restart the plug in and the Homebridge instance with no change

To Reproduce:

Expected behavior:

*Logs:

Show the Homebridge logs here, remove any sensitive information.

08/03/2024, 19:35:02] [Smartthings Plug (IK)] Entrance door lock polling...
[08/03/2024, 19:35:02] [Smartthings Plug (IK)] Received getLockState() event for Entrance door lock
[08/03/2024, 19:35:02] [Smartthings Plug (IK)] Refreshing status for Entrance door lock - current timestamp is 1709926496376
[08/03/2024, 19:35:02] [Smartthings Plug (IK)] Calling Smartthings to get an update for Entrance door lock
[08/03/2024, 19:35:02] [Smartthings Plug (IK)] Refreshing status for Entrance door lock - current timestamp is 1709926496376
[08/03/2024, 19:35:02] [Smartthings Plug (IK)] Status query already in progress for Entrance door lock.  Waiting...
[08/03/2024, 19:35:02] [Smartthings Plug (IK)] Entrance door lock command or request is waiting...
[08/03/2024, 19:35:02] [Homebridge UI] Homebridge log truncated by IanB.
[08/03/2024, 19:35:02] [Smartthings Plug (IK)] Updated status for Entrance door lock-main: {"lock":{"lock":{"value":"unlocked","data":{},"timestamp":"2024-03-08T17:58:59.085Z"}},"refresh":{},"battery":{"battery":{"value":1,"unit":"%","timestamp":"2024-03-03T10:57:36.940Z"}},"lockCodes":{"codeLength":{"value":null},"maxCodes":{"value":null},"maxCodeLength":{"value":null},"codeChanged":{"value":null},"lock":{"value":"unlocked","data":{},"timestamp":"2023-02-15T08:27:39.017Z"},"minCodeLength":{"value":null},"codeReport":{"value":null},"scanCodes":{"value":"Scanning","timestamp":"2023-02-15T20:15:46.535Z"},"lockCodes":{"value":"{}","timestamp":"2023-02-15T20:15:46.482Z"}}}
[08/03/2024, 19:35:02] [Smartthings Plug (IK)] LockState value from Entrance door lock: unlocked
[08/03/2024, 19:35:02] [Smartthings Plug (IK)] Entrance door lock value updated.
[08/03/2024, 19:35:02] [Smartthings Plug (IK)] Entrance door lock command or request is proceeding.
[08/03/2024, 19:35:02] [Smartthings Plug (IK)] Entrance door lock still waiting...
[08/03/2024, 19:35:02] [Smartthings Plug (IK)] Reset Entrance door lock to 0
[08/03/2024, 19:35:03] [Smartthings Plug (IK)] Entrance door lock polling...
[08/03/2024, 19:35:03] [Smartthings Plug (IK)] Received getBatteryLevel() event for Entrance door lock
[08/03/2024, 19:35:03] [Smartthings Plug (IK)] Refreshing status for Entrance door lock - current timestamp is 1709926502601
[08/03/2024, 19:35:03] [Smartthings Plug (IK)] Battery value from Entrance door lock: 1
[08/03/2024, 19:35:03] [Smartthings Plug (IK)] Entrance door lock value updated.
[08/03/2024, 19:35:05] [Smartthings Plug (IK)] Entrance door lock polling...
[08/03/2024, 19:35:05] [Smartthings Plug (IK)] Received getLockState() event for Entrance door lock
[08/03/2024, 19:35:05] [Smartthings Plug (IK)] Refreshing status for Entrance door lock - current timestamp is 1709926502601
[08/03/2024, 19:35:05] [Smartthings Plug (IK)] Refreshing status for Entrance door lock - current timestamp is 1709926502601
[08/03/2024, 19:35:05] [Smartthings Plug (IK)] LockState value from Entrance door lock: unlocked
[08/03/2024, 19:35:05] [Smartthings Plug (IK)] Reset Entrance door lock to 0
[08/03/2024, 19:35:05] [Smartthings Plug (IK)] Entrance door lock value updated.
[08/03/2024, 19:35:05] [homebridge-smartglass] Device status: Disconnected
[08/03/2024, 19:35:07] [Smartthings Plug (IK)] Entrance door lock polling...
[08/03/2024, 19:35:07] [Smartthings Plug (IK)] Received getBatteryLevel() event for Entrance door lock
[08/03/2024, 19:35:07] [Smartthings Plug (IK)] Refreshing status for Entrance door lock - current timestamp is 1709926502601
[08/03/2024, 19:35:07] [Smartthings Plug (IK)] Battery value from Entrance door lock: 1
[08/03/2024, 19:35:07] [Smartthings Plug (IK)] Entrance door lock value updated.
[08/03/2024, 19:35:07] [homebridge-smartglass] Xbox found on the network: 192.168.0.196
[08/03/2024, 19:35:08] [Smartthings Plug (IK)] Entrance door lock polling...
[08/03/2024, 19:35:08] [Smartthings Plug (IK)] Received getLockState() event for Entrance door lock
[08/03/2024, 19:35:08] [Smartthings Plug (IK)] Refreshing status for Entrance door lock - current timestamp is 1709926502601
[08/03/2024, 19:35:08] [Smartthings Plug (IK)] Calling Smartthings to get an update for Entrance door lock
[08/03/2024, 19:35:08] [Smartthings Plug (IK)] Refreshing status for Entrance door lock - current timestamp is 1709926502601
[08/03/2024, 19:35:08] [Smartthings Plug (IK)] Status query already in progress for Entrance door lock.  Waiting...
[08/03/2024, 19:35:08] [Smartthings Plug (IK)] Entrance door lock command or request is waiting...
[08/03/2024, 19:35:08] [Smartthings Plug (IK)] Updated status for Entrance door lock-main: {"lock":{"lock":{"value":"unlocked","data":{},"timestamp":"2024-03-08T17:58:59.085Z"}},"refresh":{},"battery":{"battery":{"value":1,"unit":"%","timestamp":"2024-03-03T10:57:36.940Z"}},"lockCodes":{"codeLength":{"value":null},"maxCodes":{"value":null},"maxCodeLength":{"value":null},"codeChanged":{"value":null},"lock":{"value":"unlocked","data":{},"timestamp":"2023-02-15T08:27:39.017Z"},"minCodeLength":{"value":null},"codeReport":{"value":null},"scanCodes":{"value":"Scanning","timestamp":"2023-02-15T20:15:46.535Z"},"lockCodes":{"value":"{}","timestamp":"2023-02-15T20:15:46.482Z"}}}
[08/03/2024, 19:35:08] [Smartthings Plug (IK)] LockState value from Entrance door lock: unlocked
[08/03/2024, 19:35:08] [Smartthings Plug (IK)] Entrance door lock value updated.
[08/03/2024, 19:35:08] [Smartthings Plug (IK)] Entrance door lock command or request is proceeding.
[08/03/2024, 19:35:08] [Smartthings Plug (IK)] Entrance door lock still waiting...
[08/03/2024, 19:35:08] [Smartthings Plug (IK)] Reset Entrance door lock to 0
[08/03/2024, 19:35:09] [homebridge-smartglass] Failed to connect to xbox. Reason: {

Plugin Config:

"bridge": {
        "name": "Homebridge 0BA8",
        "username": "",
        "port": 51038,
        "pin": "",
        "bind": [
            "eth0"
        ]
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "purple",
            "tempUnits": "c",
            "lang": "auto",
            "platform": "config"
        },
        {
            "devices": [
                {
                    "api_key": "",
                    "device_id": "",
                    "name": "Ian's Tv",
                    "ip": "",
                    "mac": "",
                    "uuid": "a2",
                    "inputs": [
                        {
                            "type": "command"
                        }
                    ]
                },
                {
                    "name": "Jake's Tv",
                    "ip": "",
                    "mac": "",
                    "uuid": "a15",
                    "inputs": [
                        {
                            "type": "app"
                        }
                    ]
                },
                {
                    "api_key": "",
                    "device_id": "",
                    "name": "Olivia’s TV",
                    "ip": "192.168.0.250",
                    "mac": "1C:86:9A:93:A0:7D",
                    "uuid": "A3",
                    "inputs": [
                        {
                            "type": "app"
                        }
                    ]
                },
                {
                    "inputs": [
                        {
                            "type": "app"
                        }
                    ]
                }
            ],
            "_bridge": {
                "username": "",
                "port": 50876
            },
            "platform": "SamsungTizen"
        },
        {
            "name": "Smartthings Plug (IK)",
            "BaseURL": "https://api.smartthings.com/v1/",
            "AccessToken": "",
            "GarageDoorMaxPoll": 0,
            "PollLocksSeconds": 1,
            "PollDoorsSeconds": 0,
            "PollSensorsSeconds": 3,
            "PollSwitchesAndLightsSeconds": 0,
            "PollWindowShadesSeconds": 0,
            "ExposeHumiditySensorForAirConditioners": false,
            "OptionalModeForAirConditioners": "None",
            "IgnoreDevices": [
                "King Jacobs'",
                "iPhone",
                "Michelle's S22 Ultra",
                "iPhone",
                "Ian’s Tv",
                "Olivia’s Tv"
            ],
            "_bridge": {
                "username": "",
                "port": 34300
            },
            "platform": "HomeBridgeSmartThings"
        },
        {
            "mqtt": {
                "base_topic": "zigbee2mqtt",
                "server": "",
                "reject_unauthorized": true,
                "keepalive": 60,
                "version": 4,
                "disable_qos": false
            },
            "defaults": {
                "exclude": false
            },
            "exclude_grouped_devices": false,
            "_bridge": {
                "username": "",
                "port": 54816
            },
            "platform": "zigbee2mqtt"
        },
        {
            "name": "eWeLink",
            "username": "",
            "password": "",
            "mode": "lan",
            "language": "en",
            "_bridge": {
                "username": "",
                "port": 35058
            },
            "platform": "eWeLink"
        },
        {
            "platform": "WLED",
            "wleds": [
                {
                    "name": "wled",
                    "host": "",
                    "effects": [
                        "Android",
                        "Aurora",
                        "Blends",
                        "Blink",
                        "Blink Rainbow",
                        "Bouncing Balls",
                        "Bpm",
                        "Breathe",
                        "Candle",
                        "Candle Multi",
                        "Candy Cane",
                        "Chase",
                        "Chase 2",
                        "Chase 3",
                        "Chase Flash",
                        "Chase Flash Rnd",
                        "Chase Rainbow",
                        "Chase Random",
                        "Chunchun",
                        "Circus",
                        "Colorful",
                        "Colorloop",
                        "Colorwinkles",
                        "Colorwaves",
                        "Dancing Shadows",
                        "Dissolve",
                        "Dissolve Rnd",
                        "Drip",
                        "Dynamic",
                        "Dynamic Smooth",
                        "Fade",
                        "Fairy",
                        "Fairytwinkle",
                        "Fireworks Starbust",
                        "Flow",
                        "Glitter",
                        "Halloween",
                        "Halloween Eyes",
                        "ICU",
                        "Merry Christmas",
                        "Phased",
                        "Police",
                        "Pride 2015",
                        "Ripple",
                        "Rainbow Runner",
                        "Theater Rainbow",
                        "Strobe",
                        "Strobe Rainbow",
                        "Sunrise",
                        "Tri Wipe",
                        "Twinkle",
                        "Washing Machine",
                        "Wipe",
                        "Wipe Random",
                        "Twinklefox",
                        "Traffic Light",
                        "Tetrix",
                        "Stream",
                        "Stream 2",
                        "Sparkle"
                    ],
                    "log": false,
                    "showEffectControl": true,
                    "turnOffWledWithEffect": false,
                    "defaultEffectSpeed": 20
                }
            ],
            "_bridge": {
                "username": "",
                "port": 56494
            }
        },
        {
            "devices": [
                {
                    "name": "Ian's Xbox Series S",
                    "ipaddress": "",
                    "liveid": ""
                }
            ],
            "apiToken": "",
            "platform": "Smartglass",
            "_bridge": {
                "username": "",
                "port": 37958
            }
        },
        {
            "name": "Govee",
            "username": "",
            "password": "",
            "_bridge": {
                "username": "",
                "port": 45851
            },
            "platform": "Govee"
        },
        {
            "devices": [
                {
                    "type": "Outlet",
                    "name": "Fairy Lights",
                    "id": "",
                    "key": "",
                    "manufacturer": "TuYa",
                    "model": "SP21/SP22",
                    "voltsId": 20,
                    "ampsId": 18,
                    "wattsId": 19
                },
                {
                    "type": "Outlet",
                    "name": "Conservatory Christmas Garland",
                    "id": "",
                    "key": "",
                    "model": "TuYa"
                },
                {
                    "type": "Outlet",
                    "name": "Christmas garden lights",
                    "id": "",
                    "key": "",
                    "manufacturer": "TuYa"
                },
                {
                    "type": "Outlet",
                    "name": "Christmas light’s conservatory",
                    "id": "",
                    "key": "",
                    "manufacturer": "TuYa",
                    "model": "U1R BL-13A -JX",
                    "voltsId": 0
                },
                {
                    "type": "Outlet",
                    "name": "Christmas front / living room lights",
                    "id": "",
                    "key": "",
                    "manufacturer": "TuYa",
                    "model": "U1R BL-13A -JX"
                },
                {
                    "type": "Outlet",
                    "name": "Christmas garden lights",
                    "id": "",
                    "key": "",
                    "manufacturer": "TuYa",
                    "model": "U1R BL-13A -JX"
                },
                {
                    "type": "Outlet",
                    "name": "Bedroom Christmas lights",
                    "id": "",
                    "key": "",
                    "manufacturer": "TuYa",
                    "model": "U1R BL-13A -JX"
                }
            ],
            "platform": "TuyaLan",
            "_bridge": {
                "username": "",
                "port": 35642
            }
        },
        {
            "name": "Alexa",
            "username": "[00000000](tel:)",
            "password"[00000000000](tel:00000000000)",
            "pin": "[0000000000](tel:0000000000)",
            "debug": true,
            "refresh": 900,
            "keepalive": 5,
            "CloudTransport": "mqtts",
            "deviceListHandling": "allow",
            "deviceList": [
                "Olivia's Center light",
                "Jake's Bedside lamp",
                "Jake’s Led Strip",
                "Fairy Lights",
                "Wled",
                "Under Bed Light",
                "Olivia’s Bed LED",
                "Jake’s center light"
            ],
            "_bridge": {
                "username": ")",
                "port": 49007
            },
            "platform": "Alexa"
        }
    ],
    "disabledPlugins": []

Screenshots:

Environment: