Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Cannot read properties of undefined (reading 'includes') #127

Open
bgleonard opened this issue Jul 28, 2024 · 13 comments
Open

Bug: Cannot read properties of undefined (reading 'includes') #127

bgleonard opened this issue Jul 28, 2024 · 13 comments
Assignees
Labels
bug Something isn't working pinned Don't close this issue.

Comments

@bgleonard
Copy link

Describe The Bug

Plugin cannot read lock status. Battery status and other information apears correct. The plugin reports lock model BETA211123 instead of Yale Assure Lock 2

To Reproduce

Yale Assure Lock 2 with door open/closed contact sensor installed and calibrated. Connected and controlled by HomeKit via Bluetooth

Expected behavior

I am trying to access the locks open/closed contact sensor via HomeKit by using Homebridge. The locked/unlocked status works natively through HomeKit

Relevant log output

The plugin is able to read some information about the lock such as battery status, PIN, home and owner information, but it always reports in the log file "LockStatus":{"status":"unknown"}.


[28/07/2024, 14:52:53] [August] [DEBUG] Lock: Front Door (refreshStatus) lockDetails: {"LockName":"Front Door","Type":15,"Created":"2024-05-29T20:36:48.972Z","Updated":"2024-05-29T20:36:48.972Z","LockID":"123","HouseID":"example","HouseName":"Our House","Calibrated":false,"timeZone":"America/New_York","battery":0.5791801094437687,"batteryInfo":{"level":0.5791801094437687,"warningState":"lock_state_battery_warning_none","infoUpdatedDate":"2024-06-27T00:44:29.413Z","lastChangeDate":"2024-05-29T20:36:48.972Z","lastChangeVoltage":6200,"deathDate":"2025-05-24T20:36:48.972Z"},"supportsEntryCodes":true,"remoteOperateSecret":"example","skuNumber":"BETA211123","macAddress":"98:1B:B5:6A:DD:48","SerialNumber":"LFI7Z002Z6","LockStatus":{"status":"unknown"},"currentFirmwareVersion":"1.3.20","homeKitEnabled":true,"zWaveEnabled":false,"isGalileo":false,"OfflineKeys":{"created":[],"loaded":[{"created":"2024-05-29T20:36:48.992Z","key":"example","slot":2,"UserID":"example","loaded":"2024-05-29T20:37:30.329Z"}],"deleted":[],"loadedhk":[{"key":"example","slot":257,"UserID":"example","created":"2024-05-29T20:36:48.994Z","loaded":"2024-05-29T20:37:30.620Z"}]},"parametersToSet":{},"users":{"87c09b26-f89c-4337-804c-3e4fffbf3109":{"UserType":"superuser","FirstName":"Brad","LastName":"example","identifiers":["phone:+123","email:[email protected]"]}},"pubsubChannel":"69e6a107-f645-40eb-868c-be24383a9aa9","ruleHash":{},"cameras":[],"geofenceLimits":{"ios":{"debounceInterval":90,"gpsAccuracyMultiplier":2.5,"maximumGeofence":5000,"minimumGeofence":100,"minGPSAccuracyRequired":80}},"accessSchedulesAllowed":false,"pins":{"created":[],"loaded":[{"_id":"example","type":"pin","lockID":"example","userID":"87c09b26-f89c-4337-804c-3e4fffbf3109","state":"loaded","pin":"example","slot":1,"accessType":"always","callingUserID":"87c09b26-f89c-4337-804c-3e4fffbf3109","createdAt":"2024-05-29T20:39:29.461Z","updatedAt":"2024-05-29T20:39:30.312Z","loadedDate":"2024-05-29T20:39:30.312Z","firstName":"Brad","lastName":"example","unverified":false}],"disabled":[],"disabling":[],"enabling":[],"deleting":[],"updating":[]},"lockId":"example"}
[28/07/2024, 14:52:53] [August] Lock: Front Door parseStatus
[28/07/2024, 14:52:53] [August] Lock: Front Door Unknown statusCode: Cannot read properties of undefined (reading 'includes'), Submit Bugs Here: https://tinyurl.com/AugustYaleBug
[28/07/2024, 14:52:53] [August] [DEBUG] Lock: Front Door failed (refreshStatus) lockDetails, Error: TypeError: Cannot read properties of undefined (reading 'includes')
[28/07/2024, 14:52:53] [August] Lock: Front Door pushChanges: Cannot read properties of undefined (reading 'includes')

Config for homebridge-august

