Read the statement by Michael Teeuw here.
24h weather forecast graph
-
Hello,
I found a weahter modul, where the 24h weather forecast is shown in a graph.
https://github.com/thobach/MagicMirror2/tree/master/webUnfortunatelly the modul is not coded the “normal” way and I’m not able to get it working.
I’m a bloody rooky in prgramming.Can somebody have a look at the modul and put it please the easy usable way?
That would be awsome
Thanks a lot
This is how it looks like:
-
I just started working on this, creating some functions to render graphs.
-
I’m the creator of above shown graphs. Those are not based on Michael’s v2, but my own v2 of the magic mirror, which is also controlled by gestures.
If there are any specific questions, I’m happy to help out.
-
@yawns said in 24h weather forecast graph:
I just started working on this, creating some functions to render graphs.
Yawns, great to hear! Any updates with graphs render for the Magic Mirror ?
What Im dreaming about is a universal graph render function which will take values from a text file, like, last 100 rows and will draw a graph. Or it can be a rss feed. -
@feedparakeet For such a basic functionality we should not reinvent the wheel. There are a lot of javascript graphing libraries available which are far more sophisticated than anything we will be able to code for the mm in a reasonable manner. They usually render the result in a canvas which can simply be added to the mirror e.g. http://www.chartjs.org/
-
@Patex
You are more than right and I tried to use chartjs and chartist, but I failed implementing them. If I recall correctly it was because the chart libraries require the id of a specific div to render in, but the call to this div fails because it was not yet created.
I’m so short on time currently, but I have one week of vacation during carnival (end of February), hopefully I can pick up with my open tasks. -
@RedNax: the weathericon in this screenshot would be very nice in the mmm-wunderground module :-)
can you build this?
-
@ostfilinchen said in 24h weather forecast graph:
@RedNax: the weathericon in this screenshot would be very nice in the mmm-wunderground module :-)
can you build this?
These are png files, partially transparent, located here: https://github.com/thobach/MagicMirror2/tree/master/web/img/VCloudsWeatherIcons
-
-
@RedNax: I’ve create a pull request on github.