在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:MTry/homebridge-smart-irrigation开源软件地址:https://github.com/MTry/homebridge-smart-irrigation开源编程语言:JavaScript 100.0%开源软件介绍:Homebridge Smart IrrigationDescriptionTurn any electrical irrigation valve into a smart-valve.. or run your pumps on a smart schedule based on your climate! This Homebridge plugin exposes a multi-zone irrigation sprinkler dummy control system to Apple's HomeKit. Although a dummy, it brings smarts of an evapotranspiration[ETo] based climate/plant adaptive irrigation controller with the use of OpenWeatherMap API. All parameters can be configured from the Homebridge UI and the plugin offers granular control specific to every zone's individual requirements. The plugin can optionally email you, and/or send you push notifications through Pushover and Pushcut, with the watering schedule it has calculated, or when a watering run is completed, along with the next 7-day weather forecast. Added option to expose system controls to Homekit allowing a user to enable/disable irrigation, rechecks, push and email notifications from within the Home App. Associated Why?Searching for an irrigation or sprinkler control plugin never showed any suitable option for my needs. The one that came closest, and is the inspiration and basis for this plugin is Tom Rodrigues's homebridge-web-sprinklers. But like many others, I didn't have the http hardware for it to control, or the inclination to rig it! What I did have access to, were some solenoid valves which I could power from a smart socket that was exposed to Homekit. So I stripped the code to just expose the dummy sprinkler accessories, reworked the irrigation logic - and then, one thing led to another.. in my quest to achieve a more granular control and incorporate more irrigation science to create a climate adaptive irrigation controller. Basic use case..
Installation
Operating PrincipleOne of the primary factors affecting the water demand of plants is evapotranspiration, also denoted as ETo and expressed in mm. While the subject of irrigation is one of extensive global research and there is no end to the extent of complication one can end up with, this plugin chooses to focus on three - ETo, local rain and the crop characteristics of each of the zones configured. ETo is calculated using the Penman-Monteith Evapotranspiration (FAO-56) Method. Those interested in a deeper understanding of the principles may head to this excellent resource of FAO. The factors used include the following (daily):
Rain is derived from OpenWeatherMap API along with some of the factors above using the Crop characteristics use some of the understanding gained from the website of University of California, Division of Agriculture and Natural Resources and particularly from this document for calculating drip irrigation schedules. Specifically, it utilises the following based on the conditions of the particular zone being irrigated:
Additionally, information about the number of drip emitters, their discharge rate, area irrigated and efficiency is considered with the above factors. Operating Logic & SchedulingIf Forecasted low and high temperature higher than their respective thresholds must be met for the day being scheduled. If The plugin schedules asynchronous zone watering - cycling sequentially through all the scheduled zones needing water one at a time and repeats the process the number of times specified by Start times will vary daily as a result of changing sunrise times as well as the calculated watering time based on the weather factors.
Example config block:全部评论
专题导读
上一篇:Eisenvater88/homebridge-ediplug: homebridge plugin for edimax ediplug wireless s ...发布时间:2022-06-17下一篇:siavashg/homebridge-glue: Homebridge integration for glue smart locks发布时间:2022-06-17热门推荐
热门话题
阅读排行榜
|
请发表评论