Skip to content

Instantly share code, notes, and snippets.

@chunkysteveo
chunkysteveo / lilygo-t01-plus.yaml
Created August 28, 2022 15:00
ESP32 C3 Test for the Lilygo T-01 Plus board for ESPHome. That's the ESP C3 board from lilygo with the 16340 battery. Example yaml has various sensors to pick up in HA, and the onboard LED is also a status LED (It's GREEN!) IO3.
substitutions:
display_name: 'ESP32 C3 Lilygo T01 Plus'
device_description: 'ESP32 C3 Test for the Lilygo T01 Plus board'
friendly_name: 'ESP32 C3 Lilygo T01 Plus'
device_name: lilygo-t01-plus
node_name: lilygo_t01_plus
esphome:
name: ${device_name}
platformio_options:
@chunkysteveo
chunkysteveo / epaper-display-02-v2.yaml
Created August 1, 2022 10:10
Badgy 02 Weather - Vertical
substitutions:
display_name: 'EPaper Display Badgy 02'
device_description: 'EPaper Display Badgy 01. The Blue one!'
friendly_name: 'EPaper Display Badgy 02' # displayed in HA.. Whatever name you'd like
device_name: epaper-display-02
node_name: epaper_display_02
esphome:
name: ${device_name}
comment: ${device_description}
@chunkysteveo
chunkysteveo / lilygo-esp32c3-esp01.yaml
Last active June 27, 2022 19:37
ESP32 C3 Test for the Lilygo ESP01 board for ESPHome. That's the little ESP01 style board from lilygo that has the ESP32C3 chip and optional external antenna. I had to install it first on the Pi's USB port, but now it works fine OTA. Example yaml has various sensors to pick up in HA, and the onboard LED is also a status LED (It's GREEN!) and mon…
substitutions:
display_name: 'ESP32 C3 Test'
device_description: 'ESP32 C3 Test for the Lilygo ESP01 board'
friendly_name: 'ESP32 C3 Test'
device_name: esp32c3-test-new
node_name: esp32c3_test_new
esphome:
name: ${device_name}
platformio_options:
@chunkysteveo
chunkysteveo / tinypico.yaml
Created June 21, 2022 09:07
ESPHome YAML config for the TinyPico ESp32 board by Unexpected Maker to activate and control the onboard APA102 "Dotstar" addressable LED. Power to this LED is off by default, and needs to be activated via the onboard PNP transistor circuit controlled by GPIO13 being pulled low by the MCU. ESPHome has a handy "power_supply" option for lights, so…
# Power pin to the APA102 LED - The Tiny Pico controls a PNP transistor on GPIO13 to shut the Dotstar LED down when not in use to save power. Active LOW, so inverted.
power_supply:
- id: 'apa102_psu'
pin:
number: GPIO13
inverted: true
# The Dotstart APA102 onboard addressable LED, power is supplied via 3.3v contolled by transistor managed via GPIO13 as per above.
# It doesn't have a good brightness scale (using ESPHome) and appears almost off below 50% - use this at 70-100% brightness and more as a proof of concept.
light: