hamote505 / ESP8266-FastLED

ESP8266 FastLED MQTT Demos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP8266 FastLED MQTT Demos

Update: April, 2020

I'm no longer supporting MQTT directly, but am now developing routines around WLED.

Introduction

I'm now converting some of my FastLED demos over to use MQTT messaging in order to have various parameters controlled by an Android phone running an MQTT broker and client.

MQTT Basic Examples

If you're new to MQTT, have a look at my postings at:

Youtube demo:

The tutorials go through the steps on how to get MQTT up and running with an Android phone, provide information on these examples, and finally discuss how to configure device prefixes.

Also, experiment with these in the following order:

  • mqtt-LED-synchronous - This is the first mqtt demonstration that looks similar to other examples online.
  • mqtt-LED - This version supports non-blocking connectivity/re-connectivity. Wasn't easy to get this running reliably.
  • mqtt-JSON - This builds upon the previous demo by adding JSON (data exchange) support.
  • mqtt-firexy - Our first FastLED/mqtt hybrid that supports fire2012withpalette. If there's no connectivity, you still have fire.
  • mqtt-sine - Look at all the parameters you can change just for a single sine wave, including variable phase change around a variable center.

mqtt-mesh (published)

An almost straight migration of notamesh, which features a 'delay' across multiple devices. Looks like they're in sync. Am going to re-think this for mqtt-sync.

mqtt-sound (not published)

An almost straight migration of notasound. Will then re-think this for an unnamed sketch and apply much more programmable sound reaction, possibly some form of lighting ADSR.

mqtt-sync (not published)

Sending synchronization to multiple ESP's, including delays, and then batch processing display sequences. Need to do a few proof of concept sketches first.

Others TBD such as

  • OTA updates to demo parameters (not the program, but the parameters for it) using MQTT

About

ESP8266 FastLED MQTT Demos


Languages

Language:C++ 89.4%Language:C 10.6%