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

    Posts

    Recent Best Controversial
    • RE: MMM-awesome-alexa

      @dolanmiu Hello, i know you probably get asked this alot, but i got the client id and client secret, but I can’t figure out what to put for the allowed return urls, or how to find/make them on the amazon dev side and on the magic mirror side

      posted in Utilities
      P
      PHAGE.GOV
    • RE: GPIO help

      so like when i type those commands in the terminal nothing will apear, is that normal?

      posted in Troubleshooting
      P
      PHAGE.GOV
    • GPIO help

      Hello,
      I was trying to run the

      sudo usermod -a -G gpio pi
      

      step on the MMM-PIR-sensor module and for some reason it wont let me run it. I.e. it wont let me open up the mirror after i completed the steps and there is no system dialogue while running the command, as in it just skips to the next bar without any response to the user. it is also the same with the next command,

      sudo chmod u+s /opt/vc/bin/tvservice && sudo chmod u+s /bin/chvt
      

      thanks!

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Alert Module help
      {
      			module: "alert",
      			welcome_message: "Hello there",
      			position: "right",
      			effect: "slide",
      			display_time: "3500",
      		},
      

      thats how i set it in config.js

      posted in Troubleshooting
      P
      PHAGE.GOV
    • Alert Module help

      Hello,
      I have no idea how to use the alert module.
      whenever I run the system,
      93df941b-7b2f-441b-96f2-a803ba5709e5-image.png

      and i dont know what it is supposed to do, but im pretty thats not it
      thanks in advance!

      posted in Troubleshooting
      P
      PHAGE.GOV
    • MoonRise Help

      Hello!
      I cant get the moon rise thing on mm-clock to work through the lat and lon values. can someone point me towards a guide or help me out a bit?
      thanks!

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      @sdetweil yeah, but npm run config:check was such a life saver

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      @sdetweil indeed it is, i found it tho, and i fixed everything else too! thank you so much! and i learned so much from this also, i feel much more confident poking around and i defs learned much more about proper coding

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      @lavolp3

      {
      			module: "compliments",
      			position: "lower_third",
      			compliments: {	
      				"anytime" : [
      					"Hey there sexy!"
      				],
      				"morning" : [
      

      so 64 is the compliments line and it says it has trailing spaces. Im actually learning so much about json files rn so thank you @sdetweil and @lavolp3

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      @sdetweil okay so ive been combing through the code, and since i didnt know how to properly edit .json files, i had alot of cleanup to do, im still not done, but getting there. what is a trailing space though? i dont know what to remove

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      @sdetweil yeah ill try that, i tried fixing “string” because it had an extra space in it but i got the no config.js file again, i will try looking for the other stuff rn

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      @sdetweil wait so it said the options were “string” and “false” for “welcome message” thats where its wrong, so i think its fixed?? ill update if it isnt fixed lol

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      so sensei @sdetweil , i got this.

      hecking file...  /home/pi/MagicMirror/config/config.js
      Line 41 col 4 Parsing error: Unexpected token Welcome_message
      
      

      so does that just mean i should delete that line altogether?

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      @sdetweil okay mom lmaoo, and yes, i agree

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      @sdetweil wait so how do i fix that line? like what would you recomend?

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      @sdetweil would it be a good idea at this point to just delete and reinstall lol

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      @sdetweil well i tried lol

      [2020-05-20 17:25:02.499] [LOG]    Starting MagicMirror: v2.11.0
      [2020-05-20 17:25:02.506] [LOG]    Loading config ...
      [2020-05-20 17:25:02.510] [ERROR]  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:41
      			Welcome_message "string"
      			^^^^^^^^^^^^^^^
      
      SyntaxError: Unexpected identifier
          at Module._compile (internal/modules/cjs/loader.js:722:23)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
          at Module.load (internal/modules/cjs/loader.js:645:32)
          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
          at Module.require (internal/modules/cjs/loader.js:685:19)
          at require (internal/modules/cjs/helpers.js:16:16)
          at loadConfig (/home/pi/MagicMirror/js/app.js:69:12)
          at App.start (/home/pi/MagicMirror/js/app.js:210:3)
          at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:115:7)
          at Module._compile (internal/modules/cjs/loader.js:786:30)
      [2020-05-20 17:25:02.511] [LOG]    Loading module helpers ...
      [2020-05-20 17:25:02.555] [LOG]    Initializing new module helper ...
      [2020-05-20 17:25:02.557] [LOG]    Module helper loaded: updatenotification
      [2020-05-20 17:25:02.558] [LOG]    No helper found for module: helloworld.
      [2020-05-20 17:25:02.559] [LOG]    All module helpers loaded.
      [2020-05-20 17:25:02.680] [LOG]    Starting server on port 8080 ... 
      [2020-05-20 17:25:02.693] [LOG]    Server started ...
      [2020-05-20 17:25:02.694] [LOG]    Connecting socket for: updatenotification
      [2020-05-20 17:25:02.695] [LOG]    Sockets connected & modules started ...
      [2020-05-20 17:25:02.785] [LOG]    Launching application.
      [2020-05-20 17:25:24.052] [LOG]    Shutting down server...
      [2020-05-20 17:25:24.053] [LOG]    Stopping module helper: updatenotifica
      
      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      @sdetweil so i did the cd Magic Mirror and then ran pm2 start/mm.sh
      and i got a pm2 error “script not found: home/pi/MagicMirror/mm.sh”

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      @sdetweil yeah, so note to self for the future lol
      so literally type “cd magic mirror” and that should fix it?
      and also change my api key in the future, not in the config file, right?

      posted in Troubleshooting
      P
      PHAGE.GOV
    • RE: Config Error

      @sdetweil i will do that in the future!
      but how do i go into the MM folder before NPM?
      and also literally change the Keys to the asterisks?

      posted in Troubleshooting
      P
      PHAGE.GOV
    • 1 / 1