{
    "bridge": {
        "name": "Homebridge 5C6E",
        "username": "0E:B7:11:FD:5B:6D",
        "port": 51636,
        "pin": "123",
        "advertiser": "avahi",
        "bind": [
            "eth0"
        ]
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "f",
            "lang": "auto",
            "debug": false,
            "platform": "config"
        },
        {
            "controllers": [
                {
                    "address": "192.168.1.1",
                    "username": "homebridge",
                    "password": "HomeBridgeProtect1"
                }
            ],
            "name": "UniFi Protect",
            "platform": "UniFi Protect",
            "options": [
                "Enable.Video.Transcode.Hardware.D8B3707466A3",
                "Enable.Doorbell.Trigger.D8B3707466A3",
                "Enable.Device.SyncName.D8B3707466A3"
            ]
        },
        {
            "username": "[email protected]",
            "password": "pass",
            "discoverFrequency": 60000,
            "platform": "MobileLink"
        },
        {
            "name": "Smartthings Plug (IK)",
            "BaseURL": "https://api.smartthings.com/v1/",
            "AccessToken": "xxx-d05e-4d07-xxxx-e22f353a4889",
            "GarageDoorMaxPoll": 40,
            "PollLocksSeconds": 0,
            "PollDoorsSeconds": 0,
            "PollSensorsSeconds": 0,
            "PollSwitchesAndLightsSeconds": 60,
            "PollWindowShadesSeconds": 0,
            "ExposeHumiditySensorForAirConditioners": false,
            "OptionalModeForAirConditioners": "None",
            "platform": "HomeBridgeSmartThings"
        },
        {
            "name": "TplinkSmarthome",
            "addCustomCharacteristics": true,
            "broadcast": "255.255.255.255",
            "deviceTypes": [
                "plug",
                "bulb"
            ],
            "devices": [
                {
                    "host": "192.168.2.191"
                },
                {
                    "host": "192.168.2.225"
                }
            ],
            "devicesUseDiscoveryPort": false,
            "platform": "TplinkSmarthome"
        },
        {
            "platform": "SoundTouchPlugins",
            "name": "SoundTouch",
            "discoverAllAccessories": false,
            "accessories": [
                {
                    "name": "Dining Room Speaker",
                    "room": "Dining Room",
                    "pollingInterval": 2000,
                    "ip": "192.168.1.29",
                    "volume": {
                        "mode": "lightbulb",
                        "onValue": 25,
                        "unmuteValue": 25,
                        "maxValue": 100
                    },
                    "presets": [
                        {
                            "index": 1,
                            "name": "DR1",
                            "enabled": true
                        },
                        {
                            "index": 2,
                            "name": "Dr2",
                            "enabled": true
                        },
                        {
                            "index": 3,
                            "name": "DR3",
                            "enabled": true
                        },
                        {
                            "index": 4,
                            "name": "DR4",
                            "enabled": true
                        },
                        {
                            "index": 5,
                            "name": "DR5",
                            "enabled": true
                        },
                        {
                            "index": 6,
                            "name": "DR6",
                            "enabled": true
                        }
                    ],
                    "sources": []
                },
                {
                    "name": "Office Speaker",
                    "room": "Nicoles Office",
                    "pollingInterval": 2000,
                    "ip": "192.168.1.227",
                    "volume": {
                        "mode": "lightbulb",
                        "onValue": 25,
                        "unmuteValue": 25,
                        "maxValue": 100
                    },
                    "presets": [
                        {
                            "index": 1,
                            "name": "OF1",
                            "enabled": true
                        },
                        {
                            "index": 2,
                            "name": "OF2",
                            "enabled": true
                        },
                        {
                            "index": 3,
                            "name": "OF3",
                            "enabled": true
                        },
                        {
                            "index": 4,
                            "name": "OF4",
                            "enabled": true
                        },
                        {
                            "index": 5,
                            "name": "OF5",
                            "enabled": true
                        },
                        {
                            "index": 6,
                            "name": "OF6",
                            "enabled": true
                        }
                    ],
                    "sources": []
                }
            ],
            "global": {
                "verbose": true,
                "sources": [
                    {
                        "source": "QPLAY",
                        "enabled": false
                    },
                    {
                        "source": "AUX",
                        "enabled": true
                    },
                    {
                        "source": "SIRIUSXM",
                        "enabled": true
                    },
                    {
                        "source": "Amazon Music",
                        "enabled": true
                    }
                ]
            }
        },
        {
            "units": "us",
            "interval": 5,
            "stations": [
                {
                    "nameNow": "WeatherStation",
                    "service": "openweathermap",
                    "key": "example",
                    "locationGeo": [
                        0,
                        0
                    ],
                    "locationCity": "US",
                    "language": "en",
                    "compatibility": "home",
                    "forecast": [
                        "Today",
                        "Tomorrow",
                        "In 2 days",
                        "In 3 days",
                        "In 4 days",
                        "In 5 days"
                    ],
                    "conditionCategory": "simple",
                    "now": true,
                    "extraHumidity": false
                }
            ],
            "platform": "WeatherPlus"
        },
        {
            "name": "Deebot",
            "countryCode": "US",
            "username": "[email protected]",
            "password": "pass",
            "disableDeviceLogging": true,
            "platform": "Deebot"
        },
        {
            "email": "[email protected]",
            "password": "example!",
            "platform": "HatchBabyRest"
        },
        {
            "name": "August",
            "credentials": {
                "augustId": "[email protected]",
                "password": "pass",
                "countryCode": "US",
                "installId": "x-4491-baca-e938e6301e73",
                "isValidated": true,
                "notice": "Keep your tokens a secret!"
            },
            "options": {
                "devices": [
                    {
                        "lockId": "example",
                        "configLockName": "Front Door",
                        "lock": {
                            "hide_lock": true
                        },
                        "overrideHomeKitEnabled": true,
                        "logging": "debug"
                    }
                ],
                "logging": "debug"
            },
            "platform": "August"
        }
    ],
    "disabledPlugins": [
        "homebridge-soundtouch-plugins",
        "homebridge-weather-plus",
        "homebridge-hatch-baby-rest",
        "homebridge-deebot",
        "homebridge-smartthings-ik",
        "homebridge-tplink-smarthome"
    ]
}

