1. У меня 12 зон автополива (капельный и обычный)
2. Насос и подводка находятся в Хозблоке, где интернет не работает, а сеть Z-wave нужно делать через повторители сигнала.
3. В хозблоке есть сеть 220В
Для организации 12 зон автополива понадобилось бы 6 штук реле Fibaro (около 40000,00 руб) + повторитель или что-нибудь в этом роде.
Роман
Т.к. панель автополива в Fibaro доступна только Web-интерфейсе, то смысла в ней нет. Все равно в наших краях автополивом пользуешься в полуавтоматизированном режиме и функционал каждому нужен свой.
1. Ethernet-реле RODOS-18DIN - 10000 руб.
2. Трансформатор с выходным напряжением AC: 24-30 В (бесплатно - нашел от зарядника).
3. Адаптеры PoE для обеспечения Ethernet связи по сети 220 В (2 шт) (1000-2000 руб.)
4. Ну и конечно же Fibaro Home Center (например). Создаем VD и пишем сценарии работы.
5. Да, ну и Алису прикручиваем.
Схему прилагаю.
1. Датчик протечки воды.
2. Открытие/закрытие шарового крана с электроприводом - для перекрытия воды в случае протечки.
3. Включение/Отключение компрессора. - это необходимо в случае, если сплинкер выйдет из строя, или в случае протечек в линии, то компрессор будет постоянно и периодически молотить.
4. Мониторинг работы компрессора. Через розетку Fibaro контролируется мощность потребления электроэнергии компрессором. Если потребление выше допустимого в течение 30 сек, а команды на полив не было (знач. глоб. переменной), то делается вывод об аварийной ситуации - PUSH увед. и отключение компрессора.
Внешний вид VD:
Полив черники
fibaro:setGlobal("Sprinkler", "1"); fibaro:call(1478, "setProperty", "ui.Label1.value", "1") fibaro:call(1478, "setProperty", "ui.Label2.value", "") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb1f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb2f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb3f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb4f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb5f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb6f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb7f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb8f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb9f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb10f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb11f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb0n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb0f.cgi") fibaro:debug(errorCode) if errorCode == 0 then fibaro:log("Выполнена команда") else fibaro:log("Ошибка") end
Enter your text here ...
fibaro:setGlobal("Sprinkler", "1"); fibaro:call(1478, "setProperty", "ui.Label1.value", "2") fibaro:call(1478, "setProperty", "ui.Label2.value", "") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb0f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb2f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb3f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb4f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb5f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb6f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb7f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb8f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb9f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb10f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb11f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb1n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb1f.cgi") fibaro:debug(errorCode) if errorCode == 0 then fibaro:log("Выполнена команда") else fibaro:log("Ошибка") end
Enter your text here ...
fibaro:setGlobal("Sprinkler", "1"); fibaro:call(1478, "setProperty", "ui.Label1.value", "1") fibaro:call(1478, "setProperty", "ui.Label2.value", "") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb1f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb2f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb3f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb4f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb5f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb6f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb7f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb8f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb9f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb10f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb11f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb0n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb0f.cgi") fibaro:debug(errorCode) if errorCode == 0 then fibaro:log("Выполнена команда") else fibaro:log("Ошибка") end
Enter your text here ...
fibaro:setGlobal("Sprinkler", "0"); fibaro:killScenes(84) fibaro:call(1478, "setProperty", "ui.Label3.value", "Off") fibaro:call(1478, "setProperty", "ui.Label1.value", "") fibaro:call(1478, "setProperty", "ui.Label2.value", "") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb0f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb1f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb2f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb3f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb4f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb5f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb6f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb7f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb8f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb9f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb10f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb11f.cgi") fibaro:debug(errorCode) if errorCode == 0 then fibaro:log("Выполнена команда") else fibaro:log("Ошибка") end
Enter your text here ...
fibaro:startScene(84) fibaro:call(1478, "setProperty", "ui.Label3.value", "Auto") Кнопка Manual fibaro:setGlobal("Sprinkler", "1") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb0n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb0f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb1n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb1f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb2n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb2f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb3n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb3f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb4n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb4f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb5n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb5f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb6n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb6f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb7n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb7f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb8n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb8f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb9n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb9f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb10n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb10f.cgi") HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb11n.cgi") fibaro:sleep(60*1000*tonumber(fibaro:getGlobalValue("SprinklerDalay"))) HTTP = Net.FHttp("192.168.1.20",80) HTTP:setBasicAuthentication("admin", "admin") response, status, errorCode = HTTP:GET("/protect/rb11f.cgi") fibaro:call(1478, "setProperty", "ui.Label3.value", "Manual")
Enter your text here ...
fibaro:setGlobal("SprinklerDalay", "15"); fibaro:call(1478, "setProperty", "ui.Label4.value", "15")
В панели глобальных переменных нужно прописать переменные SprinklerDelay (нужна для установки время работы спринклера) и Sprinkler=0
Меня пока устраивает такой режим работы AUTO. Как только ты мне найдешь датчик влажности почвы, то все будет совсем хорошо.
Роман
When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.