• 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 55.0k 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.
  • L Offline
    Lordy @chassain 0
    last edited by Dec 11, 2019, 4:02 PM

    @chassain-0

    Here is a Link:

    http://aqicn.org/data-platform/token/#/

    1 Reply Last reply Reply Quote 0
    • C Offline
      chassain 0
      last edited by Dec 12, 2019, 7:01 PM

      :) thanks

      1 Reply Last reply Reply Quote 0
      • E Offline
        engelhertz
        last edited by Dec 16, 2019, 2:33 PM

        Is it possible to use “here” for a city, but to display a custom name ?

        1 Reply Last reply Reply Quote 0
        • L Offline
          Lordy
          last edited by Dec 16, 2019, 3:12 PM

          @engelhertz said in MMM-AQI:

          Is it possible to use “here” for a city, but to display a custom name

          No, only cities specified on the website.
          Here’s an example “http://aqicn.org/city/germany/hamburg/flughafen/” from Hamburg.

          1 Reply Last reply Reply Quote 0
          • E Offline
            engelhertz
            last edited by Dec 16, 2019, 5:51 PM

            yeah, i get that. I want to change only the display name, because its too long and looks ugly like that.1_1576518649289_zoom.JPG 0_1576518649288_whole.JPG

            M 1 Reply Last reply Dec 17, 2019, 2:50 AM Reply Quote 0
            • L Offline
              Lordy
              last edited by Lordy Dec 16, 2019, 9:36 PM Dec 16, 2019, 9:35 PM

              You send me your Config for this Modul. I’ll watch it tomorrow. OKAY?
              Good Night

              1 Reply Last reply Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @engelhertz
                last edited by Dec 17, 2019, 2:50 AM

                @engelhertz said in MMM-AQI:

                I want to change only the display name, because its too long and looks ugly like that.

                Like this?

                0_1576550834250_22.png

                In your custom.css file you would need to add these:

                .MMM-AQI .city {
                  visibility: hidden;
                }
                
                .MMM-AQI .city:after {
                  content: "engelhertz ";
                  visibility: visible;
                  /* display: block; */
                  /* position: absolute; */
                }
                
                .MMM-AQI header {
                  max-width: 100px;
                  float: right;
                  /* border-bottom: none; */
                }
                

                Adjust these to your liking. :-)

                Create a working config
                How to add modules

                E 1 Reply Last reply Dec 17, 2019, 12:53 PM Reply Quote 1
                • E Offline
                  engelhertz @Mykle1
                  last edited by Dec 17, 2019, 12:53 PM

                  @Mykle1 thats exactly what i needed, thx :)

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    Lordy
                    last edited by Dec 23, 2019, 8:38 AM

                    What is the correct command “City with addition” in config?
                    I would like to take the example “http://aqicn.org/city/germany/**berlin/wedding-amrumer-str**./de/” .
                    My Config:

                    {
                    module: ‘MMM-AQI’,
                    disabled: true,
                    position: ‘top_right’,
                    header: ‘Luftverschmutzung in Berlin’,
                    config: {
                    token: “xxx”,
                    city: “berlin”,
                    iaqi: true,
                    updateInterval: 30 * 60 * 1000, // Every half hour.
                    initialLoadDelay: 0,
                    animationSpeed: 1000,
                    debug: false
                    }
                    },

                    I think you will help me please.:thumbs_up_light_skin_tone:

                    M 1 Reply Last reply Dec 23, 2019, 10:15 PM Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @Lordy
                      last edited by Dec 23, 2019, 10:15 PM

                      @Lordy

                      I’m not quite sure what you are asking. :-(

                      Create a working config
                      How to add modules

                      L 1 Reply Last reply Dec 24, 2019, 11:27 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 4 / 7
                      4 / 7
                      • First post
                        33/61
                        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