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

    Posts

    Recent Best Controversial
    • RE: Module Current Weather shows "Undefined"?

      Doesn’t help much, but mine is still OK.

      posted in Troubleshooting
      R
      Richard238
    • RE: Module Current Weather shows "Undefined"?

      Hi Joe,

      I just ran the updates, which cleared the “undefined” message.
      No code was changed.

      Richard.

      posted in Troubleshooting
      R
      Richard238
    • RE: Module Current Weather shows "Undefined"?

      I think this update has fixed it.

      posted in Troubleshooting
      R
      Richard238
    • Module Current Weather shows "Undefined"?

      currentweather shows “undefined”, whereas weatherforecast shows “My Town”.

      Any ideas why, please?

      		{
      			module: 'currentweather',
      			position: 'top_right',
      			config: {
      				location: 'My Town',
      				locationID: '',  //ID from http://www.openweathermap.org
      				appid: 'a################'
      			}
      		},
      
      
      		{
      			module: 'weatherforecast',
      			position: 'top_right',
      			header: 'Weather Forecast',
      			config: {
      				location: 'My Town',
      				locationID: '',  //ID from http://www.openweathermap.org
      				appid: 'a#############'
      			}
      		},
                
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Updated, but 'MMM-EventHorizon' still shows as being behind.

      @yawns That’s fixed it, thank you!

      posted in Troubleshooting
      R
      Richard238
    • RE: Updated, but 'MMM-EventHorizon' still shows as being behind.
      pi@raspberrypi:~/MagicMirror/modules/MMM-EventHorizon $ git pull && npm installUpdating 73d1110..6d5a53a
      error: Your local changes to the following files would be overwritten by merge:
      	MMM-EventHorizon.js
      Please, commit your changes or stash them before you can merge.
      Aborting
      
      

      What does that mean?
      I think I’ve made any changes to the Event Horizon module.

      posted in Troubleshooting
      R
      Richard238
    • Updated, but 'MMM-EventHorizon' still shows as being behind.

      ‘MMM-EventHorizon’ says my MM is 27 commits behind.

      I’ve updated, twice, but still the same 27 commits message remains.
      Any idea why, please?

      Thanks.

      posted in Troubleshooting
      R
      Richard238
    • RE: Simple daily countdown timer

      Well this is very odd.
      Another MM stop/start seems to have fixed it.

      Happy days! :)

      posted in Requests
      R
      Richard238
    • RE: Simple daily countdown timer

      @mykle1 Peculiar. I’ve no idea why it’s giving different results for you.
      I’ll have a play when I have time, but for now the ‘fudge-fix’ (deducting five hours in config.js) works ok for me.

      Thank you!

      posted in Requests
      R
      Richard238
    • RE: Simple daily countdown timer

      @mykle1 said in Simple daily countdown timer:

      n179

      					if (this.config.countUp == "yes" && this.config.size == "small"){
      
      						// small
      
      						iframe.src = "http://free.timeanddate.com/countdown/i6f519yg/n136/cf12/cm0/cu4/ct0/cs0/ca0/cr0/ss0/cac0ff/cpc0ff/pc000/tcfff/fs100/szw256/szh108/tat" + this.config.text1 + "/tac0ff/tpt" + this.config.endText1 + "/tpc0ff/mat" + this.config.text2 + "/mac0ff/mpt" + this.config.endText2 + "/mpc0ff/iso" + this.config.date + "T" + this.config.time;
      
      					} else if (this.config.countUp == "yes" && this.config.size == "medium") {
      
      						// medium
      
      						iframe.src = "http://free.timeanddate.com/countdown/i6f519yg/n136/cf12/cm0/cu4/ct0/cs0/ca0/cr0/ss0/cac0ff/cpc0ff/pc000/tcfff/fs100/szw320/szh135/tat" + this.config.text1 + "/tac0ff/tpt" + this.config.endText1 + "/tpc0ff/mat" + this.config.text2 + "/mac0ff/mpt" + this.config.endText2 + "/mpc0ff/iso" + this.config.date + "T" + this.config.time;
      
      					} else if (this.config.countUp == "yes" && this.config.size == "large") {
      
      					  // large
      
      						iframe.src = "http://free.timeanddate.com/countdown/i6f519yg/n136/cf12/cm0/cu4/ct0/cs0/ca0/cr0/ss0/cac0ff/cpc0ff/pc000/tcfff/fs100/szw576/szh243/tat" + this.config.text1 + "/tac0ff/tpt" + this.config.endText1 + "/tpc0ff/mat" + this.config.text2 + "/mac0ff/mpt" + this.config.endText2 + "/mpc0ff/iso" + this.config.date + "T" + this.config.time;
      
      					}
      
      
      
      
      
      
      
              if (this.config.countUp != "yes" && this.config.size == "small"){
      
                  iframe.src = "http://free.timeanddate.com/countdown/i64zeztz/n136/cf100/cm0/cu4/ct5/cs0/ca0/cr0/ss0/cac33d9ff/cpc000/pct/tcfff/fs100/szw192/szh81/tat" + this.config.text1 + "/tac33d9ff/tpt" + this.config.endText1 + "/tpc33d9ff/mat" + this.config.text2 + "/mac33d9ff/mpt" + this.config.endText2 + "/mpc33d9ff/iso" + this.config.date + "T" + this.config.time + "/bo2/pd2";
      
              } else if (this.config.countUp != "yes" && this.config.size == "medium") {
      
                  iframe.src = "http://free.timeanddate.com/countdown/i67bgd3d/n136/cf12/cm0/cu4/ct0/cs1/ca0/cr0/ss0/cac0ff/cpc0ff/pct/tcfff/fs100/szw448/szh189/tat" + this.config.text1 + "/tac0ff/tpt" + this.config.endText1 + "/tpc0ff/mat" + this.config.text2 + "/mac0ff/mpt" + this.config.endText2 + "/mpc0ff/iso" + this.config.date + "T" + this.config.time + "/bo2/pd2";
      
              } else if (this.config.countUp != "yes" && this.config.size == "large") {
      
                  iframe.src = "http://free.timeanddate.com/countdown/i67bgd3d/n136/cf12/cm0/cu4/ct0/cs1/ca0/cr0/ss0/cac0ff/cpc0ff/pct/tcfff/fs100/szw576/szh243/tat" + this.config.text1 + "/tac0ff/tpt" + this.config.endText1 + "/tpc0ff/mat" + this.config.text2 + "/mac0ff/mpt" + this.config.endText2 + "/mpc0ff/iso" + this.config.date + "T" + this.config.time + "/bo2/pd2";
      
              }
      

      Changed n179 to n136, as shown.
      Stopped and restarted MM.
      Did not change time in config.js, and expected results to now be incorrect, but there’s no change.
      The module still shows the correct time for my countdown.

      posted in Requests
      R
      Richard238
    • 1 / 1