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 27.8k 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.
    • paphkoP Offline
      paphko @racampbellky
      last edited by

      @racampbellky I don’t think so. But you may check the website of yr.no, maybe you find a setting to use Fahrenheit in that diagram: http://www.yr.no/place/United_States/New_York/New_York/hour_by_hour.html
      If so, it should be possible.

      1 Reply Last reply Reply Quote 0
      • A Offline
        AxLed Module Developer
        last edited by

        Hi,

        i wanted to try the module today, but i dont work i get some error “del missing” or similar.
        Could it be that there is the file package.json missing on the github link, as there are some depencies in node_helper.js

        var http = require('http');
        var fs = require('fs');
        var del = require('del');
        var request = require('request'); 
        var NodeHelper = require("node_helper");
        

        Greets AxLED

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