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

    Topics

    • R

      HEIC and MMM-ImagesPhotos

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting
      20
      0 Votes
      20 Posts
      3k Views
      S
      @rts58 awesome!!
    • R

      MagicRemote and IOS 17.4

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      0 Votes
      6 Posts
      868 Views
      R
      @sdetweil That’s awesome, thanks!
    • R

      New weather module (develop branch) not updating

      Watching Ignoring Scheduled Pinned Locked Moved Bug Hunt
      1
      0 Votes
      1 Posts
      673 Views
      R
      I’ve noticed recently that the new weather module in the develop branch stops updating. I got this error in the developer console: 2cors-anywhere.herokuapp.com/https://api.darksky.net/forecast/mykey/mylatlong?units=us&lang=en Failed to load resource: the server responded with a status of 503 (Service Unavailable) 0.0.0.0/:1 Failed to load https://cors-anywhere.herokuapp.com/https://api.darksky.net/forecast/mykey/mylatlong?units=us&lang=en: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://0.0.0.0:8080' is therefore not allowed access. The response had HTTP status code 503. If the service is unavailable shouldn’t the weather module update once it is available? If I restart MM, the module will update properly and work for about a day.
    • R

      Best way to display recipe

      Watching Ignoring Scheduled Pinned Locked Moved Development
      5
      0 Votes
      5 Posts
      2k Views
      R
      @mykle1 Great, thanks, I’ll take a look at the voice modules and see what I can come up with. I also just found MMM-ImageFileWatcher which looks like it may do a lot of what I was looking for.
    • R

      Module help for variable

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting
      10
      0 Votes
      10 Posts
      2k Views
      R
      @sdetweil Thanks, I got it. I needed to get rid of “this”. So the correct test was: if (!(oldAwayState === awayState) && (awayState === 'home'))
    • R

      MONITORON on does not work in schedule

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting
      6
      0 Votes
      6 Posts
      2k Views
      R
      Re: MONITORON on does not work in schedule So for the last two days, this has been working correctly. I think it may be a combination of @dazza120 fix to my config, not messing with the pi for a full 2 days to let it fully run through it’s schedule, and removing openGL.
    • R

      A way to add image name to MMM-BackgroundSlideshow?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      -1 Votes
      2 Posts
      1k Views
      R
      FWIW, I did manage to do this. I added a line 155 to the MMM-BackgroundSlideshow.js: image.src = encodeURI(this.imageList[this.imageIndex]); this.sendNotification("IMAGEFILEPATH", image.src); //my stuff Then I created a small module that displayed the notification. Module.register("MMM-ShowMessage", { defaults: {}, getDom: function() { var element = document.createElement("div"); element.className = this.config.size; element.id = "IMGPATHFILE"; return element; }, notificationReceived: function(notification, payload, sender) { switch(notification) { case "IMAGEFILEPATH": var elem = document.getElementById("IMGPATHFILE") var subpayload = payload.substring(53) elem.innerHTML = subpayload break } }, }); In my config.js I just added: { module: "MMM-ShowMessage", position: "bottom_left", config: { size: "small" } }, Now each time the image changes a notification is sent and picked up by the show message module which displays it on screen. I trim the path because the beginning was consistent among all the pictures.
    • 1 / 1