Skip to content

selfhostedhome/mqtt-rgb-light-strips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT RGB Light Strips

A WiFi Connected RGB LED Strip using MQTT. Read the full blog post at selfhostedhome.com.

A second blogpost details the effects for syncing up the LEDs to music. This is also available at selfhostedhome.com.

Rainbow Lights

Hardware

Please refer to the blog post for more information. Essentially this is using WS2811 LED strips controlled by a NodeMCU. For music based effects I use the MSGEQ7 for audio processing..

Check out the schematic/ folder for more information.

Software

Embedded

This repository uses PlatformIO for building the embedded software for the NodeMCU. Check out their installation docs for more information on how to get started with PlatformIO.

The code here supports:

  • Control over MQTT topics
  • Color Fill
  • Synchronize LEDs to Music
  • Different Effects
    • rainbow
    • rainbow_with_glitter
    • confetti
    • sinelon
    • bpm
    • juggle
    • candycane
    • party_colors
    • rotate_party_colors
  • Music Based Effects
    • music_rainbow
    • music_rgb
    • music_rotate_party_colors
    • music_cycle_
  • Over the Air Updates

To get started rename the src/config_template.h file to src/config.h. Afterwards update the MQTT topics, WiFi information and LED strip information to match your setup.

Home Assistant

Refer to the Home Assistant yaml snippet in the homeassistant directory for how to set up MQTT lights in Home Assistant.

About

MQTT Enabled RGB Light Strips controlled by Home Assistant

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published