MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

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

    Utilities
    1
    2
    121
    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.
    • H
      hsalthe last edited by

      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?

      H 1 Reply Last reply Reply Quote 0
      • H
        hsalthe @hsalthe last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy