Coder Social home page Coder Social logo

homebridge-kwikset-halo's People

Contributors

aegiryy avatar dependabot[bot] avatar jgstroud avatar treehousefalcon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

aegiryy jgstroud

homebridge-kwikset-halo's Issues

The status shows unlocking while it’s actually locked

When I manually unlock the kwikset halo, the homekit shows it’s locking while it’s already unlocked. I guess it’s because the LockCurrentState is changed to unlocked (by my manual operation) but LockTargetState remains in the “locked” state. Is there a way to fix this?

Hook into lock state subscription instead of polling

The plugin's current method of retrieving locked/unlocked status is through polling Kwikset's API on an interval. This should be investigated and changed to use the same method the Kwikset mobile app uses to send push notifications.

Lock status always Unlocked and lock doesn't lock/unlock

Describe The Bug:
I have the HALO-02 (938-00X) lock (works great) and just connected it up to the latest Homebridge. I can see the lock battery percentage working fine; however, the lock always reports that it's "unlocked". When I click to lock it, the UI will show locked for a few seconds, then it'll be unlocked again. Additionally, nothing is actually happening with the lock itself (it never locks or unlocks). I tried waiting 30+ seconds each time in case it was maybe just some sort of polling interval weirdness, but nothing ever actually happens with my actual lock and the plugin always reports that it's unlocked.

To Reproduce:
Install plugin, auth as needed, then click to "lock" the device. It'll appear locked for a few seconds, then become "unlocked" again.

Expected behavior:
I expect that the status I see in Homebridge to reflect the actual lock status of the lock. I also expect that when I lock or unlock the device that the signal gets sent and actually locks or unlocks the lock.

Logs:

I never get any logs other than that I successfully logged in.

Initializing homebridge-kwikset-halo platform...
Logged in!

Plugin Config:

{
"email": "email",
"password": "password",
"homeName": "home name",
"mfaPort": 47279,
"platform": "homebridge-kwikset-halo"
}

Environment:

  • Plugin Version: v0.3.1
  • Homebridge Version: v1.7.0 with UI v4.54.1
  • Node.js Version: 20.10.0
  • NPM Version:
  • Operating System: Raspbian (Linux 6.1.0-rpi7-rpi-v8 arm64) with hb-service

2FA

Hello, where does one enter the 2FA code to authenticate?

Kwikset Halo Fingerprint Door Lock Doesn't Appear In HomeKit Using HOOBS

Describe Your Problem:

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

{
  "platforms": [
    {
      "platform": "homebridge-kwikset-halo",
      "email": "*****@icloud.com",
      "password": "******",
      "homeName": "Home",
      "mfaPort": 47279
    }
  ]
}

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:

Not able to install on a Pi Zero W

Describe Your Problem:

Have tried several times but have not been able to install.

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

image

Environment:

  • Plugin Version:
  • Homebridge Version: 1.6.1
  • Node.js Version: 18.17.0
  • NPM Version: 9.6.7
  • Operating System: Rasbian

Plugin doesn't load: Cannot find module 'ip'

Describe The Bug:
Plugin version v0.3.3 fails to load

To Reproduce:

Expected behavior:

Logs:

Show the Homebridge logs here, remove any sensitive information.

[5/15/2024, 9:30:30 PM] ====================
[5/15/2024, 9:30:30 PM] ERROR LOADING PLUGIN homebridge-kwikset-halo:
[5/15/2024, 9:30:30 PM] Error: Cannot find module 'ip'
Require stack:
- /homebridge/node_modules/homebridge-kwikset-halo/dist/kwikset.js
- /homebridge/node_modules/homebridge-kwikset-halo/dist/lock.js
- /homebridge/node_modules/homebridge-kwikset-halo/dist/platform.js
- /homebridge/node_modules/homebridge-kwikset-halo/dist/index.js
- /homebridge/node_modules/homebridge/lib/plugin.js
- /homebridge/node_modules/homebridge/lib/pluginManager.js
- /homebridge/node_modules/homebridge/lib/api.js
- /homebridge/node_modules/homebridge/lib/server.js
- /homebridge/node_modules/homebridge/lib/cli.js
- /homebridge/node_modules/homebridge/bin/homebridge
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at Function.Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/homebridge/node_modules/homebridge-kwikset-halo/src/kwikset.ts:13:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.
{
    "bridge": {
        "name": "Homebridge ****",
        "username": "***********",
        "port": 51445,
        "pin": "*********",
        "advertiser": "bonjour-hap"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "f",
            "lang": "auto",
            "platform": "config"
        },
        {
            "email": "****@gmail.com",
            "password": "************",
            "homeName": "*******",
            "mfaPort": 47278,
            "platform": "homebridge-kwikset-halo"
        }
    ]
}

Screenshots:

Environment:

  • Plugin Version: v0.3.3
  • Homebridge Version: Homebridge v1.8.1 · UI v4.56.2
  • Node.js Version: v20.12.2
  • NPM Version:
  • Operating System: Ubuntu Jammy (22.04.4 LTS)
  • Docker Image Version: homebridge/homebridge:2024-05-02

Ubuntu 24.04

Describe The Bug:

Kwikset plugin fails to run
To Reproduce:

Install Ubuntu 24.04 from scratch including homebridge
Expected behavior:

To run
Logs:
[4/26/2024, 5:04:43 PM] ERROR LOADING PLUGIN homebridge-kwikset-halo:
[4/26/2024, 5:04:43 PM] Error: Cannot find module 'ip'
Require stack:

  • /var/lib/homebridge/node_modules/homebridge-kwikset-halo/dist/kwikset.js
  • /var/lib/homebridge/node_modules/homebridge-kwikset-halo/dist/lock.js
  • /var/lib/homebridge/node_modules/homebridge-kwikset-halo/dist/platform.js
  • /var/lib/homebridge/node_modules/homebridge-kwikset-halo/dist/index.js
  • /var/lib/homebridge/node_modules/homebridge/lib/plugin.js
  • /var/lib/homebridge/node_modules/homebridge/lib/pluginManager.js
  • /var/lib/homebridge/node_modules/homebridge/lib/api.js
  • /var/lib/homebridge/node_modules/homebridge/lib/server.js
  • /var/lib/homebridge/node_modules/homebridge/lib/cli.js
  • /var/lib/homebridge/node_modules/homebridge/bin/homebridge
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at Function.Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object. (/var/lib/homebridge/node_modules/homebridge-kwikset-halo/src/kwikset.ts:13:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    [4/26/2024, 5:04:43 PM] ====================
Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

{
"bridge": {
"name": "XXXXX",
"username": "XXXXX
"port": 51849,
"pin": "XXXXXX",
"advertiser": "bonjour-hap"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
{
"email": "XXXXXXX",
"password": "XXXXX",
"homeName": "XXXXXX",
"mfaPort": 47279,
"_bridge": {
"username": "XXXX",
"port": 42959
},
"platform": "homebridge-kwikset-halo"
}
]
}

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Screenshot 2024-04-26 at 12-09-08 Homebridge Daylily Dr

Environment:

  • Plugin Version: 0.3.3
  • Homebridge Version: Homebridge v1.8.0 (HAP v0.12.0)
  • Node.js Version: Node.js Version v20.12.2
  • NPM Version: 8.5.1
  • Operating System: Ubuntu 24.04

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.