• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

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

Scheduled Pinned Locked Moved Utilities
2 Posts 1 Posters 370 Views 1 Watching
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 Offline
    hsalthe
    last edited by Nov 25, 2020, 9:05 PM

    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 Nov 26, 2020, 7:37 AM Reply Quote 0
    • H Offline
      hsalthe @hsalthe
      last edited by Nov 26, 2020, 7:37 AM

      @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
      1 / 1
      • First post
        2/2
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy