From b07fa820e310f08d84e5013750ac8a5e814d327f Mon Sep 17 00:00:00 2001 From: Paul Klingelhuber Date: Wed, 4 Jul 2018 18:20:49 +0200 Subject: [PATCH 1/4] Add enocean multi channel switch documentation #14548 --- source/_components/switch.enocean.markdown | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/source/_components/switch.enocean.markdown b/source/_components/switch.enocean.markdown index e701d3e6f419..34c0656b1082 100644 --- a/source/_components/switch.enocean.markdown +++ b/source/_components/switch.enocean.markdown @@ -13,7 +13,7 @@ ha_release: 0.21 ha_iot_class: "Local Push" --- -An EnOcean switch can take many forms. Currently only one type has been tested: Permundo PSC234 +An EnOcean switch can take many forms. Currently only a few types have been tested: Permundo PSC234, Nod On SIN-2-1-01 To use your EnOcean device, you first have to set up your [EnOcean hub](/components/enocean/) and then add the following to your `configuration.yaml` file: @@ -23,9 +23,23 @@ To use your EnOcean device, you first have to set up your [EnOcean hub](/compone switch: - platform: enocean id: [0x01,0x90,0x84,0x3C] + +# Example entries for a switch with 2 outputs (channels) e.g. the Nod On SIN-2-1-01 +switch nodon01_0: + - platform: enocean + id: [0x05,0x04,0x03,0x02] + name: enocean_nodon01_0 + channel: 0 + +switch nodon01_1: + - platform: enocean + id: [0x05,0x04,0x03,0x02] + name: enocean_nodon01_1 + channel: 1 ``` Configuration variables: - **id** (*Required*): The ID of the device. This is a 4 bytes long number. - **name** (*Optional*): An identifier for the switch. Default to `EnOcean Switch`. +- **channel** (*Optional*): The number of the channel (typically 0 or 1) for the output channel to switch. Default to `0`. From 64c517f8bed8689d65eaf10ecb967d6d9d564616 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 4 Jul 2018 20:26:17 +0200 Subject: [PATCH 2/4] :rocket: Trigger rebuild From aeccc506038a3b541e48d5c4f13767f4cfdb7654 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 8 Jul 2018 12:46:55 +0200 Subject: [PATCH 3/4] :pencil2: Tweaks --- source/_components/switch.enocean.markdown | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/source/_components/switch.enocean.markdown b/source/_components/switch.enocean.markdown index 34c0656b1082..80f57e808f4d 100644 --- a/source/_components/switch.enocean.markdown +++ b/source/_components/switch.enocean.markdown @@ -13,8 +13,7 @@ ha_release: 0.21 ha_iot_class: "Local Push" --- -An EnOcean switch can take many forms. Currently only a few types have been tested: Permundo PSC234, Nod On SIN-2-1-01 - +An EnOcean switch can take many forms. Currently, only a few types have been tested: Permundo PSC234, Nod On SIN-2-1-01 To use your EnOcean device, you first have to set up your [EnOcean hub](/components/enocean/) and then add the following to your `configuration.yaml` file: @@ -23,8 +22,16 @@ To use your EnOcean device, you first have to set up your [EnOcean hub](/compone switch: - platform: enocean id: [0x01,0x90,0x84,0x3C] +``` + +Configuration variables: + +- **id** (*Required*): The ID of the device. This is a 4 bytes long number. +- **name** (*Optional*): An identifier for the switch. Default to `EnOcean Switch`. +- **channel** (*Optional*): The number of the channel (typically 0 or 1) for the output channel to switch. Default to `0`. -# Example entries for a switch with 2 outputs (channels) e.g. the Nod On SIN-2-1-01 +```yaml +# Example entries for a switch with 2 outputs (channels), e.g., the Nod On SIN-2-1-01 switch nodon01_0: - platform: enocean id: [0x05,0x04,0x03,0x02] @@ -37,9 +44,3 @@ switch nodon01_1: name: enocean_nodon01_1 channel: 1 ``` - -Configuration variables: - -- **id** (*Required*): The ID of the device. This is a 4 bytes long number. -- **name** (*Optional*): An identifier for the switch. Default to `EnOcean Switch`. -- **channel** (*Optional*): The number of the channel (typically 0 or 1) for the output channel to switch. Default to `0`. From 6b1586fe0e5dc0976b2964d3bb9477322b3e2faa Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 8 Jul 2018 12:47:33 +0200 Subject: [PATCH 4/4] :pencil2: Tweaks --- source/_components/switch.enocean.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/switch.enocean.markdown b/source/_components/switch.enocean.markdown index 80f57e808f4d..2676b51dbae0 100644 --- a/source/_components/switch.enocean.markdown +++ b/source/_components/switch.enocean.markdown @@ -13,7 +13,7 @@ ha_release: 0.21 ha_iot_class: "Local Push" --- -An EnOcean switch can take many forms. Currently, only a few types have been tested: Permundo PSC234, Nod On SIN-2-1-01 +An EnOcean switch can take many forms. Currently, only a few types have been tested: Permundo PSC234 and Nod On SIN-2-1-01. To use your EnOcean device, you first have to set up your [EnOcean hub](/components/enocean/) and then add the following to your `configuration.yaml` file: