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

    Posts

    Recent Best Controversial
    • RE: [Remote-Control] Versions not visible

      weird. If you run ls -la do you see a folder called .git ?

      posted in Troubleshooting
      yawnsY
      yawns
    • RE: [Remote-Control] Versions not visible

      @schlachtkreuzer6
      v2.0.0 - v2.1.0 are version numbers of MagicMirror, not this specific module.
      Are you sure you are working in ~/MagicMirror/modules/MMM-Remote-Control as written here? https://github.com/Jopyth/MMM-Remote-Control#update

      posted in Troubleshooting
      yawnsY
      yawns
    • RE: Converting an old JS file into a module

      @ooom416354
      Exactly what I was looking for. Thanks alot!

      posted in Troubleshooting
      yawnsY
      yawns
    • RE: 24h weather forecast graph

      @ostfilinchen said in 24h weather forecast graph:

      @RedNax: the weathericon in this screenshot would be very nice in the mmm-wunderground module :-)

      can you build this?

      These are png files, partially transparent, located here: https://github.com/thobach/MagicMirror2/tree/master/web/img/VCloudsWeatherIcons

      posted in Requests
      yawnsY
      yawns
    • RE: Converting an old JS file into a module

      @ooom416354
      Do you know of a list of all stations with their LOC code for api requests? They have a list of stations, but I can’t find the codes

      posted in Troubleshooting
      yawnsY
      yawns
    • RE: 24h weather forecast graph

      @Patex
      You are more than right and I tried to use chartjs and chartist, but I failed implementing them. If I recall correctly it was because the chart libraries require the id of a specific div to render in, but the call to this div fails because it was not yet created.
      I’m so short on time currently, but I have one week of vacation during carnival (end of February), hopefully I can pick up with my open tasks.

      posted in Requests
      yawnsY
      yawns
    • RE: How to set ipWhitelist for all device can acess to MagicMirror v2?

      @Mykle1 said in How to set ipWhitelist for all device can acess to MagicMirror v2?:

      @morozgrafix

      can I merely view it or is there some control of MM that I can use remotely?

      http://beta.magicmirror.builders/module/24/remote-control ;)

      posted in Troubleshooting
      yawnsY
      yawns
    • RE: Displaying a gif file

      @AAPS
      What exactly is not working? Is it showing up but static (without animation)? Or does it not even show up?

      posted in Development
      yawnsY
      yawns
    • RE: Quit MagicMirror via SSH?

      @MattG

      Okay. I did not test it and it is a rather cruel approach, but you could run killall -9 npm via ssh to terminate the npm process. However this would be some kind of a dirty shutdown.
      I don’t think you need to start all over again. pm2 just automates the start after booting the raspberry and gives a little comfort when dealing with logs and such. So you should be fine going ahead and add pm2 functionality.

      As an alternative or in addition you could install Remote Control and use your smartphone/tablet/pc/mac to initiate reboot/shutdown

      posted in Troubleshooting
      yawnsY
      yawns
    • RE: Quit MagicMirror via SSH?

      @MattG
      This is the “official” way to schedule the MagicMirror process: https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror

      If you let us know how you start your mirror currently we will find a solution to stop/restart the process to avoid rebooting the pi.

      posted in Troubleshooting
      yawnsY
      yawns
    • RE: How to hide Splash screen on boot or edit Splash screen on boot?

      @nobita
      I did not check, so this is all theory.
      The splashscreen is using plymouth, so you should be able to change it the “common way”:

      http://www.bodhilinux.com/w/changing-plymouth-bootsplash/

      posted in Troubleshooting
      yawnsY
      yawns
    • RE: Quit MagicMirror via SSH?

      How are you starting the mirror?
      Using pm2? -> pm2 stop

      posted in Troubleshooting
      yawnsY
      yawns
    • RE: How about Humidity and Temperature Module

      Quick answer:
      They use different libraries to read out the sensor.
      One requires sudo, one doesn’t.

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

      Master branch is the official stable release
      Developer branch is in development, so it contains new features but could contain bugs. Once the development team is happy they move the current development version over as the new stable release

      posted in System
      yawnsY
      yawns
    • RE: Help needed simple API based module

      @ooom416354
      Yes, kind of. At least with JSON calls without additional headers. The you need to use request and a node_helper

      posted in Development
      yawnsY
      yawns
    • RE: Help needed simple API based module

      great. Now tidy up your code ;) and present your module in modules showcase

      posted in Development
      yawnsY
      yawns
    • RE: Help needed simple API based module

      Simple way to test if it entering the function:

      Log.error("function entered");

      Press F12 in browser, check for console output and refresh the website. If the function is entered you will see “function entered” in the console.

      posted in Development
      yawnsY
      yawns
    • RE: Help needed simple API based module

      @washichi
      hm. Did you try to output latitude and longitude as well in getDom to see if this is working?

      posted in Development
      yawnsY
      yawns
    • RE: Compliments text cycler without the randomizer

      @cnelso24
      No need to worry or rush, I just wanted to follow up. ;)

      posted in Requests
      yawnsY
      yawns
    • RE: Help needed simple API based module

      okay, next thing is your updateISS function. I modified it for you to get you started:

      	updateISS: function() {
      		var self = this;
      		var url = self.config.apiBase;
      		var opennotifyRequest = new XMLHttpRequest();
      		opennotifyRequest.open("GET", url, true);
      		opennotifyRequest.onreadystatechange = function() {
      		if (this.readyState === 4) {
      			if (this.status === 200) {
      				var resp = JSON.parse(this.response);
      				this.latitude = resp.iss_position.latitude;
      				this.longitude = resp.iss_position.longitude;
      				this.timestamp = resp.timestamp;
      				this.message = resp.message;
      			}
      		}
      			
      			self.updateDom();
      		};
      	opennotifyRequest.send();
      	}
      
      posted in Development
      yawnsY
      yawns
    • 1
    • 2
    • 31
    • 32
    • 33
    • 34
    • 35
    • 48
    • 49
    • 33 / 49