Archive | Uncategorized

On Sound Reactive WLED

After spending a few years writing and sharing animations with the FastLED display library for addressable LED strips, I incorporated sound reactivity to WLED. This included both volume reactive routines as well as frequency reactive routines using various Fast Fourier Transform libraries.

My YouTube account has several animations:

https://www.youtube.com/user/atuline/videos

Continue Reading →
Continue Reading

IoT MQTT Panel Pro Device Prefix

As mentioned in my ‘Getting Started’ post, I create separate ‘devices’ for my different Arduino sketches, such as mqtt-LED, mqtt-fire2012xy, mqtt-mesh, and so on. In addition, I may have more than 1 of each type of lantern displaying at the same time. To do so, I will serialize each lantern (it’s in the code) and using a combo box widget, I can then select one or ALL of each device type and publish that to the broker, which will then get picked up by the subscribing device. I’ll then use another widget to send hue, brightness to other information to the selected devices.

In order to support these multiple device types (aka sketches), I’ll add a device prefix to the topic.

For a fire2012 lantern, the published topic can look like this:

  • fire/lantern
  • fire/hue

Continue Reading →

Continue Reading