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

    Topics

    • D

      MMM-AlexaControl or MMM-AlexaOn/Off setup

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      94
      0 Votes
      94 Posts
      49k Views
      S
      @Michael-Schw i’m sorry, I do not understand… you do NOT ‘install’ anything from my scripts repo. you just execute the commands I have documented. to turn off the screensaver you copy/paste this one line to a terminal window on the pi bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/screensaveroff.sh)" to setup for start at boot, you run the pm2 script, the same way bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)" then you can also stop/restart the process pm2 status will tell u it anything is running pm2 start number| name will start that named process pm2 restart, stop, show, list, are other commands pm2 logs --lines=?? will show the terminal window output of the processes (?? is a number) pm2 --help will give u the syntax the alexaControl module needs the NAME of the pm2 process definition pm2 status ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 8 │ stopped │ 0% │ 0b │ │ 1 │ smart-mirror │ fork │ 35 │ stopped │ 0% │ 0b │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ so for MM it would be whatever is listed for the name to change the name, u need to delete the entry (see the pm2 help for the syntax here) and create it again, after modifying the ~/MagicMirror/installers/pm2_MagicMirror.json file then rerun my fixuppm2.sh script again. the devices added by AlexaControl are defined in the translations/??.json file, here is the default en.json { "PAGE": "page ", "REFRESH": "refresh", "RESTART": "restart pm2", "STOP": "stop pm2", "REBOOT": "reboot pi", "SHUTDOWN": "shutdown pi", "MONITOR": "monitor", "USB": "USB" } so the devices are "refresh", "restart pm2", "stop pm2", "reboot pi", "shutdown pi", "monitor" remember these are electric outlet type devices, they can be on or off… that is all so the alexa voice syntax is alexa turn on (or off) device alexa turn on refresh alexa turn off monitor alexa turn on restart pm2 etc
    • D

      MMM SOCCER NOT WORKING

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      11
      0 Votes
      11 Posts
      2k Views
      R
      @dave_ I looked at the Issues on Github and it appears not to work anymore(?). This one works though There are really good instructions there on how to install it too
    • 1 / 1