Skip to content

Commit 89b6099

Browse files
Kane610frenck
andauthored
Improve deCONZ documentation (home-assistant#19554)
Co-authored-by: Franck Nijhof <git@frenck.dev>
1 parent b86d0ef commit 89b6099

File tree

1 file changed

+41
-127
lines changed

1 file changed

+41
-127
lines changed

source/_integrations/deconz.markdown

Lines changed: 41 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ha_category:
1111
- Lock
1212
- Scene
1313
- Sensor
14+
- Siren
1415
- Switch
1516
ha_release: 0.61
1617
ha_iot_class: Local Push
@@ -30,6 +31,7 @@ ha_platforms:
3031
- lock
3132
- scene
3233
- sensor
34+
- siren
3335
- switch
3436
---
3537

@@ -47,6 +49,7 @@ There is currently support for the following device types within Home Assistant:
4749
- [Lock](#lock)
4850
- [Scene](#scene)
4951
- [Sensor](#sensor)
52+
- [Siren](#siren)
5053
- [Switch](#switch)
5154

5255
## Recommended way of running deCONZ
@@ -78,6 +81,10 @@ logger:
7881
7982
If you are having issues and want to report a problem, always start with making sure that you're on the latest [deCONZ software version](https://github.com/dresden-elektronik/deconz-rest-plugin/releases) and [latest firmware for hardware](http://deconz.dresden-elektronik.de/deconz-firmware/?C=M;O=D).
8083
84+
### No state updates
85+
86+
If the state of entities are only reflected in Home Assistant when the integration is loaded (during restart, reload, setup) you probably have an issue with the WebSocket configuration where your deCONZ instance is running. The deCONZ integration uses the WebSocket port provided by the deCONZ REST API. If you're running the deCONZ Docker container make sure that it properly configures the WebSocket port so deCONZ can report what port is exposed outside of the containerized environment. Also, make sure to review firewall rules that might block communication over certain ports.
87+
8188
## Device services
8289
8390
Available services: `configure`, `deconz.device_refresh` and `deconz.remove_orphaned_entries`.
@@ -110,13 +117,13 @@ Either `entity` or `field` must be provided. If both are present, `field` will b
110117
{ "field": "/config", "data": {"permitjoin": 60} }
111118
```
112119

113-
#### Service `deconz.device_refresh`
120+
### Service `deconz.device_refresh`
114121

115122
Refresh with devices added to deCONZ after Home Assistants latest restart.
116123

117124
Note: deCONZ automatically signals Home Assistant when new sensors are added, but other devices must at this point in time (deCONZ v2.05.35) be added manually using this service or a restart of Home Assistant.
118125

119-
#### Service `deconz.remove_orphaned_entries`
126+
### Service `deconz.remove_orphaned_entries`
120127

121128
Remove entries from entity and device registry which are no longer provided by deCONZ.
122129

@@ -161,29 +168,11 @@ Navigate to **Developer tools->Events**. In the section **Listen to events** add
161168

162169
### Device triggers
163170

164-
To simplify using remote control devices in automations deCONZ integration exposes them as device triggers. This will expose all possible variations of button presses and rotations. Note that this is a manually curated list and will not initially be as complete as what deCONZ supports.
165-
166-
Currently supported devices as device triggers:
167-
168-
- Hue Dimmer Switch
169-
- Hue Smart Button
170-
- Hue Tap Switch
171-
- Friends of Hue Switch
172-
- Symfonisk Sound Controller
173-
- Trådfri On/Off Switch
174-
- Trådfri Open/Close Remote
175-
- Trådfri Remote Control
176-
- Trådfri Wireless Dimmer
177-
- Aqara Double Wall Switch
178-
- Aqara Mini Switch
179-
- Aqara Round Switch
180-
- Aqara Square Switch
181-
- Aqara Magic Cube
182-
- Aqara Opple 2/4/6 button Switches
171+
To simplify using remote control devices in automations deCONZ integration exposes them as device triggers. This will expose all possible variations of button presses and rotations. Most popular brands of Zigbee remotes are supported.
183172

184173
#### Requesting support for new device trigger
185174

186-
Requesting support for additional devices requires the device model (can be acquired from debug logs) together with a mapping of action and button event, e.g., Hue dimmer remote model "RWL021", Short press turn on 1000.
175+
If you have a Zigbee remote that is not yet supported you can request support for it by creating an issue on Home Assistant Core GitHub repository. This requires the device model (can be acquired from debug logs) together with a mapping of action and button event, e.g., Hue dimmer remote model "RWL021", Short press turn on 1000.
187176

188177
## Examples
189178

@@ -315,143 +304,74 @@ automation:
315304
'on': false
316305
```
317306

318-
## Alarm Control Panel
307+
## Platforms
308+
309+
The `entity_id` name will be `platform.device_name`, where `device_name` is defined in deCONZ.
310+
311+
### Alarm Control Panel
319312

320313
The entity of a physical keypad. Can be in 4 different modes (`arm_away`, `arm_home`, `arm_night` or `disarmed`). Changing the state will do an audible notification from the keypad.
321314

322-
The Device also exposes a new event type `deconz_alarm_event` which signals a user action with the keypad.
323-
The Payload consists of an event (`arm_away`, `arm_home`, `arm_night` or `disarmed`) and a four-digit code.
315+
The Device also exposes a new event type `deconz_alarm_event` which reflects signals not supported within the Alarm Control Panel platform.
316+
The Payload consists of an event (`emergency`, `fire`, `invalid_code` or `panic`).
324317

325-
## Binary Sensor
318+
### Binary Sensor
326319

327320
The following sensor types are supported:
328321

322+
- Alarm signalling
329323
- Fire/Smoke detection
330324
- Open/Close detection
331325
- Presence detection
326+
- Vibration detection
332327
- Water leakage detection
333328

334-
The `entity_id` name will be `binary_sensor.device_name`, where `device_name` is defined in deCONZ.
335-
336-
### Verified supported binary sensors
337-
338-
- Open/Close Detection
339-
- Xiaomi Smart Home Security Door & Window Contact Sensor
340-
- Presence Detection
341-
- IKEA Trådfri Motion Sensor
342-
- Philips Hue Motion Sensor
343-
- Xiaomi Motion Sensor
344-
- Xiaomi Smart Home Aqara Human Body Sensor
345-
- Water leakage detection
346-
- Xiaomi Aqara water leak Sensor
347-
348-
## Climate
329+
### Climate
349330

350331
See the [deCONZ main integration](/integrations/deconz/) for configuration instructions.
351332

352333
Climate currently represent thermostats.
353334

354335
Note that devices in the climate platform identify as sensors, so there is a manually curated list that defines which "sensors" are climate devices.
355336

356-
The `entity_id` name will be `climate.device_name`, where `device_name` is defined in deCONZ.
357-
358-
### Verified supported climate devices
359-
360-
- Bitron Thermostat 902010/32
361-
- Eurotronic SPZB0001
362-
363-
## Cover
337+
### Cover
364338

365339
Covers are devices like ventilation dampers or smart window covers.
366340

367-
Note that devices in the cover platform identify as lights, so there is a manually curated list that defines which "lights" are covers. You therefore add a cover device as a light device in deCONZ (Phoscon App).
368-
369-
The `entity_id` name will be `cover.device_name`, where `device_name` is defined in deCONZ.
370-
371-
### Verified supported covers
372-
373-
- IKEA Fyrtur
374-
- IKEA Kadrilj
375-
- Keen vents
376-
- Xiaomi Aqara Curtain controller
377-
378-
## Fan
341+
### Fan
379342

380343
Fans from deCONZ are currently a combination of a light and fan fixture.
381344

382-
Note that devices in the fan platform identify as lights, so there is a manually curated list that defines which "lights" are fans. You, therefore, add a fan device as a light device in deCONZ (Phoscon App).
383-
384-
## Light
345+
### Light
385346

386-
The `entity_id` names will be `light.device_name`, where `device_name` is defined in deCONZ. Light groups created in deCONZ will be created in Home Assistant as lights named `light.group_name_in_deconz`, allowing the user to control groups of lights with only a single API call to deCONZ.
347+
The Light platform keeps light devices and deCONZ light groups. Light groups created in deCONZ will be created in Home Assistant as lights named `light.group_name_in_deconz`, allowing the user to control groups of lights with only a single API call to deCONZ.
387348

388-
### Verified supported lights
389-
390-
- IKEA Trådfri bulb E14 WS Opal 400lm
391-
- IKEA Trådfri bulb E14 WS Opal 600lm
392-
- IKEA Trådfri bulb E27 WS clear 806lm
393-
- IKEA Trådfri bulb E27 WS clear 950lm
394-
- IKEA Trådfri bulb E27 WS Opal 980lm
395-
- IKEA Trådfri bulb E27 WS Opal 1000lm
396-
- IKEA Trådfri bulb E27 WS & RGB Opal 600lm
397-
- IKEA Trådfri bulb GU10 W 400lm
398-
- IKEA Trådfri FLOALT LED light panel
399-
- Innr BY-265, BY-245, RB-265
400-
- OSRAM Classic A60 W clear - LIGHTIFY
401-
- OSRAM Flex RGBW
402-
- OSRAM Gardenpole RGBW
403-
- Philips Hue White A19
404-
- Philips Hue White Ambiance A19
405-
- Philips Hue Hue White ambiance Milliskin (recessed spotlight) LTW013
406-
- Philips Hue LightStrip Plus
407-
- Busch Jaeger Zigbee Light Link univ. relai (6711 U) with Zigbee Light Link control element 6735-84
408-
- Xiaomi Aqara Smart LED Bulb (white) E27 ZNLDP12LM
409-
410-
## Lock
349+
### Lock
411350

412351
Locks are devices such as the Danalock Zigbee lock.
413352

414-
Note that devices in the `lock` platform identify as lights, so there is a manually curated list that defines which "lights" are locks. You therefore add a lock device as a light device in deCONZ (Phoscon App).
415-
416-
The `entity_id` name will be `lock.device_name`, where `device_name` is defined in deCONZ.
417-
418-
## Scene
353+
### Scene
419354

420355
The `entity_id` name will be `scene.group_scene_name`, where `group` is which group the scene belongs to and the name of the scene, both group and name are defined in deCONZ.
421356

422-
## Sensor
357+
### Sensor
423358

424359
The following sensor types are supported:
425360

361+
- Air Quality sensor
362+
- Battery sensor
363+
- Consumption sensor
364+
- Daylight
426365
- Humidity sensor
427366
- Light level sensor
367+
- Power sensor
428368
- Pressure sensor
429369
- Switches
430370
- Temperature sensor
431371

432-
The `entity_id` name will be `sensor.device_name`, where `device_name` is defined in deCONZ. Switches aren't exposed as ordinary entities, see the [deCONZ main integration](/integrations/deconz/) for more details.
433-
434-
### Verified to be supported sensors
372+
Switches aren't exposed as ordinary entities, see the [deCONZ main integration](/integrations/deconz/) for more details.
435373

436-
- Humidity Sensor
437-
- Xiaomi Aqara Humidity/Temperature Sensor
438-
- Xiaomi MiJia Smart Temperature & Humidity Sensor
439-
- Light Level Sensor
440-
- Pressure Sensor
441-
- Switches
442-
- IKEA Trådfri Wireless Dimmer
443-
- Philips Hue Motion Sensor
444-
- IKEA Trådfri Remote
445-
- Philips Hue Dimmer Switch
446-
- Xiaomi Aqara Smart Light Switch
447-
- Xiaomi Aqara Smart Wireless Switch
448-
- Xiaomi Smart Home Wireless Switch
449-
- Temperature Sensor
450-
- Xiaomi Temperature/Humidity Sensor
451-
- OpenClose Sensor
452-
- Xiaomi Window / Door Sensor with Temperature
453-
454-
### deCONZ Daylight Sensor
374+
#### deCONZ Daylight Sensor
455375

456376
The deCONZ Daylight sensor is a special sensor built into the deCONZ software since version 2.05.12. It is represented in Home Assistant as a sensor called sensor.daylight. The sensor's state value is a string corresponding to the phase of daylight (descriptions below taken from <https://github.com/mourner/suncalc>, on which the deCONZ implementation is based):
457377

@@ -478,18 +398,12 @@ These states can be used in automations as a trigger (e.g., trigger when a certa
478398

479399
Please note that the deCONZ daylight sensor is disabled by default in Home Assistant. It can be enabled manually by going to your deCONZ controller device in the Home Assistant UI.
480400

481-
## Switch
401+
### Siren
482402

483-
Switches are devices like power plugs and sirens.
403+
Control audible devices with a limit on how long the signal should sound.
484404

485-
Note that devices in the switch platform identify as lights, so there is a manually curated list that defines which "lights" are switches.
405+
### Switch
486406

487-
The `entity_id` name will be `switch.device_name`, where `device_name` is defined in deCONZ.
488-
489-
### Verified supported switches
407+
Switches are devices such as power plugs.
490408

491-
- Innr SP120
492-
- Innr ZB-ONOFFPlug-D0005/SmartThings Smart Plug (2019) (without power measurements)
493-
- Osram Lightify plug
494-
- Osram Outdoor plug
495-
- Heiman siren
409+
The `entity_id` name will be `switch.device_name`, where `device_name` is defined in deCONZ.

0 commit comments

Comments
 (0)