Skip to content

Update mysensors main and light pages #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion source/_components/light.mysensors.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
10 changes: 5 additions & 5 deletions source/_components/mysensors.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:

Expand All @@ -40,15 +40,15 @@ 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.

```bash
$ ls /dev/ttyACM*
```

### Presentation
### {% linkable_title Presentation %}

Present a MySensors sensor or actuator, by following these steps:

Expand Down