mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-25 03:59:53 +00:00
Fix docs tests.
This commit is contained in:
+2
-2
@@ -6,5 +6,5 @@ const base = path.join(__dirname, '..', 'docs');
|
||||
const supportDevices = require('./supported-devices');
|
||||
const integratingWithHomeassistant = require('./integrating-with-homeassistant');
|
||||
|
||||
fs.writeFileSync(path.join(base, 'supported-devices.md'), supportDevices);
|
||||
fs.writeFileSync(path.join(base, 'integrating-with-homeassistant.md'), integratingWithHomeassistant);
|
||||
fs.writeFileSync(path.join(base, 'information', 'supported_devices.md'), supportDevices);
|
||||
fs.writeFileSync(path.join(base, 'integration', 'home_assistant.md'), integratingWithHomeassistant);
|
||||
|
||||
@@ -7,20 +7,22 @@ const HomeassistantExtension = require('../lib/extension/homeassistant');
|
||||
const homeassistant = new HomeassistantExtension(null, null, null, null);
|
||||
const YAML = require('json2yaml');
|
||||
|
||||
let template = `*NOTE: This file has been generated, do not edit this file manually!*
|
||||
let template = `# Home Assistant
|
||||
|
||||
If you're hosting zigbee2mqtt using [this hassio addon-on](https://github.com/danielwelch/hassio-zigbee2mqtt) use their
|
||||
documentation on how to configure.
|
||||
*NOTE 1: This file has been generated, do not edit this file manually!*
|
||||
|
||||
The easiest way to integrate zigbee2mqtt with Home Assistant is by using
|
||||
[MQTT discovery](https://www.home-assistant.io/docs/mqtt/discovery/).'
|
||||
*NOTE 2: If you are using the [Zigbee2mqtt Hass.io add-on](https://github.com/danielwelch/hassio-zigbee2mqtt)
|
||||
use their documentation*
|
||||
|
||||
|
||||
## MQTT discovery
|
||||
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.
|
||||
|
||||
To achieve the best possible integration (including MQTT discovery):
|
||||
- In your **zigbee2mqtt** \`configuration.yaml\` set \`homeassistant: true\`
|
||||
- In your **Zigbee2mqtt** \`configuration.yaml\` set \`homeassistant: true\`
|
||||
- In your **Home Assistant** \`configuration.yaml\`:
|
||||
|
||||
|
||||
\`\`\`yaml
|
||||
mqtt:
|
||||
discovery: true
|
||||
@@ -33,13 +35,34 @@ mqtt:
|
||||
payload: 'offline'
|
||||
\`\`\`
|
||||
|
||||
Zigbee2mqtt is expecting Home Assistant to send it's birth/will messages to \`hass/status\`.
|
||||
Be sure to add this to your \`configuration.yaml\` if you want zigbee2mqtt to resend the cached
|
||||
values when Home Assistant restarts.
|
||||
Zigbee2mqtt is expecting Home Assistant to send it's birth/will
|
||||
messages to \`hass/status\`. Be sure to add this to your \`configuration.yaml\` if you want
|
||||
Zigbee2mqtt to resend the cached values when Home Assistant restarts
|
||||
|
||||
## Home Assistant device registry
|
||||
When using Home Assistant MQTT discovery, Zigbee2mqtt integrates
|
||||
with the [Home Assistant device registry](https://developers.home-assistant.io/docs/en/device_registry_index.html).
|
||||
This allows you to change the Home Assistant \`device_id\` and \`friendly_name\` from the web interface
|
||||
without having to restart Home Assistant. It also makes it possible to show which entities belong to which device.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## I'm confused about the different device IDs, names and friendly names
|
||||
- Home Assistant \`device_id\`: determined on first discovery of the device, can only be changed
|
||||
via the Home Assistant web interface afterwards. Used to control/read the state from the device (e.g. in automations)
|
||||
- Zigbee2mqtt \`friendly_name\`: used to change the MQTT topic where the device listens and publishes to.
|
||||
- Home Assistant \`name\`: name shown in the Home Assistant UI (unless overridden
|
||||
via a \`friendly_name\` in \`customize.yaml\`). If not changed via the Home Assistant web interface,
|
||||
it is equal to the Zigbee2mqtt \`friendly_name\`. Is updated if the Zigbee2mqtt \`friendly_name\` changes
|
||||
(requires restart of Home Assistant)
|
||||
- Home Assistant \`friendly_name\` (\`customize.yaml\`): overrides the name in the Home Assistant web interface.
|
||||
|
||||
## Responding to button clicks
|
||||
To respond to button clicks (e.g. WXKG01LM) you can use the following Home Assistant configuration:
|
||||
|
||||
{% raw %}
|
||||
\`\`\`yaml
|
||||
automation:
|
||||
- alias: Respond to button clicks
|
||||
@@ -48,16 +71,150 @@ automation:
|
||||
topic: 'zigbee2mqtt/<FRIENDLY_NAME'
|
||||
condition:
|
||||
condition: template
|
||||
value_template: "{{ 'single' == trigger.payload_json.click }}"
|
||||
value_template: '{{ "single" == trigger.payload_json.click }}'
|
||||
action:
|
||||
entity_id: light.bedroom
|
||||
service: light.toggle
|
||||
\`\`\`
|
||||
{% endraw %}
|
||||
|
||||
**When changing a \`friendly_name\` for a device you first have to start zigbee2mqtt and after that
|
||||
restart Home Assistant in order to discover the new device ID.**
|
||||
## Controlling Zigbee2mqtt via Home Assistant
|
||||
The following Home Assistant configuration allows you to control Zigbee2mqtt from Home Assistant.
|
||||
|
||||
In case you **dont** want to use Home Assistant MQTT discovery you can use the configuration below.
|
||||
{% raw %}
|
||||
\`\`\`yaml
|
||||
# Group
|
||||
group:
|
||||
zigbee_group:
|
||||
view: no
|
||||
control: hidden
|
||||
name: Zigbee2mqtt
|
||||
entities:
|
||||
- input_boolean.zigbee_permit_join
|
||||
- timer.zigbee_permit_join
|
||||
- sensor.zigbee2mqtt_bridge_state
|
||||
- switch.zigbee2mqtt_main_join
|
||||
- automation.enable_zigbee_joining
|
||||
- automation.disable_zigbee_joining
|
||||
- automation.disable_zigbee_joining_by_timer
|
||||
- input_select.zigbee2mqtt_log_level
|
||||
- automation.zigbee2mqtt_log_level
|
||||
|
||||
# Input select for Zigbee2mqtt debug level
|
||||
input_select:
|
||||
zigbee2mqtt_log_level:
|
||||
name: Zigbee2mqtt Log Level
|
||||
options:
|
||||
- debug
|
||||
- info
|
||||
- warn
|
||||
- error
|
||||
initial: info
|
||||
icon: mdi:format-list-bulleted
|
||||
|
||||
# Input boolean for enabling/disabling joining
|
||||
input_boolean:
|
||||
zigbee_permit_join:
|
||||
name: Allow devices to join
|
||||
initial: off
|
||||
icon: mdi:cellphone-wireless
|
||||
|
||||
# Timer for joining time remaining (120 sec = 2 min)
|
||||
timer:
|
||||
zigbee_permit_join:
|
||||
name: Time remaining
|
||||
duration: 120
|
||||
|
||||
# Sensor for monitoring the bridge state
|
||||
sensor:
|
||||
- platform: mqtt
|
||||
name: Zigbee2mqtt Bridge state
|
||||
state_topic: "zigbee2mqtt/bridge/state"
|
||||
icon: mdi:router-wireless
|
||||
|
||||
# Switch for enabling joining
|
||||
switch:
|
||||
- platform: mqtt
|
||||
name: "Zigbee2mqtt Main join"
|
||||
state_topic: "zigbee2mqtt/bridge/config/permit_join"
|
||||
command_topic: "zigbee2mqtt/bridge/config/permit_join"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
|
||||
# Automations
|
||||
automation:
|
||||
- alias: Zigbee2mqtt Log Level
|
||||
initial_state: 'on'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_select.zigbee2mqtt_log_level
|
||||
to: debug
|
||||
- platform: state
|
||||
entity_id: input_select.zigbee2mqtt_log_level
|
||||
to: warn
|
||||
- platform: state
|
||||
entity_id: input_select.zigbee2mqtt_log_level
|
||||
to: error
|
||||
- platform: state
|
||||
entity_id: input_select.zigbee2mqtt_log_level
|
||||
to: info
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
payload_template: '{{ states(''input_select.zigbee2mqtt_log_level'') }}'
|
||||
topic: zigbee2mqtt/bridge/config/log_level
|
||||
|
||||
- id: enable_zigbee_join
|
||||
alias: Enable Zigbee joining
|
||||
hide_entity: true
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_boolean.zigbee_permit_join
|
||||
to: 'on'
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: zigbee2mqtt/bridge/config/permit_join
|
||||
payload: 'true'
|
||||
- service: timer.start
|
||||
data:
|
||||
entity_id: timer.zigbee_permit_join
|
||||
|
||||
- id: disable_zigbee_join
|
||||
alias: Disable Zigbee joining
|
||||
trigger:
|
||||
- entity_id: input_boolean.zigbee_permit_join
|
||||
platform: state
|
||||
to: 'off'
|
||||
action:
|
||||
- data:
|
||||
payload: 'false'
|
||||
topic: zigbee2mqtt/bridge/config/permit_join
|
||||
service: mqtt.publish
|
||||
- data:
|
||||
entity_id: timer.zigbee_permit_join
|
||||
service: timer.cancel
|
||||
|
||||
- id: disable_zigbee_join_timer
|
||||
alias: Disable Zigbee joining by timer
|
||||
hide_entity: true
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: timer.finished
|
||||
event_data:
|
||||
entity_id: timer.zigbee_permit_join
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: zigbee2mqtt/bridge/config/permit_join
|
||||
payload: 'false'
|
||||
- service: input_boolean.turn_off
|
||||
data:
|
||||
entity_id: input_boolean.zigbee_permit_join
|
||||
\`\`\`
|
||||
{% endraw %}
|
||||
|
||||
## Configuration when NOT using Home Assistant MQTT discovery
|
||||
|
||||
[CONFIGURATION]
|
||||
`;
|
||||
@@ -89,6 +246,7 @@ const homeassistantConfig = (device) => {
|
||||
let configuration = '';
|
||||
devices.forEach((device) => {
|
||||
configuration += `### ${device.model}\n`;
|
||||
configuration += `{% raw %}\n`;
|
||||
configuration += '```yaml\n';
|
||||
|
||||
const configurations = homeassistant._getMapping()[device.model];
|
||||
@@ -101,7 +259,8 @@ devices.forEach((device) => {
|
||||
}
|
||||
});
|
||||
|
||||
configuration += '```\n\n';
|
||||
configuration += '```\n';
|
||||
configuration += '{% endraw %}\n\n';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
const devices = require('zigbee-shepherd-converters').devices;
|
||||
const replaceByDash = [new RegExp('/', 'g'), new RegExp(':', 'g'), new RegExp(' ', 'g')];
|
||||
const imageBase = 'https://github.com/Koenkk/zigbee2mqtt/raw/dev/images/devices/';
|
||||
const imageBase = '../images/devices/';
|
||||
|
||||
function onlyUnique(value, index, self) {
|
||||
return self.indexOf(value) === index;
|
||||
@@ -12,7 +12,9 @@ function onlyUnique(value, index, self) {
|
||||
|
||||
const vendorsCount = devices.map((d) => d.vendor).filter(onlyUnique).length;
|
||||
|
||||
let template = `*NOTE: This file has been generated, do not edit this file manually!*
|
||||
let template = `# Supported devices
|
||||
|
||||
*NOTE: This file has been generated, do not edit this file manually!*
|
||||
|
||||
Currently **${devices.length}** devices are supported from **${vendorsCount}** different vendors.
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+757
-163
File diff suppressed because it is too large
Load Diff
@@ -1,290 +0,0 @@
|
||||
*NOTE: This file has been generated, do not edit this file manually!*
|
||||
|
||||
Currently **137** devices are supported from **29** different vendors.
|
||||
|
||||
In case you own a Zigbee device which is **NOT** listed here, please see
|
||||
[How to support new devices](https://github.com/Koenkk/zigbee2mqtt/wiki/How-to-support-new-devices).
|
||||
|
||||
### Belkin
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| F7C033 | Belkin WeMo smart LED bulb (on/off, brightness) |  |
|
||||
|
||||
### Bitron Home
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| AV2010/22 | Bitron Home Wireless motion detector (occupancy) |  |
|
||||
|
||||
### Centralite
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| 4256251-RZHAC | Centralite White Swiss power outlet switch with power meter (switch and power meter) |  |
|
||||
|
||||
### Climax
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| PSS-23ZBS | Climax Power plug (on/off) |  |
|
||||
|
||||
### Commercial Electric
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| 53170161 | Commercial Electric Matte White Recessed Retrofit Smart Led Downlight - 4 Inch (on/off, brightness, color temperature) |  |
|
||||
|
||||
### Custom devices (DiY)
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| CC2530.ROUTER | Custom devices (DiY) [CC2530 router](http://ptvo.info/cc2530-based-zigbee-coordinator-and-router-112/) (state, description, type, rssi) |  |
|
||||
| DNCKATSW001 | Custom devices (DiY) [DNCKAT single key wired wall light switch](https://github.com/dzungpv/dnckatsw00x/) (on/off) |  |
|
||||
| DNCKATSW002 | Custom devices (DiY) [DNCKAT double key wired wall light switch](https://github.com/dzungpv/dnckatsw00x/) (hold/release, on/off) |  |
|
||||
| DNCKATSW003 | Custom devices (DiY) [DNCKAT triple key wired wall light switch](https://github.com/dzungpv/dnckatsw00x/) (hold/release, on/off) |  |
|
||||
| DNCKATSW004 | Custom devices (DiY) [DNCKAT quadruple key wired wall light switch](https://github.com/dzungpv/dnckatsw00x/) (hold/release, on/off) |  |
|
||||
|
||||
### Dresden Elektronik
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| Mega23M12 | Dresden Elektronik ZigBee Light Link wireless electronic ballast (on/off, brightness, color temperature, color xy) |  |
|
||||
|
||||
### EDP
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| PLUG EDP RE:DY | EDP re:dy plug (on/off, power measurement) |  |
|
||||
|
||||
### GE
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| 22670 | GE Link smart LED light bulb, BR30 soft white (2700K) (on/off, brightness) |  |
|
||||
| 45852GE | GE ZigBee plug-in smart dimmer (on/off, brightness) |  |
|
||||
| 45857GE | GE ZigBee in-wall smart dimmer (on/off, brightness) |  |
|
||||
|
||||
### Gledopto
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| GL-C-008 | Gledopto Zigbee LED controller RGB + CCT / RGBW / WWCW / Dimmer (on/off, brightness, color temperature, color xy) |  |
|
||||
|
||||
### HEIMAN
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| HS1SA | HEIMAN Smoke detector (smoke) |  |
|
||||
|
||||
### Hive
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| HALIGHTDIMWWE27 | Hive Active light dimmable (on/off, brightness) |  |
|
||||
|
||||
### IKEA
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| LED1545G12 | IKEA TRADFRI LED bulb E26/E27 980 lumen, dimmable, white spectrum, opal white (on/off, brightness, color temperature) |  |
|
||||
| LED1546G12 | IKEA TRADFRI LED bulb E26/E27 950 lumen, dimmable, white spectrum, clear (on/off, brightness, color temperature) |  |
|
||||
| LED1623G12 | IKEA TRADFRI LED bulb E27 1000 lumen, dimmable, opal white (on/off, brightness) |  |
|
||||
| LED1537R6 | IKEA TRADFRI LED bulb GU10 400 lumen, dimmable, white spectrum (on/off, brightness, color temperature) |  |
|
||||
| LED1650R5 | IKEA TRADFRI LED bulb GU10 400 lumen, dimmable (on/off, brightness) |  |
|
||||
| LED1536G5 | IKEA TRADFRI LED bulb E12/E14 400 lumen, dimmable, white spectrum, opal white (on/off, brightness, color temperature) |  |
|
||||
| LED1622G12 | IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (on/off, brightness) |  |
|
||||
| LED1624G9 | IKEA TRADFRI LED bulb E27/E26 600 lumen, dimmable, color, opal white (on/off, brightness, color temperature, color xy) |  |
|
||||
| LED1649C5 | IKEA TRADFRI LED bulb E12/E14/E17 400 lumen, dimmable warm white, chandelier opal (on/off, brightness) |  |
|
||||
| ICTC-G-1 | IKEA TRADFRI wireless dimmer (brightness [0-255], quick rotate for instant 0/255) |  |
|
||||
| ICPSHC24-10EU-IL-1 | IKEA TRADFRI driver for wireless control (10 watt) (on/off, brightness) |  |
|
||||
| ICPSHC24-30EU-IL-1 | IKEA TRADFRI driver for wireless control (30 watt) (on/off, brightness) |  |
|
||||
| L1527 | IKEA FLOALT LED light panel, dimmable, white spectrum (30x30 cm) (on/off, brightness, color temperature) |  |
|
||||
| L1529 | IKEA FLOALT LED light panel, dimmable, white spectrum (60x60 cm) (on/off, brightness, color temperature) |  |
|
||||
| L1528 | IKEA FLOALT LED light panel, dimmable, white spectrum (30x90 cm) (on/off, brightness, color temperature) |  |
|
||||
| E1603 | IKEA TRADFRI control outlet (on/off) |  |
|
||||
|
||||
### Innr
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| RB 185 C | Innr E27 Bulb RGBW (on/off, brightness, color temperature, color xy) |  |
|
||||
| RB 285 C | Innr E27 Bulb RGBW (on/off, brightness, color temperature, color xy) |  |
|
||||
| RB 165 | Innr E27 Bulb (on/off, brightness) |  |
|
||||
| RB 175 W | Innr E27 Bulb warm dimming (on/off, brightness) |  |
|
||||
| RS 125 | Innr GU10 Spot (on/off, brightness) |  |
|
||||
| RS 128 T | Innr GU10 Spot 350 lm, dimmable, white spectrum (on/off, brightness, color temperature) |  |
|
||||
| RB 145 | Innr E14 Candle (on/off, brightness) |  |
|
||||
| BY 165 | Innr B22 Bulb dimmable (on/off, brightness) |  |
|
||||
| PL 110 | Innr Puck Light (on/off, brightness) |  |
|
||||
| ST 110 | Innr Strip Light (on/off, brightness) |  |
|
||||
| UC 110 | Innr Under Cabinet Light (on/off, brightness) |  |
|
||||
| DL 110 N | Innr Spot narrow (on/off, brightness) |  |
|
||||
| DL 110 W | Innr Spot wide (on/off, brightness) |  |
|
||||
| SL 110 N | Innr Spot Flex narrow (on/off, brightness) |  |
|
||||
| SL 110 M | Innr Spot Flex medium (on/off, brightness) |  |
|
||||
| SL 110 W | Innr Spot Flex wide (on/off, brightness) |  |
|
||||
|
||||
### Iris
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| 3210-L | Iris Smart plug (on/off) |  |
|
||||
| 3326-L | Iris Motion sensor (occupancy and temperature) |  |
|
||||
| 3320-L | Iris Contact sensor (contact) |  |
|
||||
|
||||
### JIAWEN
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| K2RGBW01 | JIAWEN Wireless Bulb E27 9W RGBW (on/off, brightness, color temperature, color xy) |  |
|
||||
|
||||
### Ksentry Electronics
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| KS-SM001 | Ksentry Electronics [Zigbee OnOff Controller](http://ksentry.manufacturer.globalsources.com/si/6008837134660/pdtl/ZigBee-module/1162731630/zigbee-on-off-controller-modules.htm) (on/off) |  |
|
||||
|
||||
### Nanoleaf
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| NL08-0800 | Nanoleaf Smart Ivy Bulb E27 (on/off, brightness) |  |
|
||||
|
||||
### Netvox
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| Z809A | Netvox Power socket with power consumption monitoring (on/off, power measurement) |  |
|
||||
|
||||
### Nue
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| FB56+ZSW05HG1.2 | Nue ZigBee one gang smart switch (on/off) |  |
|
||||
| MG-AUWS01 | Nue ZigBee Double GPO (on/off) |  |
|
||||
|
||||
### OSRAM
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| 4058075816718 | OSRAM SMART+ outdoor wall lantern RGBW (on/off, brightness, color temperature, color xy) |  |
|
||||
| AA69697 | OSRAM Classic A60 RGBW (on/off, brightness, color temperature, color xy) |  |
|
||||
| AC03645 | OSRAM LIGHTIFY LED CLA60 E27 RGBW (on/off, brightness, color temperature, color xy) |  |
|
||||
| AC03642 | OSRAM SMART+ CLASSIC A 60 TW (on/off, brightness, color temperature) |  |
|
||||
| AA70155 | OSRAM LIGHTIFY LED A19 tunable white / Classic A60 TW (on/off, brightness, color temperature) |  |
|
||||
| AA68199 | OSRAM LIGHTIFY LED PAR16 50 GU10 tunable white (on/off, brightness, color temperature) |  |
|
||||
| AB32840 | OSRAM LIGHTIFY LED Classic B40 tunable white (on/off, brightness, color temperature) |  |
|
||||
| 4058075816794 | OSRAM Smart+ Ceiling TW (on/off, brightness, color temperature) |  |
|
||||
| AC03641 | OSRAM LIGHTIFY LED Classic A60 clear (on/off, brightness) |  |
|
||||
| 4052899926158 | OSRAM LIGHTIFY Surface Light TW (on/off, brightness) |  |
|
||||
| AB401130055 | OSRAM LIGHTIFY Surface Light LED Tunable White (on/off, brightness, color temperature) |  |
|
||||
| AB3257001NJ | OSRAM Smart+ plug (on/off) |  |
|
||||
| 4052899926110 | OSRAM Flex RGBW (on/off, brightness, color temperature, color xy) |  |
|
||||
| 4058075036185 | OSRAM Outdoor Flex RGBW (on/off, brightness, color temperature, color xy) |  |
|
||||
| 4058075036147 | OSRAM Smart+ Gardenpole RGBW (on/off, brightness, color temperature, color xy) |  |
|
||||
| AB35996 | OSRAM Smart+ Spot GU10 Multicolor (on/off, brightness, color temperature, color xy) |  |
|
||||
| AC08562 | OSRAM SMART+ Candle E14 Dimmable White (on/off, brightness) |  |
|
||||
| AC01353010G | OSRAM SMART+ Motion Sensor (occupancy and temperature) |  |
|
||||
|
||||
### Paulmann
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| 50045 | Paulmann SmartHome Zigbee LED-stripe (on/off, brightness) |  |
|
||||
| 50049 | Paulmann SmartHome Yourled RGB Controller (on/off, brightness, color xy) |  |
|
||||
|
||||
### Philips
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| 7299760PH | Philips Hue Bloom (on/off, brightness, color xy) |  |
|
||||
| 7146060PH | Philips Hue Go (on/off, brightness, color temperature, color xy) |  |
|
||||
| 433714 | Philips Hue Lux A19 bulb E27 (on/off, brightness) |  |
|
||||
| 9290011370 | Philips Hue white A60 bulb E27 (on/off, brightness) |  |
|
||||
| 8718696449691 | Philips Hue White Single bulb B22 (on/off, brightness) |  |
|
||||
| 7299355PH | Philips Hue white and color ambiance LightStrip (on/off, brightness, color xy) |  |
|
||||
| 915005106701 | Philips Hue white and color ambiance LightStrip plus (on/off, brightness, color temperature, color xy) |  |
|
||||
| 9290012573A | Philips Hue white and color ambiance E26/E27/E14 (on/off, brightness, color temperature, color xy) |  |
|
||||
| 9290002579A | Philips Hue white and color ambiance BR30 (on/off, brightness, color temperature, color xy) |  |
|
||||
| 8718696485880 | Philips Hue white and color ambiance GU10 (on/off, brightness, color temperature, color xy) |  |
|
||||
| 915005733701 | Philips Hue White and color ambiance Play Lightbar (on/off, brightness, color temperature, color xy) |  |
|
||||
| 8718696695203 | Philips Hue white ambiance E14 (on/off, brightness, color temperature) |  |
|
||||
| 8718696598283 | Philips Hue white ambiance GU10 (on/off, brightness, color temperature) |  |
|
||||
| 8718696548738 | Philips Hue white ambiance E26/E27 (on/off, brightness, color temperature) |  |
|
||||
| 3261030P7 | Philips Hue Being (on/off, brightness, color temperature) |  |
|
||||
| 3216331P5 | Philips Philips Hue White ambiance Aurelle Rectangle Panel Light (on/off, brightness, color temperature) |  |
|
||||
| 7199960PH | Philips Hue Iris (on/off, brightness, color xy) |  |
|
||||
| 324131092621 | Philips Hue dimmer switch (on/off) |  |
|
||||
| 9290012607 | Philips Hue motion sensor (occupancy, temperature, illuminance) |  |
|
||||
|
||||
### Sengled
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| E11-G13 | Sengled Element Classic (A19) (on/off, brightness) |  |
|
||||
| E11-G23/E11-G33 | Sengled Element Classic (A60) (on/off, brightness) |  |
|
||||
| Z01-CIA19NAE26 | Sengled Element Touch (A19) (on/off, brightness) |  |
|
||||
| Z01-A19NAE26 | Sengled Element Plus (A19) (on/off, brightness, color temperature) |  |
|
||||
| E11-N1EA | Sengled Element Plus Color (A19) (on/off, brightness, color temperature, color xy) |  |
|
||||
|
||||
### SmartThings
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| STSS-MULT-001 | SmartThings SmartSense multi sensor (contact) |  |
|
||||
| STS-PRS-251 | SmartThings SmartThings arrival sensor (presence) |  |
|
||||
|
||||
### Sylvania
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| 73742 | Sylvania LIGHTIFY LED adjustable white RT 5/6 (on/off, brightness, color temperature) |  |
|
||||
| 73740 | Sylvania LIGHTIFY LED adjustable white BR30 (on/off, brightness, color temperature) |  |
|
||||
| 73693 | Sylvania LIGHTIFY LED RGBW A19 (on/off, brightness, color temperature, color xy) |  |
|
||||
| 74283 | Sylvania LIGHTIFY LED soft white dimmable A19 (on/off, brightness) |  |
|
||||
| 74696 | Sylvania LIGHTIFY LED soft white dimmable A19 (on/off, brightness) |  |
|
||||
| 72922-A | Sylvania SMART+ Smart Plug (on/off) |  |
|
||||
| 74282 | Sylvania Smart Home adjustable white MR16 LED bulb (on/off, brightness, color temperature) |  |
|
||||
|
||||
### Trust
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| ZLED-2709 | Trust Smart Dimmable LED Bulb (on/off, brightness) |  |
|
||||
|
||||
### Xiaomi
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| WXKG01LM | Xiaomi MiJia wireless switch (single, double, triple, quadruple, many, long, long_release click) |  |
|
||||
| WXKG11LM | Xiaomi Aqara wireless switch (single, double click (and triple, quadruple, hold, release depending on model)) |  |
|
||||
| WXKG12LM | Xiaomi Aqara wireless switch (with gyroscope) (single, double, shake, hold, release) |  |
|
||||
| WXKG03LM | Xiaomi Aqara single key wireless wall switch (single click) |  |
|
||||
| WXKG02LM | Xiaomi Aqara double key wireless wall switch (left, right and both click) |  |
|
||||
| QBKG04LM | Xiaomi Aqara single key wired wall switch (on/off) |  |
|
||||
| QBKG11LM | Xiaomi Aqara single key wired wall switch (on/off, power measurement) |  |
|
||||
| QBKG03LM | Xiaomi Aqara double key wired wall switch (release/hold, on/off) |  |
|
||||
| QBKG12LM | Xiaomi Aqara double key wired wall switch (on/off, power measurement) |  |
|
||||
| WSDCGQ01LM | Xiaomi MiJia temperature & humidity sensor (temperature and humidity) |  |
|
||||
| WSDCGQ11LM | Xiaomi Aqara temperature, humidity and pressure sensor (temperature, humidity and pressure) |  |
|
||||
| RTCGQ01LM | Xiaomi MiJia human body movement sensor (occupancy) |  |
|
||||
| RTCGQ11LM | Xiaomi Aqara human body movement and illuminance sensor (occupancy and illuminance) |  |
|
||||
| MCCGQ01LM | Xiaomi MiJia door & window contact sensor (contact) |  |
|
||||
| MCCGQ11LM | Xiaomi Aqara door & window contact sensor (contact) |  |
|
||||
| SJCGQ11LM | Xiaomi Aqara water leak sensor (water leak true/false) |  |
|
||||
| MFKZQ01LM | Xiaomi Mi/Aqara smart home cube (shake, wakeup, fall, tap, slide, flip180, flip90, rotate_left and rotate_right) |  |
|
||||
| ZNCZ02LM | Xiaomi Mi power plug ZigBee (on/off, power measurement) |  |
|
||||
| QBCZ11LM | Xiaomi Aqara socket Zigbee (on/off, power measurement) |  |
|
||||
| JTYJ-GD-01LM/BW | Xiaomi MiJia Honeywell smoke detector (smoke) |  |
|
||||
| JTQJ-BF-01LM/BW | Xiaomi MiJia gas leak detector (gas) |  |
|
||||
| A6121 | Xiaomi Vima Smart Lock (inserted, forgotten, key error) |  |
|
||||
| DJT11LM | Xiaomi Aqara vibration sensor (drop, tilt and touch) |  |
|
||||
|
||||
### ilux
|
||||
|
||||
| Model | Description | Picture |
|
||||
| ------------- | ------------- | -------------------------- |
|
||||
| 900008-WW | ilux Dimmable A60 E27 LED Bulb (on/off, brightness) |  |
|
||||
|
||||
|
||||
+2
-2
@@ -9,7 +9,7 @@ const integratingWithHomeassistant = require('../docgen/integrating-with-homeass
|
||||
|
||||
describe('Docgen', () => {
|
||||
it('supported-devices.md should be up-to-date.', () => {
|
||||
const actual = fs.readFileSync(path.join(base, 'supported-devices.md')).toString();
|
||||
const actual = fs.readFileSync(path.join(base, 'information', 'supported_devices.md')).toString();
|
||||
chai.assert.strictEqual(
|
||||
supportDevices,
|
||||
actual,
|
||||
@@ -18,7 +18,7 @@ describe('Docgen', () => {
|
||||
});
|
||||
|
||||
it('integrating-with-homeassistant.md should be up-to-date.', () => {
|
||||
const actual = fs.readFileSync(path.join(base, 'integrating-with-homeassistant.md')).toString();
|
||||
const actual = fs.readFileSync(path.join(base, 'integration', 'home_assistant.md')).toString();
|
||||
chai.assert.strictEqual(
|
||||
integratingWithHomeassistant,
|
||||
actual,
|
||||
|
||||
Reference in New Issue
Block a user