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

    Posts

    Recent Best Controversial
    • RE: TV guide

      @cowboysdude Is it possible to explain me how i need to implent that source into an module ?
      ore make a module for that at all?
      I`m new to this kind of scripting… call me an NOOB :)

      posted in Requests
      D
      Desertswing
    • RE: TV guide

      @cowboysdude If u can share me the data that will be terrific…!

      posted in Requests
      D
      Desertswing
    • TV guide

      Is it possible to make like an tv guide to show what today`s movie is on the menu ?

      posted in Requests
      D
      Desertswing
    • RE: MMM-Globe problems with refreshing pictures.

      still this error,

      error: Unable to append to .git/logs/refs/remotes/origin/develop: Permission den ied
      From https://github.com/MichMich/MagicMirror
      ! a6485b6…88a01d3 develop -> origin/develop (unable to update local ref)

      posted in Troubleshooting
      D
      Desertswing
    • RE: MMM-Globe problems with refreshing pictures.

      Nvm i got it removed!

      posted in Troubleshooting
      D
      Desertswing
    • RE: MMM-Globe problems with refreshing pictures.

      @strawberry-3.141 just delete the folder with a command ore ??

      posted in Troubleshooting
      D
      Desertswing
    • MMM-Globe problems with refreshing pictures.

      Hey all i got a problem with my Globe…

      error: Unable to append to .git/logs/refs/remotes/origin/develop: Permission denied
      From https://github.com/MichMich/MagicMirror
      ! a6485b6…88a01d3 develop -> origin/develop (unable to update local ref)

      error: cannot open .git/FETCH_HEAD: Permission denied
      .

      {
      module: ‘MMM-Globe’,
      position: ‘lower_third’, //center
      config: {
      style: ‘geoColor’, //natColor, geoColor, airMass, fullBand, europeDiscNat, europeDiscSnow, centralAmericaDiscNat
      imageSize: 450,
      ownImagePath:‘’,
      updateInterval: 10601000
      }
      },

      Module.register(“MMM-Globe”, {
      // Default module config.
      defaults: {
      style: ‘geoColor’,
      imageSize: 600,
      ownImagePath: ‘’,
      updateInterval: 10 * 60 * 1000
      },

          start: function () {
                  self = this;
                  this.url = '';
                  this.imageUrls = {
                          'natColor': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest/himawari-8/full_disk_ahi_natural_color.jpg',
                          'geoColor': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest/himawari-8/full_disk_ahi_true_color.jpg',
                          'airMass': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest/himawari-8/full_disk_ahi_rgb_airmass.jpg',
                          'fullBand': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest/himawari-8/himawari-8_band_03_sector_02.gif',
                          'europeDiscNat': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBNatColour_LowResolution.jpg',
                          'europeDiscSnow': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBSolarDay_CentralEurope.jpg',
                          'centralAmericaDiscNat': 'http://goes.gsfc.nasa.gov/goescolor/goeseast/overview2/color_med/latestfull.jpg'
      
                  }
                  this.hiResImageUrls = {
                          'natColor': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/himawari-8/full_disk_ahi_natural_color.jpg',
                          'geoColor': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/himawari-8/full_disk_ahi_true_color.jpg',
                          'airMass': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/himawari-8/full_disk_ahi_rgb_airmass.jpg',
                          'fullBand': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest/himawari-8/himawari-8_band_03_sector_02.gif',
                          'europeDiscNat': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBNatColour_LowResolution.jpg',
                          'europePartSnow': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBSolarDay_CentralEurope.jpg',
                          'centralAmericaDiscNat': 'http://goes.gsfc.nasa.gov/goescolor/goeseast/overview2/color_lrg/latestfull.jpg'
      

      }
      this.hiResImageUrls = {
      ‘natColor’: ‘http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/himawari-8/full_disk_ahi_natural_color.jpg’,
      ‘geoColor’: ‘http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/himawari-8/full_disk_ahi_true_color.jpg’,
      ‘airMass’: ‘http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/himawari-8/full_disk_ahi_rgb_airmass.jpg’,
      ‘fullBand’: ‘http://rammb.cira.colostate.edu/ramsdis/online/images/latest/himawari-8/himawari-8_band_03_sector_02.gif’,
      ‘europeDiscNat’: ‘http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBNatColour_LowResolution.jpg’,
      ‘europePartSnow’: ‘http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBSolarDay_CentralEurope.jpg’,
      ‘centralAmericaDiscNat’: ‘http://goes.gsfc.nasa.gov/goescolor/goeseast/overview2/color_lrg/latestfull.jpg’
      }
      console.log(this.imageUrls[this.config.style]);
      if (this.config.ownImagePath != ‘’) {
      this.url = this.config.ownImagePath;
      } else {
      if (this.config.imageSize > 800) {
      this.url = this.hiResImageUrls[this.config.style];
      } else {
      this.url = this.imageUrls[this.config.style];
      }
      setInterval(function () {
      self.updateDom(1000);
      console.log(‘update’)
      }, this.config.updateInterval);
      }
      },

          getStyles: function () {
                  return ["MMM-Globe.css"]
          },
      // Override dom generator.
      
          getDom: function () {
                  var wrapper = document.createElement("div");
                  if (this.config.style == "europeDiscNat") {
                          wrapper.style.height = 0.98 * this.config.imageSize - 1 + "px";
                          wrapper.style.overflow = "hidden";
                  }
      
      
                  var image = document.createElement("img");
                  if (this.config.ownImagePath != '') {
                          image.src = this.url;
                  } else if (this.config.style == "centralAmericaDiscNat"){
                          image.src = this.url + '?' + new Date().getTime();
                          image.className = 'MMM-Globe-image-centralAmericaDiscNat';
                  } else {
                          image.src = this.url + '?' + new Date().getTime();
                          image.className = 'MMM-Globe-image';
                  }
      
                  image.width = this.config.imageSize.toString();
                  image.height = this.config.imageSize.toString();
      
                  wrapper.appendChild(image);
                  return wrapper;
          }
      

      });

      .
      what am i doing wrong ??

      posted in Troubleshooting
      D
      Desertswing
    • RE: MMM-Globe

      Hey all i got a problem with my Globe…

      error: Unable to append to .git/logs/refs/remotes/origin/develop: Permission denied
      From https://github.com/MichMich/MagicMirror
      ! a6485b6…88a01d3 develop -> origin/develop (unable to update local ref)

      error: cannot open .git/FETCH_HEAD: Permission denied

      what am i doing wrong ??

      posted in Utilities
      D
      Desertswing
    • RE: More then 1 module on the same spot..?

      Thank u for the fast support,
      do i need to place the code somewhere special ore just under the first array of the start of modules.

      posted in General Discussion
      D
      Desertswing
    • More then 1 module on the same spot..?

      Hi all is it possible to make an module replacing itself by going to an dif. module on the same spot by fading ore swiping itself…? :P

      i`m completely new to programming and i like to learn something from u guys in the future on so i can make my own modules and share them with u! :D

      posted in General Discussion
      D
      Desertswing
    • 1 / 1