kuchnia: wprowadzenie wirtualnego stanu dla okapu

Normalne sterowanie okapem jest realizowane dimmerem (0-100%).
Wirtualny stan jest po to, żeby się sceny dobrze mapowały i do współpracy
HomeHabit.
This commit is contained in:
root
2018-12-02 18:34:50 +01:00
parent b4edfb2e43
commit 678699a1cd
5 changed files with 37 additions and 2 deletions

View File

@@ -61,6 +61,7 @@ Switch rSONOFF06 "Conn s06 [%s]" { mqtt="<[motherqtt:/sonoff06/lwt:state:MAP(esp
/* d1mini w okapie */
Dimmer dOKAP_speed <fan>
Number vOKAP_speed <fan> /* wirtualny przelacznik na potrzeby HomeHabit */
Switch sD1MINI01_bieg1 "Okap bieg 1 [%s]" <fan> { mqtt=">[motherqtt:/d1mini01/gpio/12:command:ON:1],>[motherqtt:/d1mini01/gpio/12:command:OFF:0]" }
Switch sD1MINI01_bieg2 "Okap bieg 2 [%s]" <fan> { mqtt=">[motherqtt:/d1mini01/gpio/15:command:ON:1],>[motherqtt:/d1mini01/gpio/15:command:OFF:0]" }
Switch sD1MINI01_bieg3 "Okap bieg 3 [%s]" <fan> { mqtt=">[motherqtt:/d1mini01/gpio/16:command:ON:1],>[motherqtt:/d1mini01/gpio/16:command:OFF:0]" }