Skip to content
  • Twitter
  • Instagram
  • YouTube
CheerLights: Making Connections Around the World with the Internet of Things

CheerLights

We are all connected.

  • Home
  • CheerLights API
  • Build
  • Projects
  • News
  • Live
  • Contact
  • About
  • 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

Smart Star – Arduino, Node.js, and MQTT Uncategorized
Dr. Lucy’s CheerLights Cast Projects
Updates to the CheerLights System: Node-RED and MQTT News

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.

  • CheerLights on a $5 Lumin+ Light from Five Below Using Bluetooth
  • CheerLights Displayed on the M5StickC PLUS ESP32-PICO IoT Development Kit
  • Growing the Community: New CheerLights Discord Bot
  • Every Hardware Store Sells Candy Canes: Make Giant CheerLights Displays With PVC Pipes and Fittings
  • Light Up Your Sports Posters With CheerLights

Copyright © 2022 CheerLights.

Powered by PressBook Grid Blogs theme

 

Loading Comments...
 

    loading Cancel
    Post was not sent - check your email addresses!
    Email check failed, please try again
    Sorry, your blog cannot share posts by email.