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.js docent work anymore

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 4 Posters 3.5k Views 3 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.
    • tbbearT Offline
      tbbear Module Developer
      last edited by

      @fischi87 Hi, schaut aus als kommst du aus Deutschland. Hast du schon mal die config.js Prüfung von Mykle1 gemacht. In den meisten Fällen ist es ein fehlendes oder eins zuviel Komma.

      Robert the Bear

      tbbearT Mykle1M F 3 Replies Last reply Reply Quote 1
      • tbbearT Offline
        tbbear Module Developer @tbbear
        last edited by

        @tbbear said in config.js docent work anymore:

        @fischi87 Hi, schaut aus als kommst du aus Deutschland. Hast du schon mal die config.js Prüfung von Mykle1 gemacht. In den meisten Fällen ist es ein fehlendes oder eins zuviel Komma.

        npm run config:check

        Robert the Bear

        1 Reply Last reply Reply Quote 0
        • cruunnerrC Offline
          cruunnerr
          last edited by cruunnerr

          @fischi87 said in config.js docent work anymore:

          {
          module: “updatenotification”,
          position: “top_bar”,
          config: {
          },
          },

          There is a comma too much.
          line 22…

          should look like this:

                          {
          			module: "updatenotification",
          			position: "top_bar",
          			config: {
          			}
          		},
          

          Oh, and there is no " ], " at the end…
          should look like this:

          ],
                  paths: {
                          modules: "modules",
                          vendor: "vendor"
                  }
          };
          

          so try it with this one:

          /*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/
          
          var config = 
          {
          	electronOptions: {
          		
          	},
          	address: "0.0.0.0",
          	port: 8090,
          	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.178.26", "192.168.178.53"],
          	language: "de",
          	modules: [
          		{
          			module: "alert",
          			config: {
          				
          			}
          		},
          		{
          			module: "updatenotification",
          			position: "top_bar",
          			config: {
          			}
          		},
          		{
          			module: "clock",
          			position: "top_center",
          			config: {
          				
          			}
          		},
          		{
          			module: "calendar",
          			header: "Kalender",
          			position: "bottom_left",
          			config: {
          				calendars: [
          					{
          						url: "",
          						symbol: "calendar"
          					},
          					{
          						url: "",
          						symbol: "recycle"
          					},
                              {
                                  url: "",
                                  symbol: "eur"
                              },
                              {
                                  url: "",
                                  symbol: "scissors"
                              },
          				],
          				timeFormat: "absolute",
          				dateFormat: "Do MMM",
          				maximumEntries: "5",
          			}
          		},
          		{
          			module: "currentweather",
          			position: "top_left",
          			config: {
          				location: "Strehla,Germany",
          				locationID: "2826033",
          				appid: "",
          				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: "weatherforecast",
          			position: "top_left",
          			header: "Wettervorhersage",
          			config: {
          				location: "Strehla, Germany",
          				locationID: "2826033",
          				appid: "",
          				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: "MMM-EasyPix",
                      header: "Wlan-Code",
                      position: "bottom_right",
                      config: {
                        picName: "qrcode.png",
                        maxWidth: "150px",
                        header: "Wlan",
                      }
                  },
          		{
          			module: "MMM-MovieListings",
          			position: "top_left",
          			config: {
          				apiKey: 'cee87e81c99b368b7aa611763b37fada',
          				region: 'DE',
          				language: 'de-DE',
          				interface: 'poster',
          				}
          		},
          		{
                			module: 'MMM-MyCommute',
                			position: 'middle_right',
                          header: 'Weg zur Arbeit',
                			config: {
          				apikey: 'AIzaSyAfVoBUzZmIRxFiKtfgw882SrvOBzMYKpk',
          				origin: 'Melchior-Tatzen-Weg 24, 01616 Strehla',
          				showSummary: true,
          				destinations: [
          						{
          						destination: 'Peschelstraße 33, 01139 Dresden',
          						label: 'ElbePark',
          						mode: 'driving',
          						alternatives: true,
          						}
          					      ]
          				}
          		},
          ],
          	paths: {
          		modules: "modules",
          		vendor: "vendor"
          	}
          };
          
          /*************** DO NOT EDIT THE LINE BELOW ***************/
          if (typeof module !== 'undefined') {module.exports = config;}
          
          F 1 Reply Last reply Reply Quote 1
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @tbbear
            last edited by

            @tbbear said in config.js docent work anymore:

            Hast du schon mal die config.js Prüfung von Mykle1 gemacht.

            What did you just say about me, Robert? :-)

            @tbbear said in config.js docent work anymore:

            npm run config:check

            In your MacigMirror directory :-)

            https://forum.magicmirror.builders/topic/5399/how-to-check-your-config-for-errors-for-absolute-beginners

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • F Offline
              fischi87 @tbbear
              last edited by

              @tbbear

              ist mein englisch echt so schlecht? :-)

              danke dir.

              tbbearT 1 Reply Last reply Reply Quote 0
              • F Offline
                fischi87 @cruunnerr
                last edited by

                @cruunnerr

                thanks it works again!!!

                1 Reply Last reply Reply Quote 0
                • tbbearT Offline
                  tbbear Module Developer @fischi87
                  last edited by

                  @fischi87 NEIN, bestimmt nicht. War viel einfacher: location: “Strehla, Germany”, aus deiner config.

                  Robert the Bear

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • 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