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

IArentBen

@IArentBen

0
Reputation
752
Profile views
7
Posts
0
Followers
0
Following
Joined May 17, 2016, 2:19 PM
Last Online Feb 1, 2022, 3:15 AM

IArentBen Unfollow Follow

Latest posts made by IArentBen

  • RE: Current weather appid

    I tried several more ids and it finally worked. Thanks for you’re help

    posted in Troubleshooting
    I
    IArentBen
    May 19, 2016, 1:31 AM
  • RE: Current weather appid

    @KirAsh4 unfortunately that didn’t work

    posted in Troubleshooting
    I
    IArentBen
    May 19, 2016, 1:04 AM
  • Current weather appid

    So I almost have my mirror up and running, Im having issues with the weather and I cant seem to figure it out.
    It populates on the screen loads then says my appid is incorrect.
    0_1463579271103_upload-5f23048b-591c-45ac-89d8-ffdb4eed7fce
    Ive made an account and tried several API keys, Ive tried it in a browser and received the data in the browser

    http://api.openweathermap.org/data/2.5/weather?q=London,uk&appid=*MYIDHERE*

    {"coord":{"lon":-0.13,"lat":51.51},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"base":"cmc stations","main":{"temp":286.022,"pressure":1006.2,"humidity":100,"temp_min":286.022,"temp_max":286.022,"sea_level":1015.94,"grnd_level":1006.2},"wind":{"speed":3.71,"deg":208.506},"rain":{"3h":2.055},"clouds":{"all":56},"dt":1463577839,"sys":{"message":0.0051,"country":"GB","sunrise":1463544189,"sunset":1463601105},"id":2643743,"name":"London","cod":200}
    

    This is the code I have in my config:

    {
    			module: 'currentweather',
           				 position: 'top_right',  // This can be any of the regions.
                                        // Best results in left or right regions.
         			  	 config: {
                			// See 'Configuration options' for more information.
                			location: 'Amsterdam,Netherlands',
               			 appid: 'YOUR_ID_HERE'  }
    			},
    

    Any help would be appreciated greatly! thanks again!


    Edit from admin: Removed your appid since it should probably not be public.

    posted in Troubleshooting weather troubleshoot
    I
    IArentBen
    May 18, 2016, 1:50 PM
  • RE: Config Help!

    @MichMich I tried the jshint and jslint but, was not successful because of my lack of knowledge in this language. I fixed it but basically scrapping the whole file and doing one section at a time. I learnt a whole lot in two hours though haha

    posted in Troubleshooting
    I
    IArentBen
    May 18, 2016, 11:52 AM
  • RE: Config Help!

    @PtrBld thanks but that didn’t do it either

    posted in Troubleshooting
    I
    IArentBen
    May 17, 2016, 7:16 PM
  • RE: Config Help!

    @feuerball sure did!

    posted in Troubleshooting
    I
    IArentBen
    May 17, 2016, 7:13 PM
  • Config Help!

    Morning everyone!

    I’ve been trying to get my mirror running for the past few days but I am stumped! I cant get my config file to work the Magic Mirror screen pops up and says if you have a config file to lint it and I have. I rant the pm2 log and i says “mm-0 (err): WARNING! Could not find config. Please create one.”

    Would you please take a peek at my config file for me? If i missed an obvious step please let me know!

    var config = {
    	port : 8080,
    	language : 'en',
    	timeFormat : 24,
    	units : 'metric',
    	modules : [{
    			module : 'clock',
    			position : 'top_left'
    			config : {
    				timeFormat : 24,
    				displaySeconds : false,
    				showPeriod : false,
    				showPeriodUpper : false
    			}
    		}, {
    			module : 'calendar',
    			header : 'Calendar',
    			position : 'top_left',
    			config : {
    				calendars : [{
    						symbol : 'calendar-check-o',
    						url : 'webcal://www.calendarlabs.com/templates/ical/Canada-Holidays.ics'
    					}
    				]
    				maximumEntries : 10,
    				maximumNumberOfDays : 365,
    				displaySymbol : true,
    				defaultSymbol : calendar,
    				maxTitleLength : 25,
    				fetchInterval : 900000,
    				animationSpeed : 2000,
    				fade : true,
    				fadePoint : 0.25,
    				loadingText : 'Loading...',
    				emptyCalendarText : 'No Text to Display...',
    				todayText : 'Today',
    				tomorrowText : 'Tomorrow',
    				runningText : 'coming up'
    			}
    		}, {
    			module : 'currentweather',
    			position : 'top_right',
    			config : [{
    					location : 'Sylvan Lake',
    					appid : '6160806',
    					units : metric,
    					updateInterval : 900000,
    					animationSpeed : 2000,
    					timeFormat : 24,
    					showPeriod : false,
    					showPeriodUpper : false,
    					lang : en,
    					initialLoadDelay : 0,
    					retryDelay : 2500,
    					apiVersion : 2.5,
    					apiBase : 'http://api.openweathermap.org/data/',
    					weatherEndpoint : 'weather',
    					iconTable : {
    						'01d' : 'wi-day-sunny',
    						'02d' : 'wi-day-cloudy',
    						'03d' : 'wi-cloudy',
    						'04d' : 'wi-cloudy-windy',
    						'09d' : 'wi-showers',
    						'10d' : 'wi-rain',
    						'11d' : 'wi-thunderstorm',
    						'13d' : 'wi-snow',
    						'50d' : 'wi-fog',
    						'01n' : 'wi-night-clear',
    						'02n' : 'wi-night-cloudy',
    						'03n' : 'wi-night-cloudy',
    						'04n' : 'wi-night-cloudy',
    						'09n' : 'wi-night-showers',
    						'10n' : 'wi-night-rain',
    						'11n' : 'wi-night-thunderstorm',
    						'13n' : 'wi-night-snow',
    						'50n' : 'wi-night-alt-cloudy-windy'
    					}
    				}
    			]
    		}, {
    			module : 'newsfeed',
    			position : 'bottom_bar',
    			config : {
    				feeds : [{
    						title : "CBC Top Stories",
    						url : "http://rss.cbc.ca/lineup/topstories.xml",
    					}{
    						title : "CBC Calgary",
    						url : "http://rss.cbc.ca/lineup/canada-calgary.xml",
    					}{
    						title : "CBC World Stories",
    						url : "http://rss.cbc.ca/lineup/World.xml",
    					}
    				],
    				showSourceTitle : true,
    				showPublishDate : true,
    				showDescription : true,
    				reloadInterval : 900000,
    				updateInterval : 300000,
    				animationSpeed : 2000
    			}
    		}, ]
    };
    if (typeof module !== 'undefined') {
    	module.exports = config;
    }
    

    Note from admin: Please use Markdown on code snippets so it is easier to read!

    posted in Troubleshooting
    I
    IArentBen
    May 17, 2016, 3:46 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy