MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. schmucke
    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 20
    • Groups 0

    Posts

    Recent Best Controversial
    • Get pictures from synology NAS - "Rediscover This Day"

      Hey,

      is anyone here who is needing a solution to show own images from the past years? Like the Facebook remember function? The job to sort the images runs on the synology and works with: mysql, exiv2 and copy. I get the Exif data from each image and write it in a sqldb. with bash i get the files in a local folder (incl. resize for the mirror). The raspberry is copy the images in a local folder. Here dit i use the MMM-ImagesPhoto Plugin.

      my solution ist very simple and usable with the latest synology firmware. If anyone want read this, in wich category can i post it?!
      Not the right resolution, but you can see the what i mean…

      screenshot

      posted in General Discussion
      S
      schmucke
    • RE: Copyright of modul?

      This ohne: https://github.com/Ultimatum22/MMM-RandomBackground/blob/master/README.md

      posted in Development
      S
      schmucke
    • RE: Copyright of modul?

      In this case, its the MMM-RandomBackground module.

      posted in Development
      S
      schmucke
    • Copyright of modul?

      Hey,
      a simple question:

      If i use a modul to build my own, and i use Code from the module. Is this ok, or must i Code my own module?

      I want use the core Code from a module to modify the function. The core module change the backgroundimage, i want this only for photos from local folder in a named

      .

      In the future i want to get Images from amazon Photo cloud…

      Thanks!!!

      posted in Development
      S
      schmucke
    • RE: Amazon cloud drive photo album

      I have already send a request. But, i think its not so easy to become a invite. The next one is, i have played around with https://github.com/yadayada/acd_cli - it is possible to connect to amazon, i can mount a virtual folder an access all files.

      i will just try it by this way - if i found a solution and have done a module, i will tell you here in this thread.

      posted in Requests
      S
      schmucke
    • RE: Amazon cloud drive photo album

      Is there a API out there to use Prime Photos?

      I think, this is a good idea if you can load random photos or photos from the Same Day last year…

      posted in Requests
      S
      schmucke
    • RE: Where are you from?

      Berlin, Germany

      posted in General Discussion
      S
      schmucke
    • RE: Iframe Module for Webcam

      Ok , i have build my own now - i am not really a javescript programmer - pls dont laugh!!!

      i have the following code, how can i initiate the the startonload() function ist run. if i write this in dom, there will be run, but not shiow the wrapper…

      /* global Module */
      
      /* Magic Mirror
       * Module: MMM-iFrame
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       */
      
      Module.register("MMM-iFrame",{
      
              // Default module config.
              defaults: {
                      animationSpeed: 1000,
              },
      
              preload: function()
              {
                      this.img.src='http://guest@192.168.188.65/tmpfs/auto.jpg?'+new Date;
              },
      
              changesrc: function()
              {
                      img1.src=img.src;
                      this.preload();
                      setTimeout(changesrc,3500);
              },
      
              update: function()
              {
                      var imgObj = document.getElementById('img1');
      
                      imgObj.src = this.img.src;
                      this.img.src = "http://guest@192.168.188.65/tmpfs/auto.jpg?" + (new Date()).getTime();
              },
      
              takeerror: function()
              {
              this.img.src = "http://guest@192.168.188.65/tmpfs/auto.jpg?" + (new Date()).getTime();
              },
      
              startonload: function()
              {
                      this.img.src = "http://guest@192.168.188.65/tmpfs/auto.jpg?" + (new Date()).getTime();
                      this.img.onerror=this.takeerror();
                      this.img.onload=this.update();
              },
      
              load: function()
              {
                      if (navigator.appName.indexOf("Microsoft IE Mobile") != -1)
                      {
                      this.preload();
                      this.changesrc();
                      return;
                      }
                      this.startonload();
              },
      
              start: function() {
                      Log.info('Starting module: ' + this.name);
                      var self = this;
                      var imgObj = "";
                      var img = new Image();
                      this.img = new Image();
                      this.imgObj;
                      setInterval(function() {
                              self.updateDom();
                      }, this.config.animationSpeed);
      
              },
      
              // Override dom generator.
              getDom: function() {
                      var wrapper = document.createElement("div");
                      var imagewrapper = document.createElement("iFrame");
                      imagewrapper.style = "border:0"
                      imagewrapper.width = 0;
                      imagewrapper.height = 0;
                      imagewrapper.src = "http://guest@192.168.188.65/tmpfs/auto.jpg";
                      wrapper.innerHTML = "<img class="center-ver3" src="http://guest@192.168.188.65/tmpfs/auto.jpg" />";
                      wrapper.appendChild(imagewrapper);
                      return wrapper;
              }
      });
      

      (The iFrame is not visible, it is just for open a Browser session with a user without a password)

      Can anyone help me by my probem?

      thx

      posted in Requests
      S
      schmucke
    • Iframe Module for Webcam

      Hey,
      this is my first post after reading awhile.
      i just look for a iframe module which refresh himself any 2 seconds. I just need it for my IPCam. The ipcam modul dont work for me. i must call an url to get my image (like: http://guest@192.168.188.65/tmpfs/auto.jpg).

      can anyone help me?

      thank you very much ;)

      posted in Requests
      S
      schmucke
    • 1 / 1