diff --git a/items/wifi.items b/items/wifi.items index c7328cc..d9e09f2 100644 --- a/items/wifi.items +++ b/items/wifi.items @@ -28,6 +28,7 @@ d1mini05 - wskazówka interneu d1mini06 - schodowy przy salonie shelly01 - oświetlenie balkonu shelly02 - lampka stół +shelly03 - pomiar zużycia w schowku */ /* moc sygnalu */ @@ -170,10 +171,8 @@ Switch rD1MINI06 "Conn d1m06 przedpokój salon [%s]" { mqtt="<[motherqtt:/d1mini /* lampki balkonowe */ -Switch sSHELLY01 "Lampki balkonowe" { mqtt=">[motherqtt:/shelly01/gpio/4:command:ON:1],>[motherqtt:/shelly01/gpio/4:command:OFF:0]" } -/*Switch sSHELLY01KEY "Włącznik hall przy drzwiach wejściowych [%s]" { mqtt="<[motherqtt:/shelly01/gpio/5:state:MAP(espeasy_onoff.map)]" }*/ -Number wSHELLY01 "Wifi sh01 balkon [%d dB]" (wifi) { mqtt="<[motherqtt:/shelly01/wifi/:state:default]" } -Switch rSHELLY01 "Conn sh01 balkon [%s]" { mqtt="<[motherqtt:/shelly01/lwt:state:MAP(espeasy_lwt.map)]" } +Switch sSHELLY01 "Lampki balkonowe" { mqtt=">[motherqtt:/shelly01/command/switch\\:0:command:ON:on],>[motherqtt:/shelly01/command/switch\\:0:command:OFF:off]" } +Switch rSHELLY01 "Conn sh01 balkon [%s]" { mqtt="<[motherqtt:/shelly01/online:state:MAP(shelly_lwt.map)]" } /* lampka stół */ /* /shelly02/command/switch:0 -m on */