Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. rts58
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 36
    • Best 6
    • Groups 0

    rts58

    @rts58

    7
    Reputation
    634
    Profile views
    36
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    rts58 Follow

    Best posts made by rts58

    • RE: A way to add image name to MMM-BackgroundSlideshow?

      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.

      posted in General Discussion
      R
      rts58
    • RE: Contribute to a module. Volunteers wanted! Easy!

      n43 Boston, MA

      posted in Troubleshooting
      R
      rts58
    • RE: Control MagicMirror from Alexa?

      @jrotondo I’m using AlexaOnOff which allows me some control over MM.

      Here is the thread.

      posted in Troubleshooting
      R
      rts58
    • RE: module for mm background

      I’ve been using MMM-BackgroundSlideshow, it allows me to randomly display an image from 1000’s stored in a many level folder structure on my NAS.

      posted in Requests
      R
      rts58
    • RE: Application not starting when OpenGL is enabled

      @anthony Hi, I found this post maybe it will help? Also, custom.css is for all modules is in the css directory.

      @strawberry-3-141 said in MMM-forecast-io -- Localized up to the minute weather:

      .MODULENAME {
        transform: scale(0.5, 0.5);
      }
      

      if you replace modulename with your actual module name, this should give you a height and with of 50% of the actual size

      posted in Troubleshooting
      R
      rts58
    • RE: MONITORON on does not work in schedule

      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.

      posted in Troubleshooting
      R
      rts58

    Latest posts made by rts58

    • RE: mmm-nest-status unresponsive after 12hours

      It’s been 24 hours and still working fine! Thanks!

      posted in Troubleshooting
      R
      rts58
    • RE: mmm-nest-status unresponsive after 12hours

      @sdetweil just got the update, I’ll let you know what I find. Thanks!

      posted in Troubleshooting
      R
      rts58
    • RE: mmm-nest-status unresponsive after 12hours

      Based upon the display, it stopped on me last night. I was running mm serveronly so I could see the dev output in browser. I couldn’t find any errors. It could have stopped when scheduler is set to hide all modules. I did see this in the console after this mornings schedule to show modules:

      Whoops! There was an uncaught exception...
      TypeError: Cannot read property 'statusCode' of undefined
          at Request._callback (/home/pi/MagicMirror/modules/mmm-nest-status/node_helper.js:20:25)
          at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
          at emitOne (events.js:116:13)
          at Request.emit (events.js:211:7)
          at Request.onRequestError (/home/pi/MagicMirror/node_modules/request/request.js:881:8)
          at emitOne (events.js:116:13)
          at ClientRequest.emit (events.js:211:7)
          at TLSSocket.socketErrorListener (_http_client.js:401:9)
          at emitOne (events.js:116:13)
          at TLSSocket.emit (events.js:211:7)
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      

      In the past I don’t think I ever had a conflict between scheduler and nest status.

      posted in Troubleshooting
      R
      rts58
    • RE: mmm-nest-status unresponsive after 12hours

      I tried to open the console via remote but wasn’t able to. Sorry.

      posted in Troubleshooting
      R
      rts58
    • RE: mmm-nest-status unresponsive after 12hours

      Bummer, mine has stopped as well.

      posted in Troubleshooting
      R
      rts58
    • RE: mmm-nest-status unresponsive after 12hours

      I also have been having the same issue with this module. It worked well for months. I’ve just been restarting and haven’t had time to chase down the errors.

      posted in Troubleshooting
      R
      rts58
    • RE: Control MagicMirror from Alexa?

      I have 2nd gen echo’s

      posted in Troubleshooting
      R
      rts58
    • RE: [Remote-Control] Shutdown, Configure and Update your MagicMirror

      That changed worked for me. I also had issue of white screen on my phone. After the change above and restarting phone, works fine now.

      posted in System
      R
      rts58
    • RE: Control MagicMirror from Alexa?

      @jrotondo I’m using AlexaOnOff which allows me some control over MM.

      Here is the thread.

      posted in Troubleshooting
      R
      rts58
    • New weather module (develop branch) not updating

      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.

      posted in Bug Hunt
      R
      rts58