https://github.com/andrewjswan/esphome-components
External components for ESPHome
https://github.com/andrewjswan/esphome-components
cm1106 esphome esphome-component matrix-lamp music-leds nerdminer-v2 pm2005 pm2105 shadow sound-reactive
Last synced: 1 day ago
JSON representation
External components for ESPHome
- Host: GitHub
- URL: https://github.com/andrewjswan/esphome-components
- Owner: andrewjswan
- License: mit
- Created: 2024-06-27T09:39:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-08T18:19:07.000Z (6 days ago)
- Last Synced: 2025-07-08T18:59:04.811Z (6 days ago)
- Topics: cm1106, esphome, esphome-component, matrix-lamp, music-leds, nerdminer-v2, pm2005, pm2105, shadow, sound-reactive
- Language: C++
- Homepage:
- Size: 333 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://esphome.io/)
[](https://github.com/andrewjswan/esphome-components/actions/workflows/build.yaml)
[](https://esphome.io/)
[](https://esphome.io/)
[](https://github.com/andrewjswan/esphome-components/blob/master/LICENSE)
[](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)# ESPHome Components
External components for ESPHome- [Matrix Lamp](#matrix-lamp)
- [Shadow](#shadow)
- [Fastled Helper](#fastled-helper)
- [NerdMiner](#nerdminer)
- [Music Leds / Sound Reactive](#music-leds--sound-reactive)
- [CUBIC CM1106 Single Beam NDIR CO2 Sensor Module](#cubic-cm1106-single-beam-ndir-co2-sensor-module)
- [CUBIC PM2005/PM2105 Laser Particle Sensor Module](#cubic-pm2005pm2105-laser-particle-sensor-module)## Matrix Lamp
[](https://esphome.io/)Component assembly of firmware adaptations based on the original idea of Gyver Lamp, for ESPHome.
Has a separate repository. https://github.com/andrewjswan/matrix-lamp/```yaml
external_components:
- source:
type: git
url: https://github.com/andrewjswan/matrix-lamp
ref: main
components: [matrix_lamp]matrix_lamp:
id: matrix
width: 16
height: 16
random: true
scale_id: matrix_scale
speed_id: matrix_speed
```## Shadow
[](https://esphome.io/)
[](https://esphome.io/)Allows you to run a script in a parallel thread (Task)
```yaml
external_components:
- source:
type: git
url: https://github.com/andrewjswan/esphome-components
ref: main
components: [shadow]
refresh: 60sscript:
- id: some_script
then:
- logger.log: "Script Running..."shadow:
id: esp_shadow
script_id: some_script
interval: 60ota:
- platform: esphome
on_begin:
then:
- lambda: |-
id(esp_shadow)->stop();
```## NerdMiner
[](https://esphome.io/)This component let you try to reach a bitcoin block with a small piece of hardware.
The main aim of this component is to let you learn more about minery and to have a beautiful piece of hardware in your desktop.
```yaml
external_components:
- source:
type: git
url: https://github.com/andrewjswan/esphome-components
ref: main
components: [nerdminer]
refresh: 60snerdminer:
id: miner
walletid: !secret wallet
worker: "esphomeminer"
pool: "public-pool.io"
port: 21496ota:
- platform: esphome
on_begin:
then:
- lambda: |-
id(miner)->stop();
```> [!NOTE]
> Based on [**NerdSoloMiner**](https://github.com/BitMaker-hub/NerdMiner_v2) by [BitMaker](https://github.com/BitMaker-hub)## Fastled Helper
[](https://esphome.io/)Helper providing a set of palettes, working with palettes and additional functions.
```yaml
external_components:
- source:
type: git
url: https://github.com/andrewjswan/esphome-components
ref: main
components: [fastled_helper]
refresh: 60sfastled_helper:
id: palettes
palettes: true
music_leds: false
```## Music Leds / Sound Reactive
[](https://esphome.io/)Ported `Sound Reactive` from WLED to ESPHome
```yaml
external_components:
- source:
type: git
url: https://github.com/andrewjswan/esphome-components
ref: main
components: [fastled_helper, music_leds]
refresh: 60sfastled_helper:
music_leds: truei2s_audio:
i2s_lrclk_pin: GPIO15
i2s_bclk_pin: GPIO14microphone:
- platform: i2s_audio
id: adc_mic
adc_type: external
sample_rate: 10240
bits_per_sample: 32bit
i2s_din_pin: GPIO32
channel: rightmusic_leds:
id: music_lightlight:
- id: !extend neopixel_led
effects:
- music_leds_effect:
name: Grav with Music
mode: GRAV
```> [!NOTE]
> Full package: https://github.com/andrewjswan/esphome-config/blob/main/packages/neopixel_light_music_leds.yaml## CUBIC CM1106 Single Beam NDIR CO2 Sensor Module
[](https://esphome.io/components/sensor/cm1106.html)
[](https://esphome.io/)
[](https://esphome.io/)> [!IMPORTANT]
> **Merged to ESPHome** / Pull request: https://github.com/esphome/esphome/pull/8293> [!NOTE]
> Documentation: [CUBIC CM1106 Single Beam NDIR CO2 Sensor Module](https://esphome.io/components/sensor/cm1106.html)```yaml
uart:
- id: cm1106_uart
rx_pin: 16
tx_pin: 17
baud_rate: 9600sensor:
- platform: cm1106
co2:
name: "${name} CO2"
id: co2sensor
id: cm1106_sensor
```## CUBIC PM2005/PM2105 Laser Particle Sensor Module
[](https://esphome.io/components/sensor/pm2005.html)
[](https://esphome.io/)
[](https://esphome.io/)> [!IMPORTANT]
> **Merged to ESPHome** / Pull request: https://github.com/esphome/esphome/pull/8292> [!NOTE]
> Documentation: [CUBIC PM2005/PM2105 Laser Particle Sensor Module](https://esphome.io/components/sensor/pm2005.html)```yaml
i2c:
- id: pm25_bus
sda: 23
scl: 22
scan: truesensor:
- platform: pm2005
i2c_id: pm25_bus
type: pm2105
pm_1_0:
name: "${name} PM1"
id: pm1sensor
pm_2_5:
name: "${name} PM2.5"
id: pm25sensor
pm_10_0:
name: "${name} PM10"
id: pm10sensor
```