https://github.com/dpktjf/eto-smart-zone
ETO Smart Zone Calculator
https://github.com/dpktjf/eto-smart-zone
eto zone-calculator
Last synced: 2 months ago
JSON representation
ETO Smart Zone Calculator
- Host: GitHub
- URL: https://github.com/dpktjf/eto-smart-zone
- Owner: dpktjf
- License: mit
- Created: 2024-08-10T09:08:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-03-16T07:16:20.000Z (3 months ago)
- Last Synced: 2026-03-16T19:55:28.099Z (3 months ago)
- Topics: eto, zone-calculator
- Language: Python
- Homepage:
- Size: 199 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## Smart Zone Calculator
Integration that will calculate watering zone runtime given:
- Calculated ETO requirement sensor (mm)
- Rain over period sensor (mm)
- Watering throughput of the zone (mm/h)
- Zone scale factor (%)
- Max zone run time (mins)
Calculations as follows:
```
delta = rain over period - calculated ETO requirement
if delta < 0 then
# Watering required
runtime = abs(delta) / throughput * 3600 * scale factor (seconds)
if (reqd * 60) > max zone run time
runtime = max zone run time * 60
else
runtime = 0
```