treehousefalcon / homebridge-kwikset-halo Goto Github PK
View Code? Open in Web Editor NEWAn easy to use Homebridge plugin for Kwikset Halo locks
License: Apache License 2.0
An easy to use Homebridge plugin for Kwikset Halo locks
License: Apache License 2.0
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?
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.
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:
Hello, where does one enter the 2FA code to authenticate?
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:
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:
Environment:
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:
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:
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:
Environment:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.