Node Red: A widget based dashboard working with Homey trough MQTT

Hi Arnold, there is also another option for this static screens.
I have 2 tablets here, 1 ipad and 1 samsung android.
They have different screen layouts (4:3 / 16:10)

If you put this code in a header node the screen width is limited to 1000px. But can easily be changed.

[{"id":"2db7537e.418f3c","type":"ui_template","z":"9b29517d.8821a","group":"ce3d2b3e.1755e8","name":"Breedte maximaal 1000px","order":4,"width":0,"height":0,"format":"<style>\n    .masonry-container {\n        max-width: 1000px;\n    }\n</style>","storeOutMessages":true,"fwdInMessages":true,"templateScope":"global","x":750,"y":140,"wires":[[]]},{"id":"ce3d2b3e.1755e8","type":"ui_group","z":"","name":"Energie","tab":"a74c5fa4.31437","order":1,"disp":true,"width":"4","collapse":false},{"id":"a74c5fa4.31437","type":"ui_tab","z":"","name":"Overzicht","icon":"fa-home fa-lg","order":1,"disabled":false,"hidden":false,"info":"<title>Thuis</title>"}]

This works then of course also on a PC.

3 Likes