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.

    Nothing would come up on the display, the module won't run :/

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    mmm-aqi
    5 Posts 3 Posters 1.2k Views 3 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.
    • K Offline
      KaranC
      last edited by KaranC

      Re: MMM-AQI
      I find this as a qonderful module but it just wont work for me, no matter what i try :/
      Here’s what I added in my config file:

      {
      			module: 'MMM-AQI',
      			position: 'bottom_left',
      			header: 'Air Quality Index (AQI)',
      			config: {
      				token: "4xxxxxxxxxxxxxxxxxxxxxxxxxx",
      				city: "here",
      				iaqi: true,
      				updateInterval: 30 * 60 * 1000, // Every half hour.
      				initialLoadDelay: 0,
      				animationSpeed: 1000,
      				debug: false
      			}
      		},
      

      I even tried putting the name of my city, the id of my city but nothing would even show up on my mirror 😪
      Please help me!

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @KaranC
        last edited by Mykle1

        @KaranC

        So, I recently helped another user to get this up and running. What I do remember is that the module is very particular about the city name. I think there is a url in the readme that help you attain the correct city name. This is the config entry that ultimately worked for that user

        {
                  disabled: true,
        			module: 'MMM-AQI',
        			position: 'top right',
        			header: 'Air Quality Index (AQI)',
        			config: {
        				token: "your token goes here",
        				city: "Friedrichshain-Frankfurter Allee, Berlin, Germany",
        				iaqi: true,
        				updateInterval: 30 * 60 * 1000, // Every half hour.
        				initialLoadDelay: 0,
        				animationSpeed: 1000,
        				debug: false
        			}
        		},
        

        Create a working config
        How to add modules

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          KaranC @Mykle1
          last edited by KaranC

          @Mykle1
          I tried using the same lines you suggested in my config file but now with those module lines, it is asking me to create a config.js file as the current one could not be read.
          I cross checked everything like the brackets, but i guess the " disabled: t, " is coming quite far out on the left (outside the bracket line) and is causing the problem. I did try pushing it inside the bracket but the same problem persists.
          I just copied and pasted what you suggested…just added my token and tried running it with various inputs for the city to see if anything works but i got the same response everytime :-/

          Mykle1M 1 Reply Last reply Reply Quote 0
          • B Offline
            blackfox
            last edited by

            Hi @KaranC, what worked for me is typing the city in the following format

            city: "country/state/city",
            
            1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @KaranC
              last edited by

              @KaranC said in Nothing would come up on the display, the module won't run :/:

              " disabled: t, "

              My bad. So sorry. I create a var in my config file var t = true; to simplify things for myself.

              You would have to use disabled: true,

              Again, I apologize. That is completely my fault. I’ll fix the original post

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • 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