Using Dot Matrix display to show data from Home Assistant MQTT Stream
- Wemos D1 mini (ESP8266)
- Max7219 Dot Matrix Display
- LDR + 10 kOhm resistor
- Setup Arduino IDE to be able to program an ESP8266 (Instructions on how to do this is here: https://github.com/esp8266/Arduino).
- Install PubSubClient library
- Install NTPClientLib library
- Upload the code found here on your ESP8266
Make these following connections between Max 7219 display and Wemos D1:
- VCC -> 5V
- GND -> GND
- DIN -> D7
- CS -> D8
- CLK -> D5
Use MQTT state stream, enable the following sensors/platform
- MQTT Platform: https://home-assistant.io/components/mqtt/
- Dark Sky Platform: https://home-assistant.io/components/weather.darksky/
- Dark Sky Sensor: https://home-assistant.io/components/sensor.darksky/
- Airvisual: https://home-assistant.io/components/sensor.airvisual/