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

MMM-Netatmo updated

Scheduled Pinned Locked Moved Utilities
56 Posts 15 Posters 27.6k Views 16 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.
  • Z Offline
    zdenek
    last edited by zdenek Mar 29, 2020, 7:52 AM Mar 29, 2020, 7:42 AM

    @Miller can u plz help me to customize CSS? I need to “somehow” add to my CSS

    MMM-netatmo . modules bubbles horizontal . module .secondary .displayAQI .AQI .medium light
    font-size:15px;

    MMM-netattmo . modules bubbles horizontal . module .primary . displayTemp . Temperature . data_container . data_left large light bright
    font-size: 40px;

    and also overide the module css value

    .x-medium {
    
      font-size:170%;
    }
    

    to

    .x-medium {
    
      font-size:100%;
    }
    

    the task is decrease the size of font of mentioned DIVs to own defined size (the actual is too big for me)

    I’ve tried

    .x-medium {
    
      font-size:100%;
    }
    
    .MMM-netatmo .bubbles.horizontal .module .primary .displayTemp .data_container .data_left {
      font-size: 40px;
    }
    
    .MMM-netatmo .bubbles.horizontal .module .secondary .displayAQI .AQI {
      font-size: 15px;
    }
    

    thanks a lot - I’m lost :-(

    M 1 Reply Last reply Mar 30, 2020, 9:30 AM Reply Quote 0
    • F Offline
      frogywill Project Sponsor
      last edited by Mar 29, 2020, 5:29 PM

      This update looks great, thank you! What should be changed to have it display the temps in fahrenheit ?

      M 1 Reply Last reply Mar 30, 2020, 9:00 AM Reply Quote 0
      • M Offline
        Miller @frogywill
        last edited by Mar 30, 2020, 9:00 AM

        @frogywill To show Fahrenheit, change your default settings of MagicMirror units to “imperial”

        Or set units: “imperial” in MMM-Netatmo config

        1 Reply Last reply Reply Quote 0
        • M Offline
          Miller @zdenek
          last edited by Mar 30, 2020, 9:30 AM

          @zdenek
          The AQI font class is inherited from the default .small class of MM.

          To override this, add the following to the CSS

          .MMM-netatmo .displayAQI .small {
            font-size: 10px;
            line-height: 15px;
          }
          

          To override all the .small classes in MMM-Netatmo

          .MMM-netatmo .small {
            font-size: 10px;
            line-height: 15px;
          }
          

          The same goes for the Temperature, this Uses the default .large font class
          to override add:

          .MMM-netatmo .large {
            font-size: 40px;
          }
          

          The .x-medium is only applied to .secondary.displayWindAngle.WindAgle
          The other icons is the normal .medium which comes from MM

          So you can override

          .x-medium {
          
            font-size:100%;
          }
          

          and

          .MMM-netatmo .medium {
            font-size: 70%;
          }
          
          Z 1 Reply Last reply Apr 3, 2020, 5:43 AM Reply Quote 0
          • Z Offline
            zdenek @Miller
            last edited by Apr 3, 2020, 5:43 AM

            @Miller that’s perfect, thanks

            1 Reply Last reply Reply Quote 0
            • T Offline
              Tribun
              last edited by Apr 5, 2020, 9:30 AM

              Hi Miller,
              First of all, I want to tell you that you have built a great module. It looks awesome.
              However, I have a problem with the display of the air quality.
              What do I have to enter if I want to take this place?
              e.g .:
              https://aqicn.org/city/austria/laschoberstrasse--ostlich-kreisverkehr-ruster-strasse/

              I only see “wait”.

              1 Reply Last reply Reply Quote 0
              • M Offline
                Miller
                last edited by Apr 6, 2020, 3:35 PM

                I cannot take credit for building the module, I only redesigned it a bit.

                As for the Air Quality, took me some figuring out as well.

                However, as a location, put the string in behind city, so in your case it would be:

                location: "austria/laschoberstrasse--ostlich-kreisverkehr-ruster-strasse",
                
                T 1 Reply Last reply Apr 6, 2020, 6:10 PM Reply Quote 0
                • T Offline
                  Tribun @Miller
                  last edited by Apr 6, 2020, 6:10 PM

                  @Miller thanks for your help and the great design. ;)

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    Fozi Project Sponsor
                    last edited by Oct 4, 2020, 10:42 AM

                    Just came across this post and tried out your fork immediatelly …and it is fantastic. It’s just the way I always wanted! Thanks a lot!

                    HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      joffe
                      last edited by Feb 6, 2021, 6:31 PM

                      Hello

                      Is it possible to remove Air Quality completely?

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 3 / 6
                      • First post
                        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