MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    config

    Scheduled Pinned Locked Moved Solved Troubleshooting
    57 Posts 9 Posters 22.4k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @geo
      last edited by

      @geo no… just missing the config file…
      select the text in my post above, right click mouse, select copy,
      then open an editor on the file and right click mouse paste

      i use ssh and BitVise ssh client so I can access and edit files thru my windows machine

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        geo @sdetweil
        last edited by

        @sdetweil hi sorry but i am stuck config.js is empty and cant find text editor

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @geo
          last edited by sdetweil

          @geo nano is a text editor

          you can also do

          cp config.js.sample config.js
          

          to copy the initial

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • G Offline
            geo
            last edited by

            totally totally out of my depth and do not understand why my config.js is empty and why the text editor is missing.sorry

            1 Reply Last reply Reply Quote 0
            • G Offline
              geo @sdetweil
              last edited by

              @sdetweil hi i think i am back on track.you say to cut,is that the same as copy,because when i right click on your config all i see is copy.cheers

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @geo
                last edited by

                @geo cut/paste is the generic term for the operations of marking the source, and transferring it to the destination

                copy is the non destructive form of cut

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • G Offline
                  geo
                  last edited by lavolp3

                  @geo said in config:

                  geo

                  this is what i have

                  /* Magic Mirror Config Sample
                   *
                   * By Michael Teeuw http://michaelteeuw.nl
                   * MIT Licensed.
                   */*
                   *
                   * By Michael Teeuw http://michaelteeuw.nl
                   * MIT Licensed.
                   *
                   * For more information how you can configurate this file
                   * See https://github.com/MichMich/MagicMirror#configuration/*
                   *
                   * 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: 24,
                  	units: "metric",
                  
                  	modules: [
                  		{
                  			module: "alert",
                  		},
                  		{
                  			module: "updatenotification",
                  			position: "top_bar"
                  		},
                  		{
                  			module: "clock",
                  			position: "top_left"
                  		},
                  		{
                  			module: "calendar",
                  			header: "GB Holidays",
                  			position: "top_left",
                  			config: {
                  				calendars: [
                  					{
                  						symbol: "calendar-check",
                  						url: "webcal://www.calendar/embed?src=en.uk%23holiday%40group.v.calendar.google.com"					}
                  				]
                  			}
                  		},
                  		{
                  			module: "compliments",
                  			position: "lower_third"
                  		},
                  		{
                  			module: "currentweather",
                  			position: "top_right",
                  			config:  {     
                  				location: "",
                  				locationID: "53.9576",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                  				appid: "76b503a29647f3a01dd9ba1055daea6d",
                  			}
                  		},
                  		{
                  			module: "weatherforecast",
                  			position: "top_right",
                  			header: "Weather Forecast",
                  			config: {
                  				location: "",
                  				
                  				
                  				locationID: "53.9576",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                  				appid: "76b503a29647f3a01dd9ba1055daea6d",
                  			}
                  		},
                  		{
                  			module: "newsfeed",
                  			position: "bottom_bar",
                  			config: {
                  				feeds: [
                  					{
                  						title:  "BBC",
                  						url: "http://WWW.BBC.com/services/xml/rss/bbc/HomePage.xml",
                  					}
                  				],
                  				showSourceTitle: true,
                  				
                  				showPublishDate: true,
                  				broadcastNewsFeeds: false,
                  				broadcastNewsUpdates: true,
                  			}
                  		},
                  	]
                  
                  };
                  
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @geo
                    last edited by

                    @geo ok… does it work?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    G 1 Reply Last reply Reply Quote 0
                    • G Offline
                      geo @sdetweil
                      last edited by

                      @sdetweil no

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        geo
                        last edited by

                        hi i thought i had managed to copy the config you sent but obviosly not as mirror still will not open ,cheers

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 3 / 6
                        • First post
                          Last post
                        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