ledMatrix/text
: A UTF-8 coded text, max. 4096 bytes long.ledMatrix/intensity
: 0 = lowest, 15 = highest. Default: 1.ledMatrix/delay
: 1 = fastest, 1000 = slowest scrolling. Default: 25- 0 = no scrolling; < 0: negative value sets page cycle time in ms. Default: 5000 ms
ledMatrix/blink
: 0 = no blinking; 1 = fastest, 1000 = slowest blinking. Default: 0ledMatrix/enable
: 0 = display off, 1 = display on. Default: 1
Default values are configurable in local_config.h
. You can also use retained messages, preferably with individual topics (see below).
Extension: text channels, <cno>
= 0
..9
ledMatrix/text/<cno>
— text for a specific channel (.../text/0
= same as.../text
)ledMatrix/channel
— set channels to be displayed<cno1>[,<cno2>...]
— list of channels<cno1>
— only one channel- "" (empty) — only channel 0
Same as global topics, but ledMatrix/<aabbcc>/...
instead of ledMatrix/...
( == serial number in 3 hex bytes).
TBD: priority of individual topics over global topics ?
ledMatrix/<aabbcc>/status
:startup
— sent on system start (after first MQTT connect)version x.y.z
— sent on system start (after first MQTT connect)reconnect
— sent on MQTT reconnectrepeat
— sent at end of a sequence (TBD: for each channel or total sequence?)offline
— sent as will when the MQTT connection disconnects unexpectedly
Connect your display's X pin to your controller's Y pin:
Data IN
toMOSI
CLK
toSCK
CS
to any digial port exceptMISO
orSS
(e.g.D4
)
See https://github.com/bartoszbielawski/LEDMatrixDriver#pin-selection for more information
- Copy
local_config.dist.h
tolocal_config.h
and fill in WLAN credentials. - Check the
LEDMATRIX_
* constants according to your hardware setup. - You might also want to change the default values.
- Use
ledMatrix/all
instead ofledMatrix
as a prefix for global topics soledMatrix/all/#
matches all global topics
- WS2812 LED (one or more?) for quick signalling
- acoustic output via piezo element for signalling
- some push buttons for remote feedback or for local display control (cycle next, acknowledge, etc.)