Screenshots

No response

Device & Model

Yale Assure Lock 2 fw 1.3.20

Node.js Version

20.14.0

NPM Version

10.5.2

Homebridge Version

1.8.4

Homebridge August Plugin Version

v2.2.7-beta.24

Homebridge Config UI X Plugin Version

v4.56.4

Operating System

Raspbian, Linux homebridgepi 6.1.0-rpi6-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) aarch64 GNU/Linux

@bgleonard bgleonard added the bug Something isn't working label Jul 28, 2024
@github-actions github-actions bot added the stale label Aug 28, 2024
@homebridge-plugins homebridge-plugins deleted a comment from github-actions bot Aug 28, 2024
@donavanbecker donavanbecker added pinned Don't close this issue. and removed stale labels Aug 28, 2024
@wilferrel
Copy link

I'm having same issue, any idea on how to fix this?

@mja00
Copy link

mja00 commented Sep 27, 2024

Getting a somewhat same error, just different undefined.

[9/27/2024, 5:19:18 PM] [August] Lock: Front Door pushChanges: Cannot read properties of undefined (reading 'state')
[9/27/2024, 5:19:49 PM] [August] Lock: Front Door pushChanges: Cannot read properties of undefined (reading 'state')
[9/27/2024, 5:20:18 PM] [August] Lock: Front Door pushChanges: Cannot read properties of undefined (reading 'state')
[9/27/2024, 5:20:49 PM] [August] Lock: Front Door pushChanges: Cannot read properties of undefined (reading 'state')
[9/27/2024, 5:21:18 PM] [August] Lock: Front Door pushChanges: Cannot read properties of undefined (reading 'state')
[9/27/2024, 5:21:48 PM] [August] Lock: Front Door pushChanges: Cannot read properties of undefined (reading 'state')
[9/27/2024, 5:22:19 PM] [August] Lock: Front Door pushChanges: Cannot read properties of undefined (reading 'state')

@mojodean
Copy link

mojodean commented Sep 28, 2024

It looks like my previous bug, #126, has now evolved to this as well. I'm on version 2.2.7.

[DEBUG] Lock: Name Door failed (refreshStatus) lockDetails, Error: TypeError: Cannot read properties of undefined (reading 'state')
[9/28/2024, 6:10:51 AM] [August] Lock: Name pushChanges: Cannot read properties of undefined (reading 'state')

@MrFusion4
Copy link

Same issue. I have a pair of 4th Gen Wi-Fi Smart Locks, on 2.2.7:

[9/28/2024, 9:39:00 PM] [August] Lock: Top Deadbolt pushChanges: Cannot read properties of undefined (reading 'details')
[9/28/2024, 9:39:01 PM] [August] Lock: Bottom Deadbolt pushChanges: Cannot read properties of undefined (reading 'state')

As a result, the plugin is no longer functional. Both locks show "unlocking" in Home, despite both being locked or unlocked. It also no longer locks or unlocks the deadbolts.

@mattheworiordan
Copy link

I am afraid I too have this issue.

I have reinstalled the plugin completely and set up auth again, yet this issue persists.

