mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-07 02:36:52 +00:00
Add documentation for LCN cover platform (#8234)
* Add documentation for LCN cover platform * Updated hass version number * Removed old cover.lcn.markdown * Added redirect_from * Update lcn.markdown
This commit is contained in:
parent
d68d943efe
commit
2d93a61b43
@ -10,6 +10,7 @@ footer: true
|
|||||||
logo: lcn.png
|
logo: lcn.png
|
||||||
ha_category:
|
ha_category:
|
||||||
- Hub
|
- Hub
|
||||||
|
- Cover
|
||||||
- Light
|
- Light
|
||||||
- Switch
|
- Switch
|
||||||
ha_release: 0.85
|
ha_release: 0.85
|
||||||
@ -26,6 +27,7 @@ With this setup sending and receiving commands to and from LCN modules is possib
|
|||||||
|
|
||||||
There is currently support for the following device types within Home Assistant:
|
There is currently support for the following device types within Home Assistant:
|
||||||
|
|
||||||
|
- [Cover](#cover)
|
||||||
- [Light](#light)
|
- [Light](#light)
|
||||||
- [Switch](#switch)
|
- [Switch](#switch)
|
||||||
|
|
||||||
@ -44,6 +46,11 @@ lcn:
|
|||||||
username: lcn
|
username: lcn
|
||||||
password: lcn
|
password: lcn
|
||||||
|
|
||||||
|
covers:
|
||||||
|
- name: Living room cover
|
||||||
|
address: myhome.s0.m7
|
||||||
|
motor: motor1
|
||||||
|
|
||||||
lights:
|
lights:
|
||||||
- name: Bedroom light
|
- name: Bedroom light
|
||||||
address: myhome.s0.m7
|
address: myhome.s0.m7
|
||||||
@ -95,6 +102,24 @@ connections:
|
|||||||
default: steps50
|
default: steps50
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
covers:
|
||||||
|
description: List of your covers.
|
||||||
|
required: false
|
||||||
|
type: map
|
||||||
|
keys:
|
||||||
|
name:
|
||||||
|
description: Name of the cover.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
address:
|
||||||
|
description: "[Address](/components/lcn#lcn-addresses) of the module/group."
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
motor:
|
||||||
|
description: "Motor port ([MOTOR_PORT](/components/lcn#ports))."
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
lights:
|
lights:
|
||||||
description: List of your lights.
|
description: List of your lights.
|
||||||
required: true
|
required: true
|
||||||
@ -184,6 +209,20 @@ The platforms and service calls use several predefined constants as parameters.
|
|||||||
| -------- | ------ |
|
| -------- | ------ |
|
||||||
| OUTPUT_PORT | `output1`, `output2`, `output3`, `output4` |
|
| OUTPUT_PORT | `output1`, `output2`, `output3`, `output4` |
|
||||||
| RELAY_PORT | `relay1`, `relay2`, `relay3`, `relay4`, `relay5`, `relay6`, `relay7`, `relay8` |
|
| RELAY_PORT | `relay1`, `relay2`, `relay3`, `relay4`, `relay5`, `relay6`, `relay7`, `relay8` |
|
||||||
|
| MOTOR_PORT | `motor1`, `motor2`, `motor3`, `motor4` |
|
||||||
|
|
||||||
|
The [MOTOR_PORT](/components/lcn#ports) values specify which hardware relay configuration will be used:
|
||||||
|
|
||||||
|
| Motor | Relay on/off | Relay up/down |
|
||||||
|
| :------: | :----------: | :-----------: |
|
||||||
|
| `motor1` | `relay1` | `relay2` |
|
||||||
|
| `motor2` | `relay3` | `relay4` |
|
||||||
|
| `motor3` | `relay5` | `relay6` |
|
||||||
|
| `motor4` | `relay7` | `relay8` |
|
||||||
|
|
||||||
|
## {% linkable_title Cover %}
|
||||||
|
|
||||||
|
The `lcn` cover platform allows the control of [LCN](http://www.lcn.eu) relays which have been configured as motor controllers.
|
||||||
|
|
||||||
## {% linkable_title Light %}
|
## {% linkable_title Light %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user