{"id":24307792,"url":"https://github.com/30hours/irrigation","last_synced_at":"2026-04-28T17:32:08.946Z","repository":{"id":270930153,"uuid":"910022274","full_name":"30hours/irrigation","owner":"30hours","description":"Irrigation controller on an ESP32 for 24VAC solenoids","archived":false,"fork":false,"pushed_at":"2025-01-25T14:03:36.000Z","size":498,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T08:04:04.550Z","etag":null,"topics":["controller","esp32","home-assistant","irrigation","solenoid"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/30hours.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-30T09:54:35.000Z","updated_at":"2025-01-25T14:03:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"87aadaa2-afd5-4ead-bf0d-898047154a7b","html_url":"https://github.com/30hours/irrigation","commit_stats":null,"previous_names":["30hours/irrigation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/30hours/irrigation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/30hours%2Firrigation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/30hours%2Firrigation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/30hours%2Firrigation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/30hours%2Firrigation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/30hours","download_url":"https://codeload.github.com/30hours/irrigation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/30hours%2Firrigation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32392291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["controller","esp32","home-assistant","irrigation","solenoid"],"created_at":"2025-01-17T04:19:34.280Z","updated_at":"2026-04-28T17:32:08.930Z","avatar_url":"https://github.com/30hours.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# irrigation\n\nHardware and firmware for an irrigation controller on an ESP32. \n\nDesigned to control 24VAC solenoid valves.\n\n## Schematic\n\n![Schematic](./schematic.svg \"Schematic\")\n\n## PCB\n\n- PCB has been designed in [EasyEDA Standard](https://easyeda.com/).\n- Board size is 140 mm x 70 mm.\n- Includes M4 mounting holes.\n- 2 layer board.\n\n![PCB](./pcb.svg \"PCB\")\n\n## Hardware\n\nUse the Gerber files in [hardware](hardware) to print a PCB from your favourite supplier and solder components to the board.\n\nSee [hardware/README.md](hardware/README.md) for more information.\n\n## Firmware\n\nFlash the ESP32-C3 using the following steps:\n\n```\npython3 -m venv irrigation\nsource irrigation/bin/activate\npip3 install esptool esphome\nesptool.py --port /dev/ttyACM0 erase_flash\nesphome run irrigation.yaml\n```\n\nThe firmware uses [ESPHome](https://esphome.io/index.html) which has default support for Home Assistant.\n\n## Usage\n\n**Initial setup:**\n\n- Connect power to the device.\n- Connect to the WiFi network `Irrigation Controller` and enter password `irrigation`.\n- Open the web browser to `192.168.4.1` and connect to your WiFi network.\n- Find the IP address of the ESP32-C3 from your WiFi router devices list. Alternatively run `sudo nmap -sP $(hostname -I | awk '{print $1}')/24`.\n- Assign a static IP to the ESP32-C3 from WiFi router settings.\n\n**Operation:**\n\n- Navigate to the static IP assigned in the initial setup.\n- Use the ESPHome web interface to control solenoids.\n\n**Home Assistant setup:**\n\n- In Home Assistant navigate to `Settings`, `Devices and Services`, `Add Integration`, `ESPHome`.\n- Add the host as the static IP assigned in the initial setup, and leave the port as `6053`.\n- Enter the encryption key found in `irrigation.yaml`.\n- The ESPHome device will expose the 8 solenoid switch entities.\n\n## Future Work\n\n- Add pictures of installed controller.\n- Design 3D printed case.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F30hours%2Firrigation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F30hours%2Firrigation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F30hours%2Firrigation/lists"}