Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aligator/ledcontrol
Controling a RGB LED matrix by using MQTT. Runs on an esp 8266 and may be other arduinos.
https://github.com/aligator/ledcontrol
Last synced: 7 days ago
JSON representation
Controling a RGB LED matrix by using MQTT. Runs on an esp 8266 and may be other arduinos.
- Host: GitHub
- URL: https://github.com/aligator/ledcontrol
- Owner: aligator
- Created: 2019-11-13T23:18:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-13T18:42:32.000Z (9 months ago)
- Last Synced: 2024-05-21T05:01:07.926Z (6 months ago)
- Language: C++
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# LED Control
This is a firmware to control a led matrix using an esp8266 over MQTT with auto discovery for HomeAssistant.
The base topic and all other connection confiurations can be configured in the `Config.h`.
Just copy over the `Config.example.h`.The available topics are:
`/set/brightness` `0` - `255`
`/set/fps` `-1` - `500` (`-1` means no restriction -> as fast as the main loop runs)
`/set/switch` `ON` / `OFF`
`/set/text/text` any string
`/set/text/scroll` `ON` / `OFF` If the text should scroll. The text is just cut off, if it is too long.
`/set/blink` `ON` / `OFF` If the blink mode is enabledThe color can be changed using these topics:
`/add/color`
Add a color to the current color array
`/set/color`
Set and replace the current colors with a specific color (array)The colors can have the following formats:
* Numeric `0 - 16777215` (int representation of 0x000000 - 0xFFFFFF)
* JSON array: `[255, 255, 255]`
* HomeAssistant default format: `rrr,ggg,bbb` e.g. `0,100,255`The `/set/color` also supports json arrays:
* Numeric `[0, 5555454, 16777215]`
* JSON array: `[[255, 255, 255], [255, 255, 255]]`
* HomeAssistant default format: `["rrr,ggg,bbb", "rrr,ggg,bbb"]` e.g. `["0,100,255", "255,0,0"]`