MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. efkelly
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    E
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Groups 0

    efkelly

    @efkelly

    0
    Reputation
    35
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    efkelly Unfollow Follow

    Latest posts made by efkelly

    • RE: MMM-DarkSkyForecast

      @smoysauce
      Thank you very much it is now working, it had nothing to do with what you had written, I had an error in my config.js, I had inserted showSunriseSunset = true; and that obviously was completely wrong. I removed that line and bingo all is well. Thank you again.

      posted in Troubleshooting
      E
      efkelly
    • RE: MMM-DarkSkyForecast

      @smoysauce
      Thanks but no joy, I added the following to the MMM.darkskyforecast.js

      var summary;
      if (this.config.concise) {
      summary = this.weatherData.hourly ? this.weatherData.hourly.summary : this.weatherData.currently.summary;
      } else {
      summary = (this.weatherData.minutely ? this.weatherData.minutely.summary : this.weatherData.currently.summary + “.”) + " " +
      (this.weatherData.hourly ? this.weatherData.hourly.summary + " " : “”) +
      (this.weatherData.daily ? this.weatherData.daily.summary : “”) + " | " + "Sunrise: " + moment(new Date(this.weatherData.daily.data[0].sunriseTime * 1000)).format(“LT”) +
      " | Sunset: " + moment(new Date(this.weatherData.daily.data[0].sunsetTime * 1000)).format(“LT”);
      }

      (leaving out the humidity and dew point in the example) now I get the black screen!

      Thank you in advance for any assistance, as you can tell I am a noob.

      posted in Troubleshooting
      E
      efkelly
    • MMM-DarkSkyForecast

      Thank you in advance, has anyone configured the sunrise and sunset in the dark sky
      forecast module? I have seen the question asked but cannot find an answer.

      posted in Troubleshooting
      E
      efkelly