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

Scheduled Pinned Locked Moved Health
61 Posts 14 Posters 53.6k Views 15 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @Smotx
    last edited by Apr 16, 2019, 1:08 AM

    @Smotx said in MMM-AQI:

    Thx, very good, but why the ‘header’ is not visible ?

    Post your config entry for this module in a code block

    Create a working config
    How to add modules

    S 1 Reply Last reply Apr 16, 2019, 6:52 PM Reply Quote 0
    • S Offline
      Smotx @Mykle1
      last edited by Apr 16, 2019, 6:52 PM

      @Mykle1

      ```
      
      {
      			module: 'MMM-AQI',
      			position: 'top_left',
      			header: 'Polution',
      			config: {
      				token: "99860xxxxxxx",
      				city: "@8xxx",
      				iaqi: false,
      				updateInterval: 30 * 60 * 1000, // Every half hour.
      				initialLoadDelay: 0,
      				animationSpeed: 1000,
      				debug: false
      			}
      		},
      
      M 1 Reply Last reply Apr 17, 2019, 12:45 AM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @Smotx
        last edited by Mykle1 Apr 17, 2019, 12:46 AM Apr 17, 2019, 12:45 AM

        @Smotx

        Hmm, odd. Your config looks good. Header SHOULD be showing. I just installed and ran it and my header appears as expected. Not sure why yours isn’t. My config:

        {
                module: 'MMM-AQI',
                position: 'top center',
                header: 'This header is working',
                config: {
                  token: "exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx3",
                  city: "here",
                  iaqi: true,
                  updateInterval: 30 * 60 * 1000, // Every half hour.
                  initialLoadDelay: 0,
                  animationSpeed: 1000,
                  debug: false
                }
              },
        

        0_1555461896239_Screenshot from 2019-04-16 20-44-43.png

        Try using my config with your apiToken as a test.

        Create a working config
        How to add modules

        S 1 Reply Last reply Apr 18, 2019, 6:08 PM Reply Quote 0
        • S Offline
          Smotx @Mykle1
          last edited by Apr 18, 2019, 6:08 PM

          @Mykle1

          The same, it’s stange, on others module, header are ok on screen…

          M 1 Reply Last reply Apr 19, 2019, 2:06 AM Reply Quote 0
          • S Offline
            sdetweil
            last edited by Apr 18, 2019, 6:10 PM

            did something else push the header off the screen…

            can u try with just the AQI module

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @Smotx
              last edited by Apr 19, 2019, 2:06 AM

              @Smotx

              Have you made any changes to the MMM-AQI.css file or additions to your custom.css file referencing the module?

              Create a working config
              How to add modules

              S 1 Reply Last reply Apr 19, 2019, 6:36 PM Reply Quote 0
              • S Offline
                Smotx @Mykle1
                last edited by Apr 19, 2019, 6:36 PM

                @Mykle1

                nothing in MMM-AQI.CSS

                and on custom.css

                .aqi.good {
                	color: #009966;
                	font-size: 35px;
                }
                .aqi.moderate {
                	color: #ffde33;
                	font-size: 35px;
                }
                .aqi.unhealthy-sensitive {
                	color: #ff9933;
                	font-size: 35px;
                }
                .aqi.unhealthy {
                	color: #cc0033;
                	font-size: 35px;
                }
                .aqi.very-unhealthy {
                	color: #660099;
                	font-size: 35px;
                }
                .aqi.hazardous {
                	color: #7e0023;
                	font-size: 35px;
                }
                

                But without, it’s the same.

                M 1 Reply Last reply Apr 20, 2019, 12:17 AM Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @Smotx
                  last edited by Apr 20, 2019, 12:17 AM

                  @Smotx

                  And have you done as @sdetweil has suggested in his last post?

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    Smotx
                    last edited by Apr 29, 2019, 5:26 PM

                    Good, after Update header’s OK on screen, thx

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      Lordy
                      last edited by Nov 9, 2019, 1:31 PM

                      Hello,

                      I need your help, because I can not find the “token” for Berlin?

                      C 1 Reply Last reply Nov 9, 2019, 2:26 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 3 / 7
                      • 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