ottopaulsen / MMM-MQTT

MQTT Client module for MagicMirror2
MIT License
57 stars 29 forks source link

Flexible layout #71

Open Bolukan opened 8 months ago

Bolukan commented 8 months ago

After you added getWrapperBigMode, I understood how I could add other parsers.

I upgraded your module by adding a parser that displays the status of sensors (LWT or active) and actuators (ON/OFF) through small colored rectangles. These rectangles can be arranged to fit 7 to 10 per side of the screen (they just wrap). The color attribute only contains a class, that is a personal choice to seperate layout to the css.

If more people are interested and Otto agrees, I will tidy up and do a PR.

image

ottopaulsen commented 8 months ago

A PR would be nice. Please try to include the following: