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

    Posts

    Recent Best Controversial
    • RE: Forecast-io w/ Weather Alerts

      Thanks! I suppose if you can get DarkSky weather alerts in Europe it should work just fine! I am still learning the ins and outs of Github but will plan to do a PR to the main one!

      posted in Utilities
      S
      smoysauce
    • Forecast-io w/ Weather Alerts

      Searching around I was not able to find a weather app that would show weather alerts for the US. I have 0 JS knowledge so I did some learning and was able to modify the forecast-io module to also show weather alerts when they are active in the area. Hopefully others can find it useful!!

      https://github.com/esmoyer/MMM-forecast-io

      posted in Utilities
      S
      smoysauce
    • RE: US Weather Alerts

      I know this is old, but I was able to modify the forecast-io module to show weather alerts
      https://github.com/esmoyer/MMM-forecast-io

      posted in Requests
      S
      smoysauce
    • RE: MMM-MyScoreboard

      Any clue why it would only show Final score and not future or in progress? I have been looking through the code, comparing the ESPN feed to everything I can’t seem to figure it out.

      posted in Sport
      S
      smoysauce
    • RE: MMM-DarkSkyForecast

      Glad to hear it!

      posted in Troubleshooting
      S
      smoysauce
    • RE: MMM-DarkSkyForecast

      Did you just add it or did you replace/append the exisiting? If you just added it that won’t work. YOu need to find that section and either replace it or you can append what you want to the end. You also could have removed too much probably missing a comma or semicolon. If you don’t want humidity and dew point you would to the var summary section and use:

          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") ;
          }
      

      I would say your best bet is to just go to that section and add + " | " + "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") just before the ; at the end.

      posted in Troubleshooting
      S
      smoysauce
    • RE: MMM-DarkSkyForecast

      I was able to do it, though, I am still learning a lot and how to format it into it’s own area. Right now it just hitches onto the Summary section but it at least shows it. Hopefully it helps.

      https://github.com/jclarke0000/MMM-DarkSkyForecast/issues/13

      posted in Troubleshooting
      S
      smoysauce
    • RE: MMM-MyCommute

      Hi I have gotten this module setup and working with destinations (see below), but am trying to get it to show times based on locations of calendar events setup like at the end of the help page but it doesn’t seem to want to show. Am I missing something? My calendar shows my events and locations but not sure if MyCommute is pulling it. I even used the example code from the module Git page and it still didn’t pull anything. Does this not work anymore? Any insight would be much appreciated!

      {
              module: 'MMM-MyCommute',
              position: 'bottom_left',
              header: 'Traffic',
              config: {
                      apikey: 'XXX',
                      origin: 'XXX',
                      startTime: '06:00',
                      endTime: '20:00',
                      destinations: [
                      {
                              destination: 'XXX',
                              label: 'XXX',
                              hideDays: [0,6],
                              mode: 'driving',
                              alternatives: true,
                              showSummary: true,
                              color: '#82E5AA'
                      },
                      {
                              destination: 'XXX',
                              label: 'XXX',
                              mode: 'driving',
                              alternatives: false,
                              showSummary: false,
                              color: 'lightblue'
                      }
                      ],
                      maxCalendarEvents: 2,
                      calendarOptions: [
                              {
                              mode: 'driving'
                              }
                      ]
      }
      },
      
      
      posted in Transport
      S
      smoysauce
    • 1 / 1