Share Data from Home Assistant on your M-1 LED Matrix¶
This tutorial expects you to already have 4 segments created!
Please follow this wiki article to setup your M-1 LED Matrix with segments. If you are using multiple panels, follow this article instead then come back!
The WLED integration for Home Assistant does not support sending data from our devices directly to the M-1 LED Matrix, however, we are still able to do so using the WLED JSON API. This is an advanced tutorial but if you follow each step closely you should be able to follow along!
1. Install "Studio Code Server" from the addon store in Home Assistant OS. Click Open Webui and navigate to your configuration.yaml file.
This file is used by Home Assistant and must be carefully edited.
Home Assistant depends on this file to function correctly. Only make the changes exactly as outlined below. Do not add extra spaces or modify anything beyond what is specified in the instructions.
2. Fill in the YAML generator below with your own entity IDs. When you are done, click Copy to Clipboard at the bottom then move to step 3.
3. Head back to the configuration.yaml file you opened in step 1 and paste your yaml generated on to a new line at the bottom of the YAML file.
4. Click on Developer Tools then Check Configuration - as long as there is a green response you are safe to continue. Scroll down and click on Restful Command. Click Actions at the top and type in "matrix" then click on the new matrix command you just made and click Perform Action.
5. Create a new Automation that uses a time pattern trigger to trigger every minute.
6. Create an Action aka "Then do" and type in matrix then click the "RESTful command: matrix_all_segments" option. Click Save and name the automation when you are done. This will make the matrix update every 1 minute!