From 9e066cd7901309d05636a2ae0ddab862e026108d Mon Sep 17 00:00:00 2001 From: root Date: Sun, 9 Dec 2018 18:54:04 +0100 Subject: [PATCH] przygotowanie pod lampki balkonowe --- items/wifi.items | 5 +++++ sitemaps/tech.sitemap | 1 + 2 files changed, 6 insertions(+) diff --git a/items/wifi.items b/items/wifi.items index 49872fd..856f6c4 100644 --- a/items/wifi.items +++ b/items/wifi.items @@ -50,6 +50,11 @@ Number wSONOFF03 "Wifi s03 wiatrak [%d dB]" (wifi) { mqtt="<[motherqtt:/s Switch rSONOFF03 "Conn s03 [%s]" { mqtt="<[motherqtt:/sonoff03/status:state:MAP(espeasy_lwt.map)]" } +/* lampki balkonowe */ +Switch sSONOFF05 "Lampki balkonowe" { mqtt=">[motherqtt:/sonoff05/gpio/12:command:ON:1],>[motherqtt:/sonoff05/gpio/12:command:OFF:0]" } +Number wSONOFF05 "Wifi s05 balkon [%d dB]" (wifi) { mqtt="<[motherqtt:/sonoff05/sysinfo/wifi:state:default]" } +Switch rSONOFF05 "Conn s05 [%s]" { mqtt="<[motherqtt:/sonoff05/status:state:MAP(espeasy_lwt.map)]" } + /* przedpokój - sonoff przy drzwiach wejściowych */ /* LED podpięta jako status */ Switch sSONOFF06 "Przedpokój" { mqtt=">[motherqtt:/sonoff06/gpio/12:command:ON:1],>[motherqtt:/sonoff06/gpio/12:command:OFF:0]" } diff --git a/sitemaps/tech.sitemap b/sitemaps/tech.sitemap index 3a74cf4..19d352c 100644 --- a/sitemaps/tech.sitemap +++ b/sitemaps/tech.sitemap @@ -10,6 +10,7 @@ sitemap pbrk label="Szczegóły techniczne" Switch item=rSONOFF01 Switch item=rSONOFF02 Switch item=rSONOFF03 + Switch item=rSONOFF05 Switch item=rSONOFF06 Switch item=rSONOFF07 Switch item=rD1MINI01