MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    weatherforcast shows 1 day only

    Troubleshooting
    2
    5
    168
    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.
    • N
      natrlhy last edited by

      I’ve just started using MM and a few Modules. I noticed that the weatherforcast module always only shows 1 days worth so I tried adding a config line to show more and now it only shows 2 (default should be 7). Am I doing something wrong?

                              module: "weatherforecast",
                              position: "top_left",
                              header: "Weather Forecast",
                              config: {
                                      location: "Dublin",
                                      locationID: "5344157", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                                      appid: "myappid",
                                      maxNumberOfDays: "10",
                                      fade: "false"
      

      Thanks!

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @natrlhy last edited by sdetweil

        @natrlhy see the sticky topic at the top of the troubleshooting section for temp fixes to weather and calendar

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • N
          natrlhy last edited by

          Thanks. I did that but no change. I used the install script:

          pi@teslamate:~ $ cd MagicMirror/
          pi@teslamate:~/MagicMirror $ rm package-lock.json
          pi@teslamate:~/MagicMirror $ git fetch origin develop:develop
          remote: Enumerating objects: 15947, done.
          remote: Counting objects: 100% (15947/15947), done.
          remote: Compressing objects: 100% (6015/6015), done.
          remote: Total 15715 (delta 9644), reused 15375 (delta 9316), pack-reused 0
          Receiving objects: 100% (15715/15715), 14.91 MiB | 5.28 MiB/s, done.
          Resolving deltas: 100% (9644/9644), completed with 166 local objects.
          From https://github.com/MichMich/MagicMirror
           * [new branch]      develop    -> develop
           * [new tag]         V2.2.1     -> V2.2.1
           * [new tag]         v.2.1.3    -> v.2.1.3
           * [new tag]         v2.0.0     -> v2.0.0
           * [new tag]         v2.0.1     -> v2.0.1
           * [new tag]         v2.0.2     -> v2.0.2
           * [new tag]         v2.0.3     -> v2.0.3
           * [new tag]         v2.0.4     -> v2.0.4
           * [new tag]         v2.0.5     -> v2.0.5
           * [new tag]         v2.1.0     -> v2.1.0
           * [new tag]         v2.1.1     -> v2.1.1
           * [new tag]         v2.1.2     -> v2.1.2
           * [new tag]         v2.10.0    -> v2.10.0
           * [new tag]         v2.10.1    -> v2.10.1
           * [new tag]         v2.11.0    -> v2.11.0
           * [new tag]         v2.2.0     -> v2.2.0
           * [new tag]         v2.2.2     -> v2.2.2
           * [new tag]         v2.3.0     -> v2.3.0
           * [new tag]         v2.3.1     -> v2.3.1
           * [new tag]         v2.4.0     -> v2.4.0
           * [new tag]         v2.4.1     -> v2.4.1
           * [new tag]         v2.5.0     -> v2.5.0
           * [new tag]         v2.6.0     -> v2.6.0
           * [new tag]         v2.7.0     -> v2.7.0
           * [new tag]         v2.7.1     -> v2.7.1
           * [new tag]         v2.8.0     -> v2.8.0
           * [new tag]         v2.9.0     -> v2.9.0
          pi@teslamate:~/MagicMirror $ git checkout develop
          M       installers/mm.sh
          Switched to branch 'develop'
          pi@teslamate:~/MagicMirror $ mmrestart
          Use --update-env to update environment variables
          [PM2] Applying action restartProcessId on app [MagicMirror](ids: 0)
          [PM2] [MagicMirror](0) ✓
          ┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
          │ id  │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
          ├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
          │ 0   │ MagicMirror    │ default     │ 2.13.0… │ fork    │ 20712    │ 0s     │ 19   │ online    │ 0%       │ 2.4mb    │ pi       │ disabled │
          
          S 1 Reply Last reply Reply Quote 0
          • S
            sdetweil @natrlhy last edited by

            @natrlhy hmmm…

            Sam

            Create a working config
            How to add modules

            N 1 Reply Last reply Reply Quote 0
            • N
              natrlhy @sdetweil last edited by

              @sdetweil anything else I should try? I ended up using raspberry.sh install method.

              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