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-SmokedMirror

    Scheduled Pinned Locked Moved Health
    9 Posts 3 Posters 8.4k 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.
    • S Offline
      Santanachia
      last edited by Santanachia

      Description:

      MMM-SmokedMirror allows you to monitor air pollution in Polish cities.
      It’s only for Poland because of specific data source - there’s no api, only html table from GIOŚ

      I saw AirQuality by CFenner but it uses aqicn which don’t have current data for Poland.

      Screenshot:

      Download:

      [card:Santanachia/MMM-SmokedMirror]

      1 Reply Last reply Reply Quote 3
      • S Offline
        Santanachia
        last edited by

        it’s my first module, so i’m open for suggestions

        yawnsY S 2 Replies Last reply Reply Quote 0
        • yawnsY Offline
          yawns Moderator @Santanachia
          last edited by

          @Santanachia
          Could you add a screenshot to your first post? That would be great :)

          1 Reply Last reply Reply Quote 1
          • S Offline
            Sajk @Santanachia
            last edited by

            @Santanachia
            Hi,
            Thank you for this module. I’ve been using it for a while now. I have two questions and one suggestion.

            Let’s start with questions first - is it possible to have two invocations of the module from the config.js file? One for one location and second for second? I tried it but in both cases I receive data for the first station. Do you have any idea why?

            The second question is how to change the size of the font saying e.g. “PM10 Dobra” - in my opinion it is too large.

            And the suggestion is the following - you have this option in the config syntax to show the value. For me the value is more informative than the text description, so I would like to hide the text description, but as fas as I know, it is not possible, is it? So the suggestion is to make another option in the config file to hide the text description and use only values.

            Anyway, great work! Thank you once again.
            Cheers!
            Michal

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              Santanachia @Sajk
              last edited by

              @Sajk said in MMM-SmokedMirror:

              is it possible to have two invocations of the module from the config.js file? One for one location and second for second?

              I didn’t try to use it in such way. I’ll try to add this functionality.

              how to change the size of the font saying e.g. “PM10 Dobra”

              It’s not possible yet.

              the suggestion is to make another option in the config file to hide the text description and use only values.

              I’ll add this functionality.

              @Sajk, thank you for your feedback. I’ll try to add those changes ASAP ;)

              yawnsY 1 Reply Last reply Reply Quote 0
              • yawnsY Offline
                yawns Moderator @Santanachia
                last edited by

                @Santanachia said in MMM-SmokedMirror:

                is it possible to have two invocations of the module from the config.js file? One for one location and second for second?

                I didn’t try to use it in such way. I’ll try to add this functionality.

                Try to look around in this forum. Problem is your node_helper and the way notifications are sent from module to node_helper. There needs to be a unique identifier added.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Santanachia
                  last edited by

                  @Sajk font sizes and description hiding are ready

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    Sajk @Santanachia
                    last edited by

                    @Santanachia Cool! I will check it out. Thanks!

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Santanachia
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • 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