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

MMM-DarkSkyForecast - Yet ANOTHER weather module

Scheduled Pinned Locked Moved Utilities
334 Posts 67 Posters 666.1k Views 74 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.
  • M Offline
    motdog @j.e.f.f
    last edited by Mar 1, 2019, 3:34 PM

    @j-e-f-f yep. Thanks. Just lots of trial and error but it was set up how I wanted.

    1 Reply Last reply Reply Quote 0
    • C Offline
      Cr4z33 @Cr4z33
      last edited by Mar 5, 2019, 11:02 AM

      @Cr4z33 said in MMM-DarkSkyForecast - Yet ANOTHER weather module:

      @j-e-f-f I don’t know why, but when I use your module after a while MM becomes all dark although modules keep working (ie. MMM-AssistantMk2).

      There’s no specific timing for the issue to appear (it can be after 1 hour or after 15 mins, etc.).

      Modules won’t appear again until I restart MM.

      This is my current module config:

      		{
      			module: "MMM-DarkSkyForecast",
      			header: "Meteo",
      			position: "top_right",
      			classes: "default everyone",
      			disabled: false,
      			config: {
      					apikey: "***",
      					latitude: "***",
      					longitude: "***",
      					language: "it",
      					forecastHeaderText: "***",
      					label_timeFormat: "hh:mm",
      					iconset: "4c",
      					concise: false,
      					showSummary: false,
      					forecastLayout: "table"
      				}
      		}
      

      @j-e-f-f you there? :smiling_face_with_open_mouth_cold_sweat:

      J S 2 Replies Last reply Mar 5, 2019, 5:58 PM Reply Quote 0
      • J Offline
        j.e.f.f Project Sponsor Module Developer @Cr4z33
        last edited by Mar 5, 2019, 5:58 PM

        @Cr4z33 I have not seen this behaviour… the module does not do anything to hide any modules including itself… you can examine the code for yourself to see. My guess is there is some unintended consequence of my module interacting with one of the other ones your are also using… Can you try disabling the other modules one at a time to see if the behaviour goes away? If it does, whichever was the last one to be disabled is likely the other party. We can start investigating what’s going on after that.

        C 1 Reply Last reply Mar 6, 2019, 10:02 AM Reply Quote 0
        • S Away
          sdetweil @Cr4z33
          last edited by Mar 5, 2019, 6:11 PM

          @Cr4z33 said in MMM-DarkSkyForecast - Yet ANOTHER weather module:

          Modules won’t appear again until I restart MM.

          that usually means MM has crashed… many times this is memory related… we know that the default updater module also causes a similar behavior

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • C Offline
            Cr4z33 @j.e.f.f
            last edited by Mar 6, 2019, 10:02 AM

            @j-e-f-f OK, I’ve started disabling all other 3rd-party modules and enabling them one by one.

            Apart from that what shall I look to then once there’s an issue between your module and the one of someone else? :)

            @sdetweil so what do you suggest me to do? :thinking_face:
            At first I thought that using MMM-WatchDog could sort the problem, but I feel like I misunderstood? :smiling_face_with_open_mouth_cold_sweat:

            S J 2 Replies Last reply Mar 6, 2019, 12:24 PM Reply Quote 0
            • S Away
              sdetweil @Cr4z33
              last edited by Mar 6, 2019, 12:24 PM

              @Cr4z33 watchdog will just allow you to restart when it crashes… not capture why…

              I still don’t have a good method for capturing these kinds of failures…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              C 1 Reply Last reply Mar 6, 2019, 1:23 PM Reply Quote 0
              • C Offline
                Cr4z33 @sdetweil
                last edited by Mar 6, 2019, 1:23 PM

                @sdetweil oh I see, but then even if my MM doesn’t look like it restarted.

                By now I am trying to see the overall behaviour with the Update module being disabled to see if the issue is still happening.

                S 1 Reply Last reply Mar 6, 2019, 2:14 PM Reply Quote 0
                • S Away
                  sdetweil @Cr4z33
                  last edited by Mar 6, 2019, 2:14 PM

                  @Cr4z33 yeh. i don’t know how watchdog works… at some level if the MM process hangs, watchdog can’t work either… (my opinion without looking at the code)

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  C 1 Reply Last reply Mar 6, 2019, 3:18 PM Reply Quote 0
                  • C Offline
                    Cr4z33 @sdetweil
                    last edited by Mar 6, 2019, 3:18 PM

                    @sdetweil alright.

                    In the meantime disabling the Update module sorted out the issue… weird…

                    Oh well that means I will run the updater manually from time to time. :D

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      chris1971
                      last edited by Mar 6, 2019, 4:08 PM

                      Noob need some advice: Wunderground was running properly untill my API key expired. Now I try to install DarkSKy. I have updated MM to 2.6.0 and installed MMM-DarkSkyForecast and got a newe folder home/pi/MagicMirror/MMM-DarkSkyForecast.

                      How can I implement the module that its’s running? What do I have to change:

                      config.js:
                      {
                      module: “MMM-DarkSkyForecast”,
                      header: “Weather”,
                      position: “top_right”,
                      classes: “default everyone”,
                      disabled: false,
                      config: {
                      apikey: “xxxxxxxxxxxxxxxxxxxxxxx”,
                      latitude: “51.4185682”,
                      longitude: “6.8845226”,
                      iconset: “4c”,
                      concise: false,
                      forecastLayout: “table”
                      }
                      },

                      J 1 Reply Last reply Mar 8, 2019, 8:31 AM Reply Quote 0
                      • 1
                      • 2
                      • 13
                      • 14
                      • 15
                      • 16
                      • 17
                      • 33
                      • 34
                      • 15 / 34
                      15 / 34
                      • First post
                        145/334
                        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