@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