# Open greenhouse vents from a sensor reading

Temperature readings and LINE commands open and close greenhouse ventilation curtains.

## Hardware
ESP32; BTS7960; two 24V DC roll-up motors; SwitchBot thermometer

An ESP32 and motor drivers open or close greenhouse ventilation curtains using temperature readings and messaging commands.

## Shopping list

Parts for one build. Reuse equipment you already own. Quantities are planning quantities unless the creator explicitly specifies a count; kit contents are not additional purchases.

Quantities are for one build. Unless marked source-specified, they are planning quantities; confirm kit contents and the chosen configuration before ordering.

### Confirm before buying
- Exact motors, driver count, supply current, stopping safeguards, ESP32 supply conversion and SwitchBot integration remain unspecified. Do not operate unattended from this overview.

### 1 × ESP32 development board
- Requirement: Required
- Quantity basis: Planning quantity for one build; check the selected configuration
- Purpose: Network motor controller.
- Notes: Variant not specified.
- Sourcing: No exact purchase link verified; confirm the model and requirements above before ordering.
- Evidence: Creator source
- Source: https://youcanjustbuildthings.openai.chatgpt.site/projects/submission-e347d07c0cd0edd7a25bcfbae3fcfee78d86003917d2888d359eb167305ad1da
- Source: https://x.com/i/status/2040622950429401235

### Not stated × BTS7960 motor-driver modules
- Requirement: Required
- Quantity basis: Planning quantity for one build; check the selected configuration
- Purpose: Forward/reverse motor drive.
- Notes: Two motors are specified, but driver count and current margin are not; size per the actual wiring and stall currents.
- Sourcing: No exact purchase link verified; confirm the model and requirements above before ordering.
- Evidence: Creator source
- Source: https://youcanjustbuildthings.openai.chatgpt.site/projects/submission-e347d07c0cd0edd7a25bcfbae3fcfee78d86003917d2888d359eb167305ad1da
- Source: https://x.com/i/status/2040622950429401235

### 2 × 24 V DC greenhouse roll-up motor
- Requirement: Required
- Quantity basis: Source-specified quantity
- Purpose: Vent actuation.
- Notes: Torque, current, travel and motor models not supplied.
- Sourcing: No exact purchase link verified; confirm the model and requirements above before ordering.
- Evidence: Creator source
- Source: https://youcanjustbuildthings.openai.chatgpt.site/projects/submission-e347d07c0cd0edd7a25bcfbae3fcfee78d86003917d2888d359eb167305ad1da
- Source: https://x.com/i/status/2040622950429401235

### 1 × 24 V DC power supply
- Requirement: Required
- Quantity basis: Planning quantity for one build; check the selected configuration
- Purpose: Motor power.
- Notes: Capacity must cover the actual startup/stall load; do not infer it from nominal voltage.
- Sourcing: No exact purchase link verified; confirm the model and requirements above before ordering.
- Evidence: Creator source
- Source: https://youcanjustbuildthings.openai.chatgpt.site/projects/submission-e347d07c0cd0edd7a25bcfbae3fcfee78d86003917d2888d359eb167305ad1da
- Source: https://x.com/i/status/2040622950429401235

### 1 × SwitchBot thermometer/hygrometer
- Requirement: Required
- Quantity basis: Planning quantity for one build; check the selected configuration
- Purpose: Temperature input.
- Notes: Exact model and hub/connection path not disclosed.
- Sourcing: No exact purchase link verified; confirm the model and requirements above before ordering.
- Evidence: Creator source
- Source: https://youcanjustbuildthings.openai.chatgpt.site/projects/submission-e347d07c0cd0edd7a25bcfbae3fcfee78d86003917d2888d359eb167305ad1da
- Source: https://x.com/i/status/2040622950429401235

### 1 × Manual control switch
- Requirement: Required
- Quantity basis: Planning quantity for one build; check the selected configuration
- Purpose: Local override.
- Sourcing: No exact purchase link verified; confirm the model and requirements above before ordering.
- Evidence: Creator source
- Source: https://youcanjustbuildthings.openai.chatgpt.site/projects/submission-e347d07c0cd0edd7a25bcfbae3fcfee78d86003917d2888d359eb167305ad1da
- Source: https://x.com/i/status/2040622950429401235

### Set × Wiring and terminal blocks
- Requirement: Required
- Quantity basis: Planning quantity for one build; check the selected configuration
- Purpose: Power and signal connections.
- Sourcing: No exact purchase link verified; confirm the model and requirements above before ordering.
- Evidence: Creator source
- Source: https://youcanjustbuildthings.openai.chatgpt.site/projects/submission-e347d07c0cd0edd7a25bcfbae3fcfee78d86003917d2888d359eb167305ad1da
- Source: https://x.com/i/status/2040622950429401235

### Design required × Motor stopping, isolation and protection hardware
- Requirement: Required
- Quantity basis: Planning quantity for one build; check the selected configuration
- Purpose: End-of-travel and emergency safety.
- Notes: Limits, fusing, cutoff, enclosure and low-voltage power conversion are not detailed in the showcase.
- Sourcing: Use existing equipment or match the specification above. No exact purchase link verified.
- Evidence: Setup requirement — check against your configuration
- Source: https://youcanjustbuildthings.openai.chatgpt.site/projects/submission-e347d07c0cd0edd7a25bcfbae3fcfee78d86003917d2888d359eb167305ad1da
- Source: https://x.com/i/status/2040622950429401235

### Set × Assembly and test tools
- Requirement: Tool
- Quantity basis: Planning quantity for one build; check the selected configuration
- Purpose: Assemble and check the circuit.
- Notes: Soldering iron, solder, wire cutters and multimeter; review the wiring before power-up.
- Sourcing: Use existing equipment or match the specification above. No exact purchase link verified.
- Evidence: Setup requirement — check against your configuration
- Source: https://youcanjustbuildthings.openai.chatgpt.site/projects/submission-e347d07c0cd0edd7a25bcfbae3fcfee78d86003917d2888d359eb167305ad1da
- Source: https://x.com/i/status/2040622950429401235

### 1 × Computer for setup
- Requirement: Tool
- Quantity basis: Planning quantity for one build; check the selected configuration
- Purpose: Build, configure or flash the software.
- Sourcing: Use existing equipment or match the specification above. No exact purchase link verified.
- Evidence: Setup requirement — check against your configuration
- Source: https://youcanjustbuildthings.openai.chatgpt.site/projects/submission-e347d07c0cd0edd7a25bcfbae3fcfee78d86003917d2888d359eb167305ad1da
- Source: https://x.com/i/status/2040622950429401235

Source reviewed, not assembled or hands-on tested. A working product page does not confirm stock, firmware compatibility or a complete build.

## Setup
Kit / assembly

## Coding tool
Codex

## How the agent helped
The farmer describes working with Codex on component selection, wiring exploration and control code, then testing the system on real greenhouse hardware.

## Before you build
DIY field-tested prototype. Requires electrical assembly, motor stopping safeguards and a backend; not safety-certified unattended control.

## Sources
- Original build: https://youcanjustbuildthings.openai.chatgpt.site/projects/submission-e347d07c0cd0edd7a25bcfbae3fcfee78d86003917d2888d359eb167305ad1da
- Supporting source: https://x.com/i/status/2040622950429401235

Source reviewed 2026-11-04. Not hands-on tested.
