wordclock_esp8266
Software for a Wordclock based on ESP8266 and Neopixel LEDs with PONG, TETRIS, SNAKE game modes
My personal ESPHome config files
git clone https://github.com/jesserockz/esphome-configs.gitjesserockz/esphome-configsPublic ESPHome configurations for my smart home devices, organized in a clean and maintainable structure.
.
├── devices/ # Individual device configurations
│ ├── lights/ # Light devices (RGB, CT, LED strips, etc.)
│ ├── switches/ # Wall switches and relay switches
│ ├── plugs/ # Smart plugs and power strips
│ ├── climate/ # Climate control (heaters, fans, AC units)
│ ├── displays/ # Display devices (M5Stack Dial, desk displays)
│ ├── garage/ # Garage-related devices (door openers, etc.)
│ ├── sensors/ # Sensor devices (energy monitors, etc.)
│ ├── network/ # Network devices (Bluetooth proxies, RF bridges)
│ └── other/ # Other devices (alarm systems, pet fountains, etc.)
│
├── common/ # Shared configuration components
│ ├── platforms/ # Platform-specific base configurations
│ │ ├── common-base.yaml # Core ESPHome configuration
│ │ ├── common-esp8266.yaml # ESP8266 specific config
│ │ ├── common-esp32.yaml # ESP32 specific config
│ │ ├── common-esp32s2.yaml # ESP32-S2 specific config
│ │ ├── common-esp32s3.yaml # ESP32-S3 specific config
│ │ ├── common-esp32c3.yaml # ESP32-C3 specific config
│ │ ├── common-esp32c6.yaml # ESP32-C6 specific config
│ │ └── common-32-solo.yaml # ESP32 Solo specific config
│ │
│ ├── wifi.yaml # WiFi configuration
│ ├── bluetooth-proxy.yaml # Bluetooth proxy setup
│ ├── sensors/ # Common sensor components (uptime, etc.)
│ ├── binary_sensors/ # Common binary sensors (status, etc.)
│ └── buttons/ # Common buttons (restart, safe mode, factory reset)
│
├── templates/ # Device-specific templates by brand/type
│ ├── athom/ # Athom devices (smart plugs, lights, switches)
│ ├── kogan/ # Kogan devices (lights, heaters, fans)
│ ├── sonoff/ # Sonoff devices (basic switches, RF bridges)
│ ├── smartape/ # Smart Ape devices (kettles, power strips)
│ ├── zemismart/ # Zemismart switches
│ ├── m5stack/ # M5Stack devices
│ ├── alarm/ # Alarm system templates
│ ├── garage-panel/ # Garage panel templates
│ └── other/ # Other device templates
│
└── fonts/ # Custom fonts for displays
Device configuration files (in devices/) are thin wrapper files that:
Example (devices/lights/dining-light.yaml):
--- substitutions: name: dining-light friendly_name: Dining Light ip: '10.6.6.130' light_name: Dining packages: light: !include ../../templates/athom/athom-rgbct-light.yaml
Device templates (in templates/) provide complete hardware configurations for specific device models:
Templates automatically include:
Example (templates/athom/athom-rgbct-light.yaml):
--- packages: common: !include ../../common/platforms/common-esp8266.yaml wifi: !include ../../common/wifi.yaml # Device-specific hardware configuration...
Platform files (in common/platforms/) set up the ESP chip and include common components:
Reusable configuration snippets (in common/) that can be included anywhere:
If you have a device that matches an existing template:
--- substitutions: name: my-new-light friendly_name: My New Light ip: '10.6.6.XXX' packages: light: !include ../../templates/athom/athom-rgbct-light.yaml
For unique devices, you can include the platform directly:
--- substitutions: name: my-custom-device friendly_name: My Custom Device ip: '10.6.6.XXX' packages: common: !include ../../common/platforms/common-esp32.yaml wifi: !include ../../common/wifi.yaml # Your custom configuration here...
If you have multiple devices of the same model, create a template:
templates/ subdirectoryPaths are relative to the file location:
devices/*/)../../common/platforms/common-esp32.yaml../../common/wifi.yaml../../templates/brand/template.yamltemplates/*/)../../common/platforms/common-esp32.yaml../../common/wifi.yamlcommon/platforms/)common-base.yaml (same directory)../wifi.yamldevices/ subdirectorylocation-device.yamlThe repository includes GitHub Actions workflows for:
Configuration files:
.yamllint - YAML linting rulessecrets.ci.yaml - Test secrets for CI/CDmore like this
Software for a Wordclock based on ESP8266 and Neopixel LEDs with PONG, TETRIS, SNAKE game modes
A small display for ESPHome and Home Assistant to retrieve the current house consumption and energy price via a sensor…
search projects, people, and tags