• 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
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-Face-Reco-DNN

Scheduled Pinned Locked Moved Solved Troubleshooting
8 Posts 2 Posters 1.5k Views 2 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.
  • B Offline
    Blauenfeldt
    last edited by Oct 22, 2019, 12:06 PM

    My bad. That is what i have done. I will edit my problem so it is more detailed.

    S 1 Reply Last reply Oct 22, 2019, 12:07 PM Reply Quote 0
    • S Offline
      sdetweil @Blauenfeldt
      last edited by sdetweil Oct 22, 2019, 12:08 PM Oct 22, 2019, 12:07 PM

      @Blauenfeldt can u show your whole module definition
      is there a comma on the end of the line before classes:

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Oct 22, 2019, 12:26 PM Reply Quote 0
      • B Offline
        Blauenfeldt @sdetweil
        last edited by Blauenfeldt Oct 22, 2019, 12:32 PM Oct 22, 2019, 12:26 PM

        I’ve updated it. yes, the line before classes ends with a comma.

        S 1 Reply Last reply Oct 22, 2019, 12:34 PM Reply Quote 0
        • S Offline
          sdetweil @Blauenfeldt
          last edited by sdetweil Oct 22, 2019, 12:37 PM Oct 22, 2019, 12:34 PM

          @Blauenfeldt thanks

          in this case

          		{
          			module: "currentweather",
          			position: "top_right",
          			config: {
          				location: "hidden",
          				locationID: "hidden",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
          				appid: "hidden"
          			}    // < ------  comma needed here
          			classes: 'name'
          		},
          

          in this case

          {
          			module: "currentweather",
          			position: "top_right",
          			classes: 'name'   // < --- comma needed here
          			config: {
          				location: "hidden",
          				locationID: "hidden",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
          				appid: "hidden"
          			}
          }
          

          so, if u see an error like

           WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:60
          0|MagicMirror  | 			config: {
          

          general rule, look at the line BEFORE the line referenced and add a trailing comma
          in this case, line 59 (add a comma)

          also, do

          cd ~/MagicMirror
          npm run config:check
          

          fix errors from top down
          repeat til no errors

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Oct 22, 2019, 1:19 PM Reply Quote 1
          • B Offline
            Blauenfeldt @sdetweil
            last edited by Oct 22, 2019, 1:19 PM

            @sdetweil Thank you. I will try that.

            1 Reply Last reply Reply Quote 0
            • B Offline
              Blauenfeldt
              last edited by Oct 27, 2019, 8:07 PM

              It works like a charm now. Thank you very much.

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