Read the statement by Michael Teeuw here.
MMM-weatherchart sdetweil fork
-
@sdetweil thank you for your fork of MMM-weatherchart
https://github.com/sdetweil/mmm-weatherchart
I think in the readme, the npm install was missing. I updated that on github.
The error I posted in the thread of @paphko is gone, thank you.
I added to the config:
customiseSVG: true, // change colours in hex values or "default" for no change background_colour: "#666666",That seams not to work. Is there any chance to get a semi-transparent background?
-
This is the last error I get, only if I activate MMM-weatherchart.
Any suggestions is highly appreciated:
undefined:1 GET http://192.168.2.16:8080/undefined 404 (Not Found) -
@majorc said in MMM-weatherchart sdetweil fork:
looks like something on your mirror system… don’t know why it would do that…
I don’t know anything about the module operations really…
-
@majorc said in MMM-weatherchart sdetweil fork:
customiseSVG: true, // change colours in hex values or “default” for no change
background_colour: “#666666”,those parms are not used by the module…
u will probably have to fiddle with css…
the http:// address thing looks like u set a property in config.js
these are the ones the module uses
country: 'Germany', area: 'North_Rhine-Westphalia', city: 'Duisburg', updateInterval: 60 * 60 * 1000, // every hour hideBorder: true, negativeImage: true, retryDelay: 2500, domain: "www.yr.no", path: "/place/", mmDirectory: "/home/pi/MagicMirror/", // not sure whether it is possible to ask MM for this path? hoursToShow: -1I’m guessing domain is the one u changed
-
@sdetweil thank you.
I cleaned up my configuration. Only MMM-weatherchart is in.{ module: 'mmm-weatherchart', position: 'bottom_right', // this can be any of the regions config: { country: 'Germany', // as determined above area: 'Berlin', // as determined above city: 'Berlin', // as determined above updateInterval: 60 * 60 * 1000, // update every hour hideBorder: true, // whether or not a border with city name should be shown negativeImage: true, // whether or not the default white image should be inverted retryDelay: 2500, domain: "www.yr.no", path: "/place/", mmDirectory: "/home/pi/MagicMirror/", // not sure whether it is possible to ask MM for this path? hoursToShow: 24 } },the error message is:
undefined:1 GET http://192.168.2.16:8080/undefined 404 (Not Found)I don’t know how I can provide better information to solve this?!?
-
I would like to open this topic again.
The error:
undefined:1 GET http://192.168.2.16:8080/undefined 404 (Not Found)is still present. Any advise is highly appreciated.
-
@majorc where do u see that error? npm start or developers window?
-
-
I see the error in the developers window in google chrome if I connect remotely to the pi.
/home/pi/MagicMirror is correct for my setup.
-
@majorc the code tries to build the url from these settings
var mapLocal = this.config.path + this.config.country + "/" + this.config.area + "/" + this.config.city + "/meteogram.png";the defaults are
country: 'Germany', area: 'North_Rhine-Westphalia', city: 'Duisburg', path: "/place/",no spaces allowed in any
-
that is my config:
{ module: 'mmm-weatherchart', position: 'bottom_right', // this can be any of the regions config: { country: 'Germany', // as determined above area: 'Berlin', // as determined above city: 'Berlin', // as determined above updateInterval: 60 * 60 * 1000, // update every hour hideBorder: true, // whether or not a border with city name should be shown negativeImage: false, // whether or not the default white image should be inverted retryDelay: 2500, domain: "www.yr.no", path: "/place/", mmDirectory: "/home/pi/MagicMirror/", // not sure whether it is possible to ask MM for this path? hoursToShow: 36 } },Ich wechsle mal kurz ins Deutsche. Das interessante ist, dass mir die Grafik auch angezeigt wird. Also gefühlt läuft der Code ohne Fehler. Mich wundert nur die Fehlermeldung, die in Chrome, wenn ich mich remote auf den Pi/MM einwähle, kommt. Als ob er noch irgend was versucht abzurufen, was nicht gefunden werden kann.
-
@majorc das Interessante ist die Adresse
192.168.2.16 MUSS in Ihrem lokalen Netzwerk sein und ist vielleicht die Adresse des PI. Der Code versucht, Dinge auf der ned_helper-Seite zwischenzuspeichern, und ich weiß nicht, wie diese Informationen verwendet werden. -
@sdetweil you are right. 192.168.2.16 is the IP adress of my PI.
-
@majorc I’ll try to look at the code . busy this week, gone next
-
@sdetweil No problem. In principle, it works, too.
-
Hi @sdetweil
on the MM the widget says, that the forecast is being replaced by a new one. I think the url need to be changed.
Can you have a look on that?
https://developer.yr.no/doc/guides/deprecating-old-widgets/Thanks
Christian
-
@majorc sorry, I don’t know anything about the module workings. I just tried to help out with the install problem
I think this module has been abandoned by it’s author.
-
@sdetweil I see. Well, I opened an issue on GitHub, maybe something happend.
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