{"id":24871230,"url":"https://github.com/philkes/homeplantery","last_synced_at":"2025-03-26T22:45:28.653Z","repository":{"id":247242630,"uuid":"811404053","full_name":"PhilKes/HomePlantery","owner":"PhilKes","description":"Solar powered HomeAssistant/ESPHome plant watering system","archived":false,"fork":false,"pushed_at":"2024-10-22T18:07:23.000Z","size":96798,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T04:31:47.825Z","etag":null,"topics":["esp32","esphome","home-assistant","plant-watering","soil-moisture-sensor","solar-energy","water-pump"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PhilKes.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-06-06T14:30:31.000Z","updated_at":"2024-11-06T20:43:28.000Z","dependencies_parsed_at":"2024-07-07T16:22:32.611Z","dependency_job_id":null,"html_url":"https://github.com/PhilKes/HomePlantery","commit_stats":null,"previous_names":["philkes/homeplantery"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilKes%2FHomePlantery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilKes%2FHomePlantery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilKes%2FHomePlantery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilKes%2FHomePlantery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhilKes","download_url":"https://codeload.github.com/PhilKes/HomePlantery/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245749857,"owners_count":20666084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["esp32","esphome","home-assistant","plant-watering","soil-moisture-sensor","solar-energy","water-pump"],"created_at":"2025-02-01T04:31:24.967Z","updated_at":"2025-03-26T22:45:28.628Z","avatar_url":"https://github.com/PhilKes.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# HomePlantery\n\n[Plantwatery](https://github.com/Lumics/Plantwatery) but with ESPHome (based on [ESPlanty](https://community.home-assistant.io/t/esplanty-self-watering-solar-powered-plant-no-plumbing-no-powerpoints-irrigation-deep-sleep-battery/464263))\n\n# Hardware\n- [ESP32 WSROOM](https://www.amazon.com/ESP-WROOM-32-Development-Microcontroller-Integrated-Compatible/dp/B08D5ZD528/ref=sr_1_3?dib=eyJ2IjoiMSJ9.is-SH_RLGHiZZUrqvTWU_G47m1VG_nJcewwyvxGB7OvCY988in8VrBtNhYYw93kqu-TzbQ7iGPAVwtLR4hIciAc1UbAKsX5YxXF5BrMKtY6tger2LwgrmCYPu-hvVMluE9alMexKdAq--0biDqqz1dQUUKAOFdmFcM649BSEBodAk-NyjGVKNRgqKQrteMe9z18b0mE2ql9UzHJYwFRyEWR5CzEjfUauRxMdGvZB4WM.qr_nt2kP2eFUJDdUv6sq-4Srn7YnFFWOma_bYg2G_XE\u0026dib_tag=se\u0026keywords=esp32+wroom\u0026qid=1720358463\u0026sr=8-3)\n- [Capacity Soil Moisture Sensor](https://de.aliexpress.com/item/32892951369.html?spm=a2g0o.order_list.order_list_main.42.bb595c5f6tNArW\u0026gatewayAdapt=glo2deu)(2 slots available)\n- [1 Channel 5V Relay Board](https://de.aliexpress.com/item/1005005626475953.html?spm=a2g0o.order_list.order_list_main.36.bb595c5f6tNArW\u0026gatewayAdapt=glo2deu)\n- [MCP1700 3.3v Voltage Regulator](https://www.aliexpress.com/item/1005001608339185.html?spm=a2g0o.order_list.order_list_main.24.bb595c5f6tNArW\u0026gatewayAdapt=glo2deu)\n- [5V 1.2W (at least 0.5W) Solar Panel](https://de.aliexpress.com/item/1005004198199771.html?spm=a2g0o.order_list.order_list_main.72.bb595c5f6tNArW\u0026gatewayAdapt=glo2deu)\n- [5V 2.4W Decdeal Water Pump](https://www.amazon.de/dp/B07B49VKJH?psc=1\u0026ref=ppx_yo2ov_dt_b_product_details)\n- [Pneumatic Tube 6mm](https://www.aliexpress.com/item/4000859747207.html?spm=a2g0o.order_list.order_list_main.11.bb595c5f6tNArW)\n- [Pneumatic Tube T Connector 6mm outer diameter](https://de.aliexpress.com/item/1005003985521367.html?spm=a2g0o.order_list.order_list_main.48.bb595c5f6tNArW\u0026gatewayAdapt=glo2deu)\n- [Pneumatic Tube End Connector 6mm outer diameter](https://www.aliexpress.com/item/4001338085412.html?spm=a2g0o.order_list.order_list_main.12.bb595c5f6tNArW)\n- Slide Switch\n- Water Canister (e.g. [Plastic Box 12 litres](https://www.hornbach.de/p/kunststoffbox-dirk-xs-12-l-255x170x370-mm/8493487/))\n- M3 (4-9mm long) Screws for mounting\n\n\n__Note: My Hardware setup in theory allows to connect 2 moisture sensors and 2 water pumps, but only 1 each is used as of now.__\n\n## Schematic\n\u003cimg src=\"./doc/schematic_perfboard.png\" width=\"500\"\u003e\n\n[Fritzing Schematic](./doc/schematic_perfboard.fzz)\n\n# Software\n\n## Requirements\n- [Home Assistant](https://www.home-assistant.io/)\n- [ESPHome integration](https://www.home-assistant.io/integrations/esphome/)\n- Create [Input Boolean Helper integration](https://www.home-assistant.io/integrations/input_boolean/) with id `input_boolean.ota_update_available`\n\n## Code\n[plant_watering_control.yaml](./homeassistant/plant_watering_control.yaml):\n\n1. Checks if there are OTA Updates available (toggle in HA), if there are updates, prevent deep sleep\n2. Reset sensors and take measurements (median with sliding window, notification with sensor values)\n3. Start watering if moisture is below threshold (notification for water pump start and stop action)\n4. Re-measure moisture change (notification if moisture didn't rise as expected)\n5. Enter deep-sleep until configured time of day (20:00)\n\n\n# 3D Printed Parts\nAll parts should be printed with ASA or PETG, because PLA can start to deteriorate and deform in warm and wet weather conditions.\n\n## Electronics Case\n- [Bottom Case](./3dprint/case/electronics/electronics_case_bottom.stl) with holes for ESP32 USB-C, TP4056 micro USB, Slide Switch, Cable holes\n- [Top Case](./3dprint/case/electronics/electronics_case_top.stl) with mounting screw holes\n\n## Solar Panel Case\n- [Solar Panel Case](./3dprint/case/solar_panel/solar_panel_case_base.stl) with M3 screw mounting hole\n- [Solar Panel Clamp](https://www.thingiverse.com/thing:6668830) as alternative to mounting via M3 screw\n\n## Watering System parts\nSee [/3dprint/watering_system](./3dprint/watering_system) for all available parts\n\n- Sprinkler Connector\n- Sprinkler tops with different holes\n- Sprinkler holders (vertical/horizontal)\n- Tube 5-Way Splitter (8mm to 4mm inner diameter)\n- [Tube Clamp](./3dprint/watering_system/water_canister/tube_ring_clamp.stl) to fix 8mm tube on Water Pump\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilkes%2Fhomeplantery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilkes%2Fhomeplantery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilkes%2Fhomeplantery/lists"}