Merge pull request #220 from MartinHjelmare/update-mysensors-light

Update mysensors main and light pages
This commit is contained in:
Fabian Affolter 2016-02-15 18:15:04 +01:00
commit a22a4bf159
2 changed files with 26 additions and 6 deletions

View File

@ -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

View File

@ -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: