From db4ad9c5a147bb813b591e251eed5737529689e0 Mon Sep 17 00:00:00 2001 From: MartinHjelmare Date: Mon, 15 Feb 2016 17:39:16 +0100 Subject: [PATCH] Update mysensors main and light pages --- source/_components/light.mysensors.markdown | 22 ++++++++++++++++++++- source/_components/mysensors.markdown | 10 +++++----- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/source/_components/light.mysensors.markdown b/source/_components/light.mysensors.markdown index ddc07727e485..0f41f4facdb4 100644 --- a/source/_components/light.mysensors.markdown +++ b/source/_components/light.mysensors.markdown @@ -2,7 +2,7 @@ layout: page title: "MySensors Light" description: "Instructions how to integrate MySensors lights into Home Assistant." -date: 2016-01-17 15:49 +date: 2016-02-15 17:37 sidebar: true comments: false sharing: true @@ -14,4 +14,24 @@ featured: false Integrates MySensors lights into Home Assistant. See the [main component] for configuration instructions. +The following actuator types are supported: + +##### MySensors version 1.4 and higher + +S_TYPE | V_TYPE +---------|-------------- +S_LIGHT | V_LIGHT +S_DIMMER | V_DIMMER + +##### MySensors version 1.5 and higher + +S_TYPE | V_TYPE +------------|------------- +S_LIGHT | V_STATUS +S_DIMMER | V_PERCENTAGE +S_RGB_LIGHT | V_RGB + +For more information, visit the [serial api] of MySensors. + [main component]: /components/mysensors/ +[serial api]: https://www.mysensors.org/download/serial_api_15 diff --git a/source/_components/mysensors.markdown b/source/_components/mysensors.markdown index abb9c28030bc..4ac5851e214e 100644 --- a/source/_components/mysensors.markdown +++ b/source/_components/mysensors.markdown @@ -2,7 +2,7 @@ layout: page title: "MySensors" description: "Instructions how to integrate MySensors sensors into Home Assistant." -date: 2015-05-14 21:57 +date: 2016-02-15 17:37 sidebar: true comments: false sharing: true @@ -12,9 +12,9 @@ ha_category: Hub featured: true --- -The [MySensors](https://www.mysensors.org) project combines Arduino boards with NRF24L01 radio boards to build sensor networks. The component will automatically add all available switches and sensors to Home Assistant. +The [MySensors](https://www.mysensors.org) project combines Arduino boards with NRF24L01 radio boards to build sensor networks. The component will automatically add all available devices to Home Assistant, after [presentation](#presentation) is done. -### Configuration +### {% linkable_title Configuration %} Integrate your Serial MySensors Gateway by adding the following to your `configuration.yaml` file: @@ -40,7 +40,7 @@ Configuration variables: - **persistence** (*Optional*): Enable or disable local persistence of sensor information. If this is disabled, then each sensor will need to send presentation messages after Home Assistant starts. Default is true. - **persistence_file** (*Optional*): Path to a file to save sensor information. The file extension determines the file type. Currently supported file types are 'pickle' and 'json'. - **version** (*Optional*): Specifies the MySensors protocol version to use. Supports 1.4 and 1.5. Default is 1.4. -- **baud_rate** (*Optional*): Specifies baud rate of the connected gateway. +- **baud_rate** (*Optional*): Specifies baud rate of the connected gateway. Default is 115200. If you are using an original Arduino the port will be named `ttyACM*`. The exact number can be determined with the command shown below. @@ -48,7 +48,7 @@ If you are using an original Arduino the port will be named `ttyACM*`. The exact $ ls /dev/ttyACM* ``` -### Presentation +### {% linkable_title Presentation %} Present a MySensors sensor or actuator, by following these steps: