• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Gauges for temperature sensors | Home Assistant integration

Scheduled Pinned Locked Moved Unsolved Requests
2 Posts 2 Posters 1.6k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    smowk
    last edited by Oct 21, 2018, 1:18 PM

    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

    S 1 Reply Last reply Oct 21, 2018, 1:25 PM Reply Quote 0
    • S Away
      sdetweil @smowk
      last edited by sdetweil Oct 21, 2018, 6:39 PM Oct 21, 2018, 1:25 PM

      @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.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        2/2
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy