smart home circle
Smart Home Circle
Published on

How To Control LED Matrix With Home Assistant Like A Pro | Send Text Messages

How To Control LED Matrix With Home Assistant Like A Pro | Send Text Messages
2 min read
Authors

Table of Contents

Components

  1. 8x32 LED Matrix with individual programmable LEDs of type WS2812B.
    You can buy using the links below.

  2. D1 Mini board

STL Model File For 3D printer

The link to the STL file for the 3D printing model is here.

Circuit Diagram

circuit diagram

Installing WLED on D1 mini

  1. Head over to https://install.wled.me and connect the D1 mini to the compute2.
  2. Click on “Connect” and then click on “Install WLED”.
  3. After installation, configure Wifi credentials.
  4. Once connected, add it to Home Assistant.

REST Commands For Controlling LED Matrix Text Input

Simple Text Options command

rest_command:
  wled_text:
    url: http://<IP Address of the device>/json/state
    method: POST
    payload: '{ "on": true, "bri": "{{brightness}}", "seg":{"id":0, "col":{{color}} , "fx":122, "n":"{{text}}" }}' 

Advanced Text Options Command

rest_command:
  wled_text_advanced:
    url: http://<IP Address of the device>/json/state
    method: POST
    payload: '{"on": true, "bri": {{brightness}}, "seg":{"id":0, "fx":122, "frz": {{freeze}}, "sx": {{scroll_speed}}, "col": {{color}}, "n":"{{text}}"}}'

Here are some recommended articles for you.