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

    Scheduled Pinned Locked Moved Utilities
    42 Posts 16 Posters 28.4k 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.
    • A Offline
      AxLed Module Developer
      last edited by

      Hi,

      found a solution myself, there is a fork of this module: https://github.com/szech/mmm-weatherchart

      Installation:
      cd ~/MagicMirror/modules
      git clone https://github.com/szech/mmm-weatherchart.git
      cd mmm-weatherchart
      npm install

      Greets

      AxLED

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

        If you replace grayscale with hue-rotate(190deg) in the mmm-weatherchart.js. You get the colors partially back and still have whitelines.

        if (this.config.negativeImage) {
        img.style[“-webkit-filter”] = “invert(100%) hue-rotate(190deg)”;
        }

        1 Reply Last reply Reply Quote 0
        • V Offline
          Vauxdvihl
          last edited by

          @Stellanova said in MMM-WeatherChart:

          img.style[“-webkit-filter”] = “invert(100%) hue-rotate(190deg)”;

          Hi,
          is there a possibility to increase the size?
          Thanks a lot
          Regards

          1 Reply Last reply Reply Quote 0
          • brobergB Offline
            broberg Project Sponsor
            last edited by

            @Vauxdvihl

            Yes, But it will get fuzzy since the original image is only 828 × 272 pixels in size.

            increase by 25%

            .MMM-WeaterChart img{
            width: 1035px !important;
            height: 340px !important;
            }
            

            (To be clear, this go in to the custom.css file, not changing the module files)

            1 Reply Last reply Reply Quote 0
            • V Offline
              Vauxdvihl
              last edited by

              @broberg
              hmm
              seems to me not working
              Strange is also that the editor does not “hightlight” the functions

              .mmm-weatherchart img{
              width: 1035px;
              height: 340px;
              }
              

              0_1574449403301_4d768e6d-6e01-449f-b40f-a14661be7f96-grafik.png

              brobergB 1 Reply Last reply Reply Quote 0
              • brobergB Offline
                broberg Project Sponsor @Vauxdvihl
                last edited by

                @Vauxdvihl the module name is case sensitive

                So .mmm-weathermodule is not the same as .MMM-WeatherModule

                And you might have to add !important after the height and width for it to override the height specified in the module.

                1 Reply Last reply Reply Quote 0
                • V Offline
                  Vauxdvihl
                  last edited by

                  @broberg
                  Yes i know ;-)
                  Look …i though it would be the correct way

                  0_1574534798657_2a12f6fd-5946-4f6f-882d-506399174399-grafik.png

                  brobergB 1 Reply Last reply Reply Quote 0
                  • brobergB Offline
                    broberg Project Sponsor @Vauxdvihl
                    last edited by

                    @Vauxdvihl

                    It is, nevermind the above post then.

                    but do try the !important addition, it is sometimes needed when the size is defined in the document and not in the css files.

                    1 Reply Last reply Reply Quote 0
                    • prototype0815P Offline
                      prototype0815
                      last edited by

                      I need help with mmm-weatherchart:

                      https://forum.magicmirror.builders/topic/12204/black-screen-when-insert-https-github-com-paphko-mmm-weatherchart/3

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @prototype0815
                        last edited by

                        @prototype0815 I reqplied in your other topic with instructions to download my fixed repo that resolves both problems… black screen and no image shown

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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