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

    Posts

    Recent Best Controversial
    • RE: Copy and paste of text to nano config/config.js

      @Mykle1 oh right ok haha, in that case I think I’ll call it a night for now and get some sleep. You’ve been an absolutely great help, I hope I’ve not been to much trouble. I’m not sure what time it is there but you certainly deserve a drink. :-)

      posted in Troubleshooting
      I
      IDCreate
    • RE: Copy and paste of text to nano config/config.js

      @Mykle1 Oh wow it’s working! :-) The time in the top right above the weather bit says 7.02am where the actual correct time on the left of the screen is 1.04am. Thanks I’m well pleased, its a start.

      posted in Troubleshooting
      I
      IDCreate
    • RE: Copy and paste of text to nano config/config.js

      @Mykle1 ok I just thought it was a case of save the config.js and it would come up.
      I’ll do that now

      posted in Troubleshooting
      I
      IDCreate
    • RE: Copy and paste of text to nano config/config.js

      @Mykle1 you mean post the code from config.js?

      posted in Troubleshooting
      I
      IDCreate
    • RE: Copy and paste of text to nano config/config.js

      @Mykle1 well I’ve done all you said, entered the locationID and put in the API KEY an it looks exactly like your code. I went to save it and the screen on my main screen where the mirror displayed the time, date and more just went blank.

      posted in Troubleshooting
      I
      IDCreate
    • RE: Copy and paste of text to nano config/config.js

      @Mykle1 thanks you’ve a fantastic help. I’m trying it now but If I’m unable to do something like this. I don’t know how I’m going to be able to move forward, well I will just keep trying.

      posted in Troubleshooting
      I
      IDCreate
    • RE: Copy and paste of text to nano config/config.js

      @Mykle1 ok thanks going there as we speak

      posted in Troubleshooting
      I
      IDCreate
    • RE: Copy and paste of text to nano config/config.js

      @Mykle1 thanks that was what it looked like at the beginning and was not doing anything so I went ahead as suggested https://github.com/MichMich/MagicMirror/tree/master/modules/default/currentweather

      To test things out and to get things working you mentioned I needed an api key. So I went to the section information in the module set up a copy and past there example presuming that would be a working one.

      {
      		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",
      			locationID: "", //Location ID from http://openweathermap.org/help/city_list.txt
      			appid: "abcde12345abcde12345abcde12345ab" //openweathermap.org API key.
      		}
      

      But unfortunately nothing happens, I thought if I was to simply post there code in replacement for mine to test it as above it would work. :-(

      posted in Troubleshooting
      I
      IDCreate
    • RE: Copy and paste of text to nano config/config.js

      @Mykle1 Hi I tried yesterday and it did not work. I tried just now and it copied the code in replacement of the original current weather but it still did not work. please see below my config.js

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
      	address: "localhost", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "", "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out, is "localhost"
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      	language: "en",
      	timeFormat: 12,
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: "calendar",
      			header: "US Holidays",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar-check-o ",
      						url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
      					}
      				]
      			}
      		},
      		{
      			module: "compliments",
      			position: "lower_third"
      		},
      			{
      		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",
      			locationID: "", //Location ID from http://openweathermap.org/help/city_list.txt
      			appid: "abcde12345abcde12345abcde12345ab" //openweathermap.org API key.
      		}
      		},
      		{
      			module: "weatherforecast",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				location: "New York",
      				locationID: "5128581",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "YOUR_OPENWEATHER_API_KEY"
      			}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "New York Times",
      						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      posted in Troubleshooting
      I
      IDCreate
    • 1 / 1