Collection of code for ESP8266 devices
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Steven Haigh 10467b1e36 [RGB Lights] Ship out auto updates to define WITH_AUTOUPDATE 2 months ago
..
libs [Roomba] Switch to using WiFiEventHandlers 3 months ago
src [RGB Lights] Ship out auto updates to define WITH_AUTOUPDATE 2 months ago
README.md [RGB Lights] Update the readme 3 months ago
platformio.ini Settle back to production espressif8266 SDK 4 months ago

README.md

Parts

ESP8266 D1 Mini (Wemos)

WS2812 Addressable LEDs

About

This project was originally forked from bruhautomation’s code - but with a lot of it re-written for functionality / optimisations.

Home Assistant configuration

Within configuration.yaml, add the following:

light:
  - platform: mqtt
    schema: json
    name: "Bed Strip"
    state_topic: "bruh/bedroom"
    command_topic: "bruh/bedroom/set"
    effect: true
    effect_list:
      - bpm
      - candy cane
      - confetti
      - cyclon rainbow
      - dots
      - fire
      - glitter
      - juggle
      - lightning
      - noise
      - police all
      - police one
      - rainbow
      - rainbow with glitter
      - ripple
      - sinelon
      - solid
      - twinkle
    brightness: true
    rgb: true
    optimistic: false
    qos: 0

To change the MQTT topic used, adjust the state_topic and command_topic in both the .ino code and the above config.

I have these configured and installed behind the headboard of my bed projecting onto the wall.