Skip to content

Commit

Permalink
Finish groups documentation. #15
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Dec 27, 2018
1 parent 3bc2ec8 commit 03ff4e6
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 1 deletion.
22 changes: 22 additions & 0 deletions docgen/integrating-with-homeassistant.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ use their documentation*
## MQTT discovery
**At least Home Assistant >= 0.84 is required!**
**NOTE:** Groups are not auto-discovered, see configuration below.
The easiest way to integrate Zigbee2mqtt with Home Assistant is by
using [MQTT discovery](https://www.home-assistant.io/docs/mqtt/discovery/).
This allows Zigbee2mqtt to automatically add devices to Home Assistant.
Expand Down Expand Up @@ -80,6 +82,26 @@ automation:
\`\`\`
{% endraw %}
## Groups
Groups are not auto-discovered. Use the following configuration:
{% raw %}
\`\`\`yaml
- platform: mqtt
schema: json
name: MY_GROUP
command_topic: "zigbee2mqtt/[GROUP_FRIENDLY_NAME]/set"
state_topic: "zigbee2mqtt/[GROUP_FRIENDLY_NAME]/set"
// Modify according to features supported by all devices in group
color_temp: true
brightness: true
rgb: true
\`\`\`
{% endraw %}
## Controlling Zigbee2mqtt via Home Assistant
The following Home Assistant configuration allows you to control Zigbee2mqtt from Home Assistant.
Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Welcome to the Zigbee2mqtt documentation!
### Information
* [Supported devices](information/supported_devices.md)
* [MQTT topics and message structure](information/mqtt_topics_and_message_structure.md)
* [Groups](information/groups.md)
* [Docker](information/docker.md)
* [Zigbee network](information/zigbee_network.md)
* [3D cases](information/3d_cases.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/information/groups.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Groups
Zigbee2mqtt has support for Zigbee groups. By using Zigbee groups you can control multiple devices simultaneously with one command.

**NOTE:** to use groups, at least firmware version `20181224` is required!
**NOTE:** to use groups, at least firmware version `20181224` is required! (available [here](https://github.com/Koenkk/Z-Stack-firmware/tree/dev/coordinator))

## Configuration
Add the following to your `configuration.yaml`.
Expand Down
22 changes: 22 additions & 0 deletions docs/integration/home_assistant.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ use their documentation*
## MQTT discovery
**At least Home Assistant >= 0.84 is required!**

**NOTE:** Groups are not auto-discovered, see configuration below.

The easiest way to integrate Zigbee2mqtt with Home Assistant is by
using [MQTT discovery](https://www.home-assistant.io/docs/mqtt/discovery/).
This allows Zigbee2mqtt to automatically add devices to Home Assistant.
Expand Down Expand Up @@ -71,6 +73,26 @@ automation:
```
{% endraw %}

## Groups
Groups are not auto-discovered. Use the following configuration:

{% raw %}

```yaml
- platform: mqtt
schema: json
name: MY_GROUP
command_topic: "zigbee2mqtt/[GROUP_FRIENDLY_NAME]/set"
state_topic: "zigbee2mqtt/[GROUP_FRIENDLY_NAME]/set"
// Modify according to features supported by all devices in group
color_temp: true
brightness: true
rgb: true
```

{% endraw %}

## Controlling Zigbee2mqtt via Home Assistant
The following Home Assistant configuration allows you to control Zigbee2mqtt from Home Assistant.

Expand Down

0 comments on commit 03ff4e6

Please sign in to comment.