在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:benzman81/homebridge-nukiio开源软件地址:https://github.com/benzman81/homebridge-nukiio开源编程语言:JavaScript 100.0%开源软件介绍:NOTE: Since version 0.10.0 Only two locks are exposed. One that just does lock/unlock (without pulling the latch), and one that always is displayed as locked and pulls the door latch on unlock. This way done from personal experience where only these two are only needed. Other behavoirs could be done using scenes. Since one lock was removed you need to adapt your existing scenes/automations that used this lock. You will now also get a switch in the lock to enable/disbale unlatching, so you can use automations to switch to desired state (i.e. based on location or time). This was implemented to prevent accidental unlatch of door. NOTE: Since version 0.7.0 the configuration keys for lock and unlock actions are no longer supported, for now. Use 'usesDoorLatch' for doors with door latch. NOTE: Since version 0.4.0 the configuration changed to platform. You must fix your configuration to match the new configuration format. homebridge-nukiioNuki.io support for Homebridge: https://github.com/nfarina/homebridge that supports Nuki Lock and Nuki Opener. Current stateSeems to work solid. Feel free to create new issues in github for any problems. RequirementsYou need the following information from your bridge for the configuration:
ConfigurationExample config.json:
Cache directory storage (cache_directory)The cache directory is used to cache the state of the locks. It must point to a valid and empty directory and the user that runs homebridge must have write access. Configure lock state modeYou can choose one of the following values to determine how to retrieve the state of the locks:
Use Nuki WebhookUsually the plugin makes calls to Nuki bridge to get the state of a lock. Since Nuki supports Webhooks it is possible for Nuki to push a lock state on the fly to the plugin. If the configuration parameter "webhook_server_ip_or_name" is set, than the plugin registers a Webhook in Nuki automatically if not already set to use it for lock state update and cache. Note: An automatically added Webhook does not get removed ever, so you need to do it manually if you don't need it anymore. Doors with door latchesYou can define if a door uses a door latch by setting 'usesDoorLatch' to true. If you do so, than two locks will be added to homekit. One that unlocks the door without pulling the door latch ("lockname") and one that always is displayed as locked and pulls the door latch on unlock ("lockname ALWAYS Unlatch"). You will now also get a switch in the lock to enable/disbale unlatching so you can use automations to switch to desired state (i.e. based on location or time). This was implemented to prevent accidental unlatch of door. preventLockingIfAlreadyLockedThis setting is usefull if you have a lock that is set to turn only 360 degrees instead of 720. Setting preventLockingIfAlreadyLocked to true avoids a second lock action so that the lock will never lock to 720. Use this setting carefully as this might not lock your lock if a wrong state is present in homebridge for any reason. Nuki OpenerIf you configure a Nuki opener you will get three lock accessories and one button. One lock to open the door, one to de/activate RingToOpen and one to de/activate ContinousMode. If the lock accessory for RingToOpen is secured then RingToOpen is inactive, other wise it is active. If the lock accessory for ContinousMode is secured then ContinousMode is inactive, other wise it is active. The button can be used to deactivate doorbell ring. ErrorsFor errors on lock actions a configured number of retries with delay will be done. You can set the parameters 'lockaction_maxtries' and 'lockaction_retrydelay' to meet your needs. Additional informationThe plugin uses the Nuki API of the bridge. The API token can be configured via the Nuki app when enabling the API. The plugin was build on Nuki API documentation v1.9.0. Valid values for lock action and unlock action can be found in the Nuki API documentation. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论