SteffeyDev / homebridge-hyundai-bluelink

Homebridge plugin for Hyundai BlueLink
Apache License 2.0
26 stars 13 forks source link

Status of Door locks dont update #21

Closed yonigold1 closed 3 years ago

yonigold1 commented 3 years ago

Describe The Bug: Status does of Door locks does not update

To Reproduce: lock the door from either the car or the key fob or the bluelink app

Expected behavior: i would imagine that if i lock it from the bluelink app or the fob that the door lock in homekit would say locked

Logs: ill attach at a later point

Plugin Config:

        {
            "credentials": {
                "username": "REMOVED",
                "password": "REMOVED",
                "region": "CA",
                "brand": "hyundai",
                "pin": "REMOVED"
            },
            "vehicles": [
                {
                    "vin": "REMOVED"
                }
            ],
            "remoteStart": {
                "cool": true,
                "heat": false,
                "defrost": false,
                "temperature": "0BH",
                "igniOnDuration": 10
            },
            "platform": "Hyundai" 

Environment:

athal7 commented 3 years ago

Just added an explanation for this to the readme:

https://github.com/athal7/homebridge-hyundai-bluelink/blob/main/README.md#status-refresh-delay

Due to Hyundai's API Rate Limits, the car status (locked, on/off, range) is only updated once per hour. Actions taken from homebridge get automatically refreshed, but actions taken elsewhere (e.g. bluelink app, key fab) may not display in homebridge for up to an hour.