MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

Re: [MMM-WeatherChart](/topic/506/mmm-weatherchart)



  • I’m having a problem with this module. When I install it, it works fine with the original duisburg location, but if I try to use e.g. Oslo in Norway, I get this error:

    This page contains the following errors:
    error on line 35 at column 16: Specification mandates value for attribute async
    Below is a rendering of the page up to the first error.
    Weather forecast for Stavanger (Rogaland) – Yr window.ga = window.ga || function () { (ga.q = ga.q || []).push(arguments) }; ga.l = +new Date; ga(‘set’, ‘anonymizeIp’, true); ga(‘create’, ‘UA-25535414-5’, ‘auto’); ga(‘send’, ‘pageview’);

    Same goes if I try other cities in Norway. Any clue what I can do? I think it might be that locations in Norway actually have four “levels”, not just Country, Area and City, but there is a fourth “level” in the information hierarchy for all places in Norway, given more granular information. But I don’t know if the module is set up to handle this fourth level, and what the label in config.js should be for that?



  • @hsalthe I figured this out myself. the url to fetch the meteogram needs one more argument defined for places in Norway, due to many places in Norway having four levels of location (Country, Area, City and then sub-area of that city). Can be done through editing the mmm-weatherchart.js file, let me know if you need help with it, and I’ll post a longer post here.


Log in to reply