[05/10/2024, 21:36:33] [August] Total August Locks Found: 2
[05/10/2024, 21:36:33] [August] Adding new accessory: Back door, Lock ID: {{REMOVED}}
[05/10/2024, 21:36:33] [August] Adding new accessory: Front Door, Lock ID: {{REMOVED}}
[05/10/2024, 21:36:33] [August] Lock: Back door pushChanges: Cannot read properties of undefined (reading 'state')
[05/10/2024, 21:36:33] [August] Lock: Front Door pushChanges: Cannot read properties of undefined (reading 'state')
[05/10/2024, 21:37:03] [August] Lock: Back door pushChanges: Cannot read properties of undefined (reading 'state')
[05/10/2024, 21:37:04] [August] Lock: Front Door pushChanges: Cannot read properties of undefined (reading 'state')
[05/10/2024, 21:37:33] [August] Lock: Back door pushChanges: Cannot read properties of undefined (reading 'state')
[05/10/2024, 21:37:34] [August] Lock: Front Door pushChanges: Cannot read properties of undefined (reading 'state')

Homebridge v1.8.4
Homebridge August Plugin v2.2.7

@PatrickDollard
Copy link

PatrickDollard commented Oct 22, 2024

Also having this issue.

@chrisbrinkworth
Copy link

A "me too" post but with the added note that I saw an error in the debug log and set "overrideHomeKitEnabled" to "True" as directed but the "Cannot read properties of undefined (reading 'state')" errors persist.

@pj005975
Copy link

pj005975 commented Oct 24, 2024

Same issue with version v2.2.7. Issue is not present in version 2.2.6.

[24/10/2024, 08:00:26] [August] Initializing August platform...
[24/10/2024, 08:00:26] Ignoring config for the platform "wallbox" in your config.json as the plugin "homebridge-my-wallbox" has been disabled.
[24/10/2024, 08:00:28] [August] Total August Locks Found: 2
[24/10/2024, 08:00:28] [August] Restoring existing accessory from cache: Entrée secondaire, Lock ID: xxxx
[24/10/2024, 08:00:28] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'details')
[24/10/2024, 08:00:28] [August] Restoring existing accessory from cache: Porte d'entrée, Lock ID: xxxx
[24/10/2024, 09:06:27] [August] Initializing August platform...

[24/10/2024, 09:06:29] [August] Total August Locks Found: 2
[24/10/2024, 09:06:29] [August] Restoring existing accessory from cache: Entrée secondaire, Lock ID: xxxx
[24/10/2024, 09:06:29] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'details')
[24/10/2024, 09:06:29] [August] Restoring existing accessory from cache: Porte d'entrée, Lock ID: xxxx

[24/10/2024, 09:06:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:07:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:07:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:07:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:07:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:08:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:08:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:08:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:08:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:09:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:09:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:09:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:09:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:10:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:10:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:10:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:10:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:11:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:11:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:11:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:11:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:12:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:12:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:12:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:12:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:13:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:13:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:13:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:13:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:14:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:14:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:14:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:14:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:15:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:15:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:15:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:15:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:16:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:16:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:16:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:16:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:17:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:17:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:17:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:17:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:18:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:18:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:18:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:18:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:19:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:19:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:19:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:19:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:20:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:20:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:20:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:20:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:21:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:21:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:21:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:21:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:22:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:22:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:22:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:22:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:23:00] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:23:00] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:23:30] [August] Lock: Entrée secondaire pushChanges: Cannot read properties of undefined (reading 'state')
[24/10/2024, 09:23:30] [August] Lock: Porte d'entrée pushChanges: Cannot read properties of undefined (reading 'state')

{
"name": "August",
"credentials": {
"augustId": "[email protected]",
"password": "xxxxxxx",
"installId": "xxxxxx",
"isValidated": true,
"notice": "Keep your tokens a secret!"
},
"platform": "August"
}

OS | Debian GNU/Linux Bookworm (12) Node: v20.12.2 GMT-0400 Homebridge: v1.8.4 Homebridge UI: v4.62.0

@TravisNeal
Copy link

Same issue:
[07/11/2024, 14:06:48] [August] Lock: Front Door pushChanges: Cannot read properties of undefined (reading 'state')
{{repeats}}

@yweiss
Copy link

yweiss commented Nov 21, 2024

same issue on v2.2.9

[11/21/2024, 12:43:02 PM] [August] Lock: [Lock Name] pushChanges: Cannot read properties of undefined (reading 'state')

@mja00
Copy link

mja00 commented Nov 21, 2024

At this point the plugin isn't even usable and I've just gone back to using the august app to control the lock. It'd just constantly drop actions all the time.

@osaffouri
Copy link

osaffouri commented Nov 23, 2024

@mja00 Downgrade to 2.2.6 and everything should be working fine

@lanselius
Copy link

Seeing this same issue on the latest version and can confirm that downgrading to 2.2.6 fixes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pinned Don't close this issue.
Projects
None yet
Development

No branches or pull requests