You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+118-17
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The lock entity updates whenever the lock's state changes - whether through the
8
8
9
9
10
10
## How to Use
11
-
To integrate your Nuki Smartlock, add the following code snippet to your ESPHome YAML file.
11
+
To integrate your Nuki Smartlock, add one of the following code snippets to your ESPHome YAML file.
12
12
13
13
> [!WARNING]
14
14
> This component relies on NimBLE, which is incompatible with the ESPHome BLE stack.
@@ -17,6 +17,122 @@ To integrate your Nuki Smartlock, add the following code snippet to your ESPHome
17
17
> [!TIP]
18
18
> If your ESP32 is equipped with PSRAM, you can add the `psram` component to enable the use of PSRAM for the NimBLE Stack, enhancing the reliability of this component.
19
19
20
+
### Example configuration YAML
21
+
<details>
22
+
<summary>ESP-IDF</summary>
23
+
24
+
```yaml
25
+
external_components:
26
+
- source: github://uriyacovy/ESPHome_nuki_lock
27
+
28
+
esp32:
29
+
board: "esp32dev"# Or whatever other board you're using
After running ESPHome (`esphome run <yamlfile.yaml>`), follow these steps to pair your Nuki Smartlock:
131
248
@@ -137,22 +254,6 @@ After running ESPHome (`esphome run <yamlfile.yaml>`), follow these steps to pai
137
254
138
255
Your Nuki Smartlock is now connected and ready to use!
139
256
140
-
141
-
## Settings
142
-
143
-
These settings allow you to customize the behavior of the Nuki Lock component to improve the performance and reliability.
144
-
They can be configured in your ESPHome YAML file:
145
-
146
-
- **pairing_mode_timeout**: The duration (in seconds) for which the pairing mode will be active. Default is `300s`.
147
-
- **event**: The event name used for the Nuki Lock component. Default is `nuki`.
148
-
- **security_pin**: The Nuki security PIN required for certain operations.
149
-
- **alternative_connect_mode**: Enable the alternative connection mode. Disable it if you encounter any issues. Default is `true`.
150
-
- **pairing_as_app**: Specify if the pairing should be done as an app (not recommended). Default is `false`.
151
-
- **query_interval_config**: The interval (in seconds) at which the configuration will be queried. Default is `3600s`.
152
-
- **query_interval_auth_data**: The interval (in seconds) at which the authentication data will be queried. Default is `7200s`.
153
-
154
-
155
-
156
257
## Settings
157
258
158
259
The following settings allow you to customize the behavior of the Nuki Lock component, optimizing its performance and reliability. You can configure these in your ESPHome YAML file:
0 commit comments