Simon's Things on Thursdays - CheerLights with MQTT and Redis Streams

preview_player
Показать описание
In this episode of Things on Thursdays, Simon shows how to control LEDs on a Raspberry Pi using the CheerLights project, MQTT and Redis Streams. The code is written in Python.

00:00 - Introduction
02:01 - Introducing CheerLights / Project Overview
04:16 - Architecture Overview
07:09 - Code Walkthrough
07:57 - Receiving MQTT Messages & Publishing to a Redis Stream in Python
14:20 - Looking at the Stream with RedisInsight
17:38 - Consuming a Redis Stream and showing the CheerLights colour in Python
21:40 - Running the Consumer... here's where the lights happen!
24:20 - Controlling CheerLights from Discord
25:18 - Controlling CheerLights from Twitter
25:55 - Wrap Up and Further Resources

Рекомендации по теме