How flo-r1der/esphome_window-opener works
This is an ESPHome-based controller for a motorized window. Indoor and outdoor climate readings feed ventilation decisions; the selected humidity, temperature, scheduled, or manual mode determines window movement. A local encoder and display support standalone operation, while Home Assistant integration is optional. The tree contains only device.yaml and documentation, so subsystem paths below use that existing configuration file; internal implementation details and exact wiring beyond the README are not available for verification.
Main entry points: device.yaml Sensor inputs
Components 15
Climate sensing
- Indoor sensors
- Outdoor sensors
- Sensor inputs
device.yaml - Humidity calculation
device.yaml
Window control
- Climate evaluation
device.yaml - Mode selection
device.yaml - Scheduled mode
device.yaml - Manual mode
device.yaml - Window actuation
device.yaml - Window motor
User interface
- Mode settings
device.yaml - Rotary encoder
- OLED display
- Status display
device.yaml
Integrations
- Home Assistant
Connections 24
- Indoor sensors → Sensor inputs: send readings
- Outdoor sensors → Sensor inputs: send readings
- Sensor inputs → Humidity calculation: provide climate data
- Sensor inputs → Climate evaluation: provide readings
- Humidity calculation → Climate evaluation: provide absolute humidity
- Mode selection → Climate evaluation: selects evaluation
- Mode selection → Scheduled mode: selects schedule
- Mode selection → Manual mode: selects manual control
- Climate evaluation → Window actuation: requests movement
- Scheduled mode → Window actuation: requests movement
- Manual mode → Window actuation: sets position
- Window actuation → Window motor: drives window
- Rotary encoder → Mode settings: adjusts settings
- Rotary encoder → Manual mode: sets position
- Mode settings → Climate evaluation: sets targets
- Mode settings → Scheduled mode: sets times
- Climate evaluation → Status display: provides evaluation
- Mode selection → Status display: provides mode
- Sensor inputs → Status display: provides measurements
- Status display → OLED display: renders status
- Home Assistant → Mode selection: selects mode
- Home Assistant → Manual mode: sets position
- Home Assistant → Mode settings: adjusts settings
- Sensor inputs → Home Assistant: exposes readings