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 58.2k 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.
    • E Offline
      E3V3A
      last edited by

      Yes, looks very nice. I love the minimalist presentation.
      Was browsing over China… OMG! The sensors were overloaded showing 999 and far above 200 otehrwise. crazy!

      "Everything I do (here) is for free – altruism is the way!"
      MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

      1 Reply Last reply Reply Quote 0
      • F Offline
        Fonfon
        last edited by Fonfon

        Hi great module !

        But i have another city !!! when i write my city name i have another result “barrie in ontario” ???
        where to find city ID ?
        thanks

        1 Reply Last reply Reply Quote 0
        • R Offline
          ryck Module Developer
          last edited by

          To find the city id you can search for it using the API itself: http://aqicn.org/json-api/doc/#api-Search-SearchByName
          The API is quite picky with the names, so in my experience is always better to use the id or just the keyword here

          E 1 Reply Last reply Reply Quote 0
          • E Offline
            E3V3A @ryck
            last edited by

            @ryck AFAICT you can’t even search without an API key.

            "Everything I do (here) is for free – altruism is the way!"
            MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              ryck Module Developer @E3V3A
              last edited by

              @E3V3A Yep, but you can use the same token you are using for the module, ie:

              https://api.waqi.info/search/?token=TOKEN&keyword=croydon

              (you can just type that URL in your browser)

              1 Reply Last reply Reply Quote 0
              • F Offline
                Fonfon
                last edited by Fonfon

                Sorry but geoloc “here” is so bad !
                name of city don’t work
                and don’t understand how find @id …

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  ryck Module Developer @Fonfon
                  last edited by ryck

                  @Fonfon I added more info in the README, but is basically enter the URL above in your browser (using your token and your city, of course) an then just look for your city in the response and write down the “uid” value, that’s the id you are looking for.

                  F 1 Reply Last reply Reply Quote 1
                  • F Offline
                    Fonfon @ryck
                    last edited by

                    @ryck ahh ok i understand…Thanks a lot ;)

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      E3V3A
                      last edited by

                      Would you be willing to have/make an option to make the items horizontal instead of vertical? So to save space, since they are only numbers?

                      "Everything I do (here) is for free – altruism is the way!"
                      MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        ryck Module Developer @E3V3A
                        last edited by

                        @E3V3A Yes, that’s a good idea, I’ll try to implement it as soon as I have some spare time!

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