MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

Gauges for temperature sensors | Home Assistant integration



  • I’ve been looking for a long time for a module that will take data from various sensors and display it in a gauge, or something similar. I’m mostly thinking about temperatures gathered from different sources by Home Assistant (for example: RPI CPU Temp, PC CPU & GPU Temp, Rooms Temp etc.); I know there is a Home Assistant sensors module, but I was looking for something with a more . . . stylized design.

    I believe that a simple, minimalistic gauge element (that maybe would be able to change color when a certain threshold is reached, eg. CPU over 80 C) would look great on a smart mirror for something like this, but unfortunately, I have no programming background and I can’t make it myself…

    I found lots of CSS based gauge-like elements (like those: https://codepen.io/naikus/pen/BzkoLL , personally a fan of ‘…three’ and ‘.four’) but I have no idea what to do with them and how to integrate them in a MM module…

    Hopefully, someone more knowledgeable than me will find this concept as attractive as I do and potentially make it a reality, or at least give me any kind of hint to what I’m supposed to do to make a module based on something like this

    Have a great day everyone



  • @smowk first thing to do is draw it out on paper, what u want it to look like, and a table of what colors should be used when.

    Once u have that design,

    Then, build a simple web page that displays a sample of your data how u designed it. Using whatever styles u want. Styles allow u to change everything about the display, without changing the content itself

    Mm is a single web page.