Skip to content
  • Live
  • Blog
  • Shop
  • Contact
  • About
  • Twitter
  • Instagram
  • YouTube
  • Twitch
  • GitHub
CheerLights

CheerLights

We are all connected.

  • Learn
  • Build
  • Connect
  • Toggle search form

CheerLights now supports MQTT!

Posted on June 26, 2019June 26, 2019 By Hans Scharler 2 Comments on CheerLights now supports MQTT!

Over the past few weeks, Andy Stanford-Clark and I, have been setting up a new server dedicated to supporting MQTT access for CheerLights. I am happy to announce that the MQTT server is live at mqtt.cheerlights.com:1883 and available for devices and apps to connect to. The main subscription topic is “cheerlights”. If you want to get the HTML RGB code for each color, subscribe to “cheerlightsRGB”.

Why MQTT?

MQTT allows for real-time subscription to the CheerLights feed. When someone changes the color, the color gets published immediately over the “cheerlights” topic. MQTT also allows for your devices to stay connected versus polling the API for changes.

I choose to use Eclipse Mosquitto™, an open source MQTT broker, as the basis of the MQTT server.

Fun Fact

Andy Stanford-Clark and Arlen Nipper invented the MQTT standard in 1999! They had to create a new protocol for connecting oil pipelines over unreliable networks.

Share this:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • More
  • Pinterest
  • LinkedIn
  • Email
  • Print

Related

News Tags:mqtt

Post navigation

Previous Post: CheerLights ESP8266 Wi-Fi and NeoPixel Strip Example
Next Post: R2D2 CheerLights Lamp Streaming on Twitch

Related Posts

CheerLights on a $5 Lumin+ Light from Five Below Using Bluetooth Projects
Light Up Your Sports Posters With CheerLights Projects
Smart Star – Arduino, Node.js, and MQTT Uncategorized

Comments (2) on “CheerLights now supports MQTT!”

  1. Pingback: Week 496 - Everybody's got LED | DoES Liverpool
  2. Pingback: Cheerlights for Home Assistant – Bits n Pieces

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Keep Multiple CheerLights in Sync with MQTT
  • CheerClock: A CheerLights Clock Powered by the Pimoroni Galactic Unicorn and Raspberry Pi Pico W
  • YouTube Live with Kevin McAleer: Making a CheerLights-connected Christmas Tree Bauble
  • CheerLights + Raspberry Pi Pico W + MicroPython
  • Learn Redis Streams with the CheerLights IoT Project

Copyright © 2023 CheerLights.

Powered by PressBook Grid Blogs theme

 

Loading Comments...