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

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

Scheduled Pinned Locked Moved Unsolved Troubleshooting
mmm-aqi
5 Posts 3 Posters 808 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 Mar 22, 2020, 7:24 AM Mar 22, 2020, 7:21 AM

    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!

    M 1 Reply Last reply Mar 22, 2020, 3:28 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @KaranC
      last edited by Mykle1 Mar 23, 2020, 3:23 PM Mar 22, 2020, 3:28 PM

      @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 Mar 23, 2020, 4:52 AM Reply Quote 0
      • K Offline
        KaranC @Mykle1
        last edited by KaranC Mar 23, 2020, 5:01 AM Mar 23, 2020, 4:52 AM

        @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 :-/

        M 1 Reply Last reply Mar 23, 2020, 3:23 PM Reply Quote 0
        • B Offline
          blackfox
          last edited by Mar 23, 2020, 6:25 AM

          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
          • M Offline
            Mykle1 Project Sponsor Module Developer @KaranC
            last edited by Mar 23, 2020, 3:23 PM

            @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
            • 1 / 1
            1 / 1
            • First post
              1/5
              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