[MyNice] Addition of Courtesy Light Channel (#14797)
* Solving activation / deactivation of IT4Wifi thing glitches. * Adding Courtesy light Added command capability of Stop / Move * Changed misplaced handling of RefreshType --------- Signed-off-by: clinique <gael@lhopital.org>
This commit is contained in:
@@ -46,14 +46,18 @@ Channels available for the gates are :
|
||||
|
||||
| Channel | Type | Read/Write | Description |
|
||||
|-----------|--------|------------|----------------------------------------------------------|
|
||||
| status | String | R | Description of the current status of the door (1) |
|
||||
| status | String | R/W (1) | Description of the current status of the door (2) |
|
||||
| obstruct | Switch | R | Flags an obstruction, blocking the door |
|
||||
| moving | Switch | R | Indicates if the device is currently operating a command |
|
||||
| command | String | W | Send a given command to the gate (2) |
|
||||
| command | String | W | Send a given command to the gate (3) |
|
||||
| t4command | String | W | Send a T4 Command to the gate |
|
||||
| courtesy | Switch | R/W | Status of the courtesy light (4) |
|
||||
|
||||
(1) : can be open, closed, opening, closing, stopped.
|
||||
(2) : must be "stop","open","close"
|
||||
(1) : Accepted commands are : STOP, MOVE
|
||||
(2) : Valid status are : OPEN, CLOSED, OPENING, CLOSING, STOPPED
|
||||
(3) : Accepted commands are : "stop","open","close"
|
||||
(4) : There is no way to retrieve the current status of the courtesy light. It is supposed to be ON when the gate is moving and turned OFF once done.
|
||||
The delay between the moving end and light being turned off is a configuration parameter of the `courtesy` channel.
|
||||
|
||||
### T4 Commands
|
||||
|
||||
@@ -110,5 +114,6 @@ String NiceIT4WIFI_GateStatus "Gate Status" <gate> (gMyniceSwing) ["Statu
|
||||
String NiceIT4WIFI_Obstruction "Obstruction" <none> (gMyniceSwing) {channel="mynice:swing:83eef09166:1:obstruct"}
|
||||
Switch NiceIT4WIFI_Moving "Moving" <motion> (gMyniceSwing) ["Status","Vibration"] {channel="mynice:swing:83eef09166:1:moving"}
|
||||
String NiceIT4WIFI_Command "Command" <none> (gMyniceSwing) {channel="mynice:swing:83eef09166:1:command"}
|
||||
Switch NiceIT4WIFI_Command "Courtesy Light" <light> (gMyniceSwing) {channel="mynice:swing:83eef09166:1:courtesy"}
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user