Skip to content

Commit

Permalink
Update docgen
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed May 1, 2021
1 parent 2d3fb1e commit a8be55a
Show file tree
Hide file tree
Showing 701 changed files with 5,422 additions and 2,373 deletions.
25 changes: 22 additions & 3 deletions docgen/device_page_notes.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
const notes = [
{
model: ['0402946'],
note: `
### Pairing
If pairing failed, try the followings:
- PMake sure door are in open state
- Press and hold manual lock button and wait for 3 beeps
- Keypad in front lights up
- Type inn the Master PIN, then *, then 2, then *, then 0
Lock will now reset the Zigbee module and go to pairing mode
### Manual
[ID LOCK 150 user manual](https://idlock.no/wp-content/uploads/2018/03/20180123-001-IDL150-UserManual.pdf)
[Zigbee module user manual](https://idlock.no/wp-content/uploads/2020/11/User-Manual-Zigbee-module_EN_v0.4.pdf)
### Where do I find this product
[Product page](https://shop.evasmart.no/produkt/smarthus/id-lock-dorlaspakke)
`,
},
{
model: ['ZNCZ04LM'],
note: `
Expand Down Expand Up @@ -1179,17 +1198,17 @@ Reset of device is done by holding button for 20 secs until it starts to flash g
`,
},
{
model: 'ROB_200-007-0',
model: ['ROB_200-007-0', 'ROB_200-008-0'],
note: `
### Pairing
First reset. Press and hold the upper two buttons for 5 seconds until led lights up (continuously blue or green). Then press the upper "0" 5 times - depending on the model, or in a pace of 2 times per second or in a pace of 5 times per second. Second pair. Press and hold the upper two buttons for 5 seconds again, until the led turns on. Then press the "0" once. It should now enter pair mode an start blinking - if it does not get connected, just try the second step again.
`,
},
{
model: 'ROB_200-008-0',
model: ['ROB_200-009-0'],
note: `
### Pairing
First reset. Press and hold the upper two buttons for 5 seconds until led lights up (continuously blue or green). Then press the upper "0" 5 times - depending on the model, or in a pace of 2 times per second or in a pace of 5 times per second. Second pair. Press and hold the upper two buttons for 5 seconds again, until the led turns on. Then press the "0" once. It should now enter pair mode an start blinking - if it does not get connected, just try the second step again.
First reset. Press and hold the two buttons for 5 seconds until led lights up (continuously blue or green). Then press the "0" 5 times - depending on the model, or in a pace of 2 times per second or in a pace of 5 times per second. Second pair. Press and hold the two buttons for 5 seconds again, until the led turns on. Then press the "|" once. It should now enter pair mode an start blinking - if it does not get connected, just try the second step again.
`,
},
{
Expand Down
95 changes: 79 additions & 16 deletions docs/devices/0402946.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
title: "Zigbee module for ID LOCK 150 via MQTT"
description: "Integrate your ID LOCK 150 via Zigbee2MQTT with whatever smart home
title: "Datek 0402946 control via MQTT"
description: "Integrate your Datek 0402946 via Zigbee2MQTT with whatever smart home
infrastructure you are using without the vendors bridge or gateway."
---

*To contribute to this page, edit the following
[file](https://github.com/Koenkk/zigbee2mqtt.io/blob/master/docs/devices/0402946.md)*

# ID LOCK 150
# Datek 0402946

| Model | 0402946 |
| Vendor | Datek |
| Description | Zigbee module for ID LOCK 150 Smart Lock |
| Exposes | lock (state, lock_state, door_state, sound_volume, master_pin_mode, rfid_enable, lock_mode, relock_enabled), battery, linkquality |
| Picture | ![Zigbee module ID LOCK 150](../images/devices/0402946.jpg) |
| Description | Zigbee module for ID lock 150 |
| Exposes | lock (state, lock_state), battery, sound_volume, master_pin_mode, rfid_enable, lock_mode, relock_enabled, linkquality |
| Picture | ![Datek 0402946](../images/devices/0402946.jpg) |

## Notes

Expand All @@ -24,7 +24,7 @@ If pairing failed, try the followings:
- Press and hold manual lock button and wait for 3 beeps
- Keypad in front lights up
- Type inn the Master PIN, then *, then 2, then *, then 0
Lock will now reset the Zigbee module and go to pairing mode
Lock will now reset the Zigbee module and go to pairing mode

### Manual
[ID LOCK 150 user manual](https://idlock.no/wp-content/uploads/2018/03/20180123-001-IDL150-UserManual.pdf)
Expand All @@ -34,6 +34,7 @@ Lock will now reset the Zigbee module and go to pairing mode
[Product page](https://shop.evasmart.no/produkt/smarthus/id-lock-dorlaspakke)



## Exposes

### Lock
Expand All @@ -42,22 +43,48 @@ To control this lock publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set`
To read the current state of this lock publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/get` with payload `{"state": ""}`.
This lock exposes a lock state which can be found in the published state under the `lock_state` property. It's not possible to read (`/get`) or write (`/set`) this value. The possible values are: `not_fully_locked`, `locked`, `unlocked`.

- door_state : Show if doore are open or closed
- sound_volume : Control the sound volume, silent, low or high
- master_pin_mode : Allow the use of Master PIN to unlock the door
- rfid_enable : Enable/Disable usage of RFID tag to unlock the door
- lock_mode : Home Manual, Home Automatic, Away Manual, Away Automatic
- relock_enabled : Relock if unlocked without opening the door

For further information, links to the user manuals are provided above.

### Battery (numeric)
Remaining battery in %.
Value can be found in the published state on the `battery` property.
It's not possible to read (`/get`) or write (`/set`) this value.
The minimal value is `0` and the maximum value is `100`.
The unit of this value is `%`.

### Sound_volume (enum)
Sound volume of the lock.
Value can be found in the published state on the `sound_volume` property.
To read (`/get`) the value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/get` with payload `{"sound_volume": ""}`.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"sound_volume": NEW_VALUE}`.
The possible values are: `silent_mode`, `low_volume`, `high_volume`.

### Master_pin_mode (binary)
Allow master pin unlock.
Value can be found in the published state on the `master_pin_mode` property.
To read (`/get`) the value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/get` with payload `{"master_pin_mode": ""}`.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"master_pin_mode": NEW_VALUE}`.
If value equals `true` master_pin_mode is ON, if `false` OFF.

### Rfid_enable (binary)
Allow RFID to unlock.
Value can be found in the published state on the `rfid_enable` property.
To read (`/get`) the value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/get` with payload `{"rfid_enable": ""}`.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"rfid_enable": NEW_VALUE}`.
If value equals `true` rfid_enable is ON, if `false` OFF.

### Lock_mode (enum)
Lock Mode of the lock.
Value can be found in the published state on the `lock_mode` property.
To read (`/get`) the value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/get` with payload `{"lock_mode": ""}`.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"lock_mode": NEW_VALUE}`.
The possible values are: `auto_off_away_off`, `auto_on_away_off`, `auto_off_away_on`, `auto_on_away_on`.

### Relock_enabled (binary)
Allow auto re-lock.
Value can be found in the published state on the `relock_enabled` property.
To read (`/get`) the value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/get` with payload `{"relock_enabled": ""}`.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"relock_enabled": NEW_VALUE}`.
If value equals `true` relock_enabled is ON, if `false` OFF.

### Linkquality (numeric)
Link quality (signal strength).
Value can be found in the published state on the `linkquality` property.
Expand Down Expand Up @@ -89,6 +116,42 @@ sensor:
unit_of_measurement: "%"
device_class: "battery"

sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
value_template: "{{ value_json.sound_volume }}"

binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
value_template: "{{ value_json.master_pin_mode }}"
payload_on: true
payload_off: false

binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
value_template: "{{ value_json.rfid_enable }}"
payload_on: true
payload_off: false

sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
value_template: "{{ value_json.lock_mode }}"

binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
value_template: "{{ value_json.relock_enabled }}"
payload_on: true
payload_off: false

sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
Expand Down
3 changes: 0 additions & 3 deletions docs/devices/046677476816.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ light:
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: false
xy: false
hs: false
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
brightness_scale: 254
Expand Down
3 changes: 0 additions & 3 deletions docs/devices/046677551780.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ light:
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: false
xy: false
hs: false
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
brightness_scale: 254
Expand Down
3 changes: 0 additions & 3 deletions docs/devices/067771.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,6 @@ light:
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: false
xy: false
hs: false
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
brightness_scale: 254
Expand Down
7 changes: 4 additions & 3 deletions docs/devices/07004D_07005L.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,13 @@ light:
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
hs: false
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
brightness_scale: 254
color_mode: true
supported_color_modes:
- "xy"
- "color_temp"
max_mireds: 500
min_mireds: 150
effect: true
Expand Down
3 changes: 0 additions & 3 deletions docs/devices/07005B.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ light:
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: false
xy: false
hs: false
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
brightness_scale: 254
Expand Down
7 changes: 4 additions & 3 deletions docs/devices/07008L.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,13 @@ light:
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
hs: false
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
brightness_scale: 254
color_mode: true
supported_color_modes:
- "xy"
- "color_temp"
max_mireds: 500
min_mireds: 150
effect: true
Expand Down
6 changes: 3 additions & 3 deletions docs/devices/07042L.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ light:
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
brightness_scale: 254
color_mode: true
supported_color_modes:
- "color_temp"
max_mireds: 370
min_mireds: 153
effect: true
Expand Down
6 changes: 3 additions & 3 deletions docs/devices/07073L.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ light:
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
brightness_scale: 254
color_mode: true
supported_color_modes:
- "color_temp"
max_mireds: 370
min_mireds: 153
effect: true
Expand Down
3 changes: 0 additions & 3 deletions docs/devices/07088L.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ light:
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: false
xy: false
hs: false
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
brightness_scale: 254
Expand Down
Loading

0 comments on commit a8be55a

Please sign in to comment.