Read the statement by Michael Teeuw here.
MMM-WeatherChart
-
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.jsvar http = require('http'); var fs = require('fs'); var del = require('del'); var request = require('request'); var NodeHelper = require("node_helper");Greets AxLED
-
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 installGreets
AxLED
-
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)”;
} -
@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 -
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)
-
@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; }
-
@Vauxdvihl the module name is case sensitive
So
.mmm-weathermoduleis not the same as.MMM-WeatherModuleAnd you might have to add !important after the height and width for it to override the height specified in the module.
-
@broberg
Yes i know ;-)
Look …i though it would be the correct way
-
It is, nevermind the above post then.
but do try the
!importantaddition, it is sometimes needed when the size is defined in the document and not in the css files. -
I need help with mmm-weatherchart:
-
@prototype0815 I reqplied in your other topic with instructions to download my fixed repo that resolves both problems… black screen and no image shown
-
Hi friends,
i have seen in the dev mode that the modules gets the png from color from
here:
www.yr.no/place/Germany/Bavaria/Pöcking/meteogram.pngCan i use it also in color in the mm?
Thanks a lot
Regards -
@Vauxdvihl have you tried setting the option
negativeImage: false, // whether or not the default white image should be inverted?
-
@lavolp3
Works fine
Thanks a lotOne more question
Using the code :> .mmm-weatherchart img{ > width: 1035px; > height: 340px; > }in my custom css it only “zoomed in” the image itself.
But the area on the screen stay the same.
I want to make this img viewable over the hole screen.
Can please somebody help me?
Thanks a lot -
@Vauxdvihl that is most probably due to the region.
If you want the image to cover the whole screen give the module the position: “fullscreen_above” or position: “fullscreen_behind”. Or position: “top_bar” to not overlap with other modules.
Just an example.
Otherwise you would need to give the region more space to show the rest of the image. -
@lavolp3
ok
this is strange for me
using also modules like “iss live” or “rain map”
I put them in the Top_center and increase the “width and height” datas.
These modules then take there place on the screen (like adjusted to these datas width and heigt)
I will play a around…lets see
thanks -
@AxLed I find your fork very useful.
Can you tell me, how to use: rgba(0,0,0,0.06); as background-color?
Thanks
-
Hi,
it looks like the MMM-WeatherChart works fine, but I get this messages:
loader.js:192 GET http://192.168.2.16:8080/modules/mmm-weatherchart/hashmap.js net::ERR_ABORTED 404 (Not Found) loader.js:186 Error on loading script: modules/mmm-weatherchart/hashmap.js web-loaders.js:87 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.Any idea how to solve this errors?
-
@majorc did u run npm install in the module folder after cloning the module?
-
@sdetweil I was not sure, so I did it again.
But the error is still the same.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login