dodanie nowego kontrollera shelly02 (Shelly Plus1PMMini 6055F999FDAC)

This commit is contained in:
2023-11-17 20:07:01 +01:00
parent 0614838bbc
commit 5ed01b298a
4 changed files with 23 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
spis treści
sonoff01 - wiatrak wc
sonoff02 - lampka stół
sonoff02 -
sonoff03 - łazienka wiatrak
sonoff04 - podgrzewacz kota
sonoff05 - lampki sufitowe
@@ -27,6 +27,7 @@ d1mini04 - odświeżacz
d1mini05 - wskazówka interneu
d1mini06 - schodowy przy salonie
shelly01 - oświetlenie balkonu
shelly02 - lampka stół
*/
/* moc sygnalu */
@@ -173,4 +174,11 @@ Switch sSHELLY01 "Lampki balkonowe" <whites> { mqtt=">[motherqtt:/shelly01/gpio/
Number wSHELLY01 "Wifi sh01 balkon [%d dB]" <wifi> (wifi) { mqtt="<[motherqtt:/shelly01/wifi/:state:default]" }
Switch rSHELLY01 "Conn sh01 balkon [%s]" { mqtt="<[motherqtt:/shelly01/lwt:state:MAP(espeasy_lwt.map)]" }
/* lampka stół */
/* /shelly02/command/switch:0 -m on */
/* lwt: https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Mqtt#step-7-subscribe-for-messages-on-connecting-and-disconnecting-over-mqtt */
Switch rSHELLY02 "Conn sh02 stół [%s]" { mqtt="<[motherqtt:/shelly02/online:state:MAP(shelly_lwt.map)]" }
Switch sSHELLY02 "Lampka stołowa" <whites> { mqtt=">[motherqtt:/shelly02/command/switch\\:0:command:ON:on],>[motherqtt:/shelly02/command/switch\\:0:command:OFF:off]" }