
A farmer's ESP32 greenhouse vent opener, controlled from LINE
Gadget, Medium
A Hokkaido farmer with no engineering background used Codex to motorise greenhouse side curtains. An ESP32 drives two 24V roll-up motors from LINE commands or from temperature readings.
Tomiyasu used to crank the greenhouse side curtains by hand. Now two 24V DC roll-up motors do it, driven through a BTS7960 motor driver by one ESP32. A Cloudflare backend records commands sent in LINE, and the ESP32 polls it and runs the motors forward, in reverse, or stops them.
A SwitchBot thermometer and hygrometer triggers opening and closing at set temperatures, and LINE sends a message when a move finishes. A local switch still works for manual control. The first field test used a 20°C threshold, and the builder posted the progress as a series on X.
The builder notes that wiring, power capacity and stopping mechanisms have to be checked for your own motors and greenhouse, and that the system is still being tested in the field.
Ideas to try with it
Our ideas, not the builder's claims.
- Start with one motor and a manual switch before adding the cloud side
- Log every open and close with the temperature so next season's thresholds come from data
- Swap LINE for Telegram or Home Assistant if that's what you use
- Source
- @tomiyasu16 on X
- Posted
- 2026-04-05
- Builder
- @tomiyasu16
- Built with
- ESP32
Links
Guides: Codex and ChatGPT hardware projects people actually built
What to build next
Builds that share a board, robot or agent with this one.
MOSS: a 3D-printed rover that picks up litterAlso for Codex
ImageGenCam: build a Raspberry Pi camera that remixes every photoAlso for Codex
Turn an old Kindle into an e-ink AI usage dashboardAlso for Codex
Cat TV: a Raspberry Pi that projects scenes for a catAlso for Codex
Start with the Cheap Yellow Display: an ESP32 with a built-in touchscreen and a community of projectsAlso built on ESP32
openHASP: build a touchscreen wall panel for Home Assistant from a cheap ESP32 displayAlso built on ESP32