-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add deCONZ component documentation #3967
Conversation
source/_components/deconz.markdown
Outdated
## {% linkable_title Configuration variables %} | ||
|
||
- **host** (*Required*): The IP address to your deCONZ server. | ||
- **api-key** (*Optional*): The username to your Axis device. Default is 'root'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left overs from the Axis component ;)
source/_components/deconz.markdown
Outdated
## {% linkable_title Device services %} | ||
Available services: `generate_api_key`. | ||
|
||
#### {% linkable_title Service `deconz/generate_api_key` %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a link to deconz documentation for this http://dresden-elektronik.github.io/deconz-rest-doc/getting_started/
So here is some general feedback :
|
Added automation examples for a IKEA Trådfri dimmer and input number Added list of supported device types Added lists of verified to work devices Removed references to Axis component
|
||
#### {% linkable_title Verified to be supported sensors %} | ||
|
||
- IKEA Trådfri bulb GU10 W 400lm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested "TRADFRI bulb E27 WS�opal 980lm" as working. Not sure about the weird character in there but thats how it displays in the front end (and probably deconz to be fair)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, maybe I need to decode it to a specific type like UTF-8?
source/_components/deconz.markdown
Outdated
|
||
- **host** (*Required*): The IP address to your deCONZ server. | ||
- **api-key** (*Optional*): The API key to your deCONZ server. | ||
- **port** (*Optional*): Configure port deCONZ web server is accessible from. Default is 80. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if it's used here but in the more recent versions of deconz you can change the websocket port. Does this need to be taken into consideration here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Websocket port is taken directly from Deconz, no need to configure.
|
||
- Open/close detection | ||
- Presence detection | ||
- IKEA Trådfri Motion Sensor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add HUE Motion sensor
source/_components/deconz.markdown
Outdated
|
||
[deCONZ](https://www.dresden-elektronik.de/funktechnik/products/software/pc/deconz/) by [Dresden Elektronik](https://www.dresden-elektronik.de) is a software that communicates with Conbee/Raspbee Zigbee gateways and exposes Zigbee devices that are connected to the gateway. | ||
|
||
[deCONZ REST API](http://dresden-elektronik.github.io/deconz-rest-doc/) verified from v2.04.86. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to 2.04.89
- Light level sensor | ||
- Pressure sensor | ||
- Switches | ||
- IKEA Trådfri wireless dimmer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add IKEA Trådfri remote http://www.ikea.com/us/en/catalog/products/20303317/
Add Xiaomi Humidity/Temperature sensor https://www.gearbest.com/access-control/pp_626702.html
Add Philips HUE Dim Switch http://www2.meethue.com/en-us/p/hue-dimmer-switch/046677458140
Add Xiaomi Cube https://www.gearbest.com/living-appliances/pp_364494.html?vip=3160986&gclid=CjwKCAiArrrQBRBbEiwAH_6sNOFBNv-r-QMC2huQ9ODXWxARRAJtGRdwWZO_1GEt9MAJg1IXLS1hlhoCDT4QAvD_BwE
Add Philips Motion Sensor http://www2.meethue.com/en-hk/p/hue-motion-sensor/8718696769881
Can confirm following devices to be working fine: Xiaomi WXKG01LM Smart Home Wireless Switch Due to lack of support in deconz, battery values are still not reported. |
@tseel no battery support on any of those devices? |
@Kane610 It's a known issue in the rest api of deconz and announced for the future, see dresden-elektronik/deconz-rest-plugin#13 |
Added additional verified lights
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Kane610 Requested some small change via review. Could you take a look?
--- | ||
layout: page | ||
title: "deCONZ Binary Sensor" | ||
description: "Instructions how to integrate Zigbee binary sensors from deCONZ into Home Assistant." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instructions how to
-> Instructions on how to
source/_components/deconz.markdown
Outdated
|
||
Home Assistant will automatically discover deCONZ presence on your network, if `discovery:` is present in your `configuration.yaml` file. | ||
|
||
If you don't have the API key, you can generate an API key for deCONZ by using the one-click functionality similar to Philips Hue. Go to Menu->Settings->Unlock Gateway in deCONZ and then use the deCONZ configurator in HASS GUI to create an API key. When you've generated the API key from HASS the API key will be stored in deconz.conf inside the home-assistant folder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Missing comma after
HASS
->from HASS, the API
- Replace
HASS
->Home Assistant
source/_components/deconz.markdown
Outdated
| Parameter | Description | | ||
|-----------|---------------------------------------------------------| | ||
| `field` | String representing a specific device in deCONZ. | | ||
| `data` | Data is a json object with what data you want to alter. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
json
-> JSON
source/_components/deconz.markdown
Outdated
|
||
## {% linkable_title Configuration variables %} | ||
|
||
- **host** (*Optional*): The IP address to your deCONZ server. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
address to your
-> address of your
source/_components/deconz.markdown
Outdated
- [Switches (Remote Controls)](/components/sensor/deconz/) | ||
- [Temperature Sensors](/components/sensor/deconz/) | ||
|
||
## {% linkable_title Configuration variables %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the configuration tags to display configuration variables. For more information see:
https://home-assistant.io/developers/documentation/create_page/#configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This header is not needed. It will be defined automatically when using the configuration
tags.
footer: true | ||
logo: deconz.jpeg | ||
ha_category: Light | ||
ha_release: "0.60" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bump to 0.61
footer: true | ||
logo: deconz.jpeg | ||
ha_category: Sensor | ||
ha_release: "0.60" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bump to 0.61
--- | ||
layout: page | ||
title: deCONZ Sensor | ||
description: "Instructions how to integrate Zigbee sensors from deCONZ into Home Assistant." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instructions how to
-> Instructions on how to
--- | ||
layout: page | ||
title: "deCONZ" | ||
description: "Instructions how to integrate deCONZ scenes into Home Assistant." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instructions how to
-> Instructions on how to
footer: true | ||
logo: deconz.jpeg | ||
ha_category: Scene | ||
ha_release: "0.60" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bump to 0.61
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Click approve instead of request changes (correcting)
@frenck thanks for feedback! I followed your suggested improvements. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Kane610 🏅
Much appreciated @frenck ! |
source/_components/deconz.markdown
Outdated
- [Switches (Remote Controls)](/components/sensor/deconz/) | ||
- [Temperature Sensors](/components/sensor/deconz/) | ||
|
||
## {% linkable_title Configuration variables %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This header is not needed. It will be defined automatically when using the configuration
tags.
source/_components/deconz.markdown
Outdated
|
||
| Parameter | Description | | ||
|-----------|---------------------------------------------------------| | ||
| `field` | String representing a specific device in deCONZ. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please format as our standard service table. Also extend this table with info on if parameter is optional. See eg:
https://home-assistant.io/components/media_player.sonos/#service-sonos_snapshot
source/_components/deconz.markdown
Outdated
#### {% linkable_title Service `deconz/configure` %} | ||
Set attribute of device in Deconz using [Rest API](http://dresden-elektronik.github.io/deconz-rest-doc/rest/). | ||
|
||
| Parameter | Optional | Description | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename Parameter
to Service data attribute
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thanks a lot @MartinHjelmare ! |
Description:
Component supporting deCONZ REST API exposing Zigbee devices such as Lights and Sensors.
Pull request in home-assistant: home-assistant/core#10321
Checklist:
next
.