It works! Thank you so much Cedric!
Posts made by papinist
-
RE: Relay not working after last update of EXT-Screen and EXT-Pir
-
RE: Relay not working after last update of EXT-Screen and EXT-Pir
Hi bugs, did you find time to search for a fix? I have my magic mirror powered off for a month now because I can’t use it that way…
I tried to find a workaround but don’t know how to use something else to activaqte the relay to turn off backlight. -
RE: Relay not working after last update of EXT-Screen and EXT-Pir
No problem… my only question is if you see something abnormal in log (like no “OFF” messages), or if you think that log is normal and maybe the relay could be broken. In that case I could open my mirror and check it.
Thanks! -
RE: Relay not working after last update of EXT-Screen and EXT-Pir
Hi Cedric, any news?
-
RE: Relay not working after last update of EXT-Screen and EXT-Pir
tried the last update released today (ga\pir\detector) but no changes
-
Relay not working after last update of EXT-Screen and EXT-Pir
Hi and as always thank you for these great projects!
I’m using ext-pir with a pir sensor to turn on and off a relay that controls backlight on my mirror. Ext-screen is configured in “mode: 6 - use a relay switch command controled by GPIO”. My MM is installed on a rpi 3B(+).
It worked great until the last round of updates, with the new version of ext-screen (or maybe ext-pir) it stopped working: screen goes blank but relay is not switched anymore.In log I see “relay is on” but not “relay is off” (can’t remember the past behaviour actually), but also noticed two things:
- logs reported “[SCREEN] Mode 6: Python script (Relay on/off)”, but in wiki I read “python” in mode 7;
- in ext-pir 1.5.0 changelog you said “delete: onoff dependency” and in 1.6.0 you added different modes referring to onoff library and rpi 3b.
Is this causing my issues?
Here’s the log:
MMM-GoogleAssistant v6.2.2 (240308.it) [10.03.2024 10:45.15.343] [LOG] [GA] [HyperWatch] Logger is now enabled [10.03.2024 10:45.16.743] [LOG] [GA] [LIB] All website libraries loaded! [10.03.2024 10:45.16.749] [LOG] [GA] Loading Website... [10.03.2024 10:45.16.760] [LOG] [GA] [WEBSITE] [TRANSLATION] [HOME] Use: default.home [10.03.2024 10:45.16.907] [LOG] [GA] [WEBSITE] Detected: EXT-Alert [10.03.2024 10:45.17.036] [INFO] Checking git for module: MMM-GoogleAssistant [10.03.2024 10:45.17.168] [LOG] [ALERT] EXT-Alert Version: 1.4.2 rev: 240303 [10.03.2024 10:45.17.175] [LOG] [DETECTOR] EXT-Detector Version: 2.5.2 rev: 240303 [10.03.2024 10:45.17.229] [LOG] [PIR] EXT-Pir Version: 1.5.0 rev: 240303 [10.03.2024 10:45.17.352] [LOG] [PIR] [LIBRARY] Loaded: ./components/pirLib.js --> this.lib.Pir [10.03.2024 10:45.17.355] [LOG] [PIR] [LIBRARY] All libraries loaded! [10.03.2024 10:45.17.361] [LOG] [SCREEN] EXT-Screen Version: 2.5.0 rev: 240307 [10.03.2024 10:45.17.453] [LOG] [SCREEN] Mode 6: Python script (Relay on/off) [10.03.2024 10:45.17.455] [LOG] [SCREEN] Availability started [10.03.2024 10:45.17.458] [LOG] [SCREEN] [CRON] Reading ON/OFF cron configuration... [10.03.2024 10:45.17.459] [LOG] [SCREEN] [CRON] [ON] no cron defined [10.03.2024 10:45.17.461] [LOG] [SCREEN] [CRON] [OFF] no cron defined [10.03.2024 10:45.17.471] [LOG] [SCREEN] [LIB] Start. [10.03.2024 10:45.17.474] [LOG] [SCREEN] Callback Governor: GOVERNOR_WORKING [10.03.2024 10:45.17.545] [LOG] [UPDATES] EXT-Updates Version: 1.3.0 rev: 240308 [10.03.2024 10:45.17.562] [LOG] [UPDATES] MagicMirror is running on pid: 1893 [10.03.2024 10:45.17.568] [LOG] [TELBOT] EXT-TelegramBot Version: 2.5.0 rev: 240303 [10.03.2024 10:45.21.093] [LOG] [TELBOT] [LIBRARY] All libraries loaded! [10.03.2024 10:45.21.097] [LOG] [GOVERNOR] EXT-Governor Version: 1.3.1 rev: 240303 [10.03.2024 10:45.21.101] [LOG] [GOVERNOR] Governor library initialized... [10.03.2024 10:45.21.164] [LOG] [GOVERNOR] Start [10.03.2024 10:45.21.779] [LOG] [DETECTOR] [LIBRARY] All libraries loaded! [10.03.2024 10:45.21.819] [LOG] [TELBOT] [DATA] Ready! [10.03.2024 10:45.21.840] [LOG] [DETECTOR] [DATA] Snowboy is initialized with 1 Models: jarvis [10.03.2024 10:45.21.842] [LOG] [DETECTOR] [DATA] Initialized [10.03.2024 10:45.21.969] [INFO] Checking git for module: EXT-Detector [10.03.2024 10:45.22.069] [LOG] [SCREEN] [LIB] [POWER] Display from false ---> true [10.03.2024 10:45.22.121] [LOG] [GA] [WEBSITE] Detected: EXT-Screen [10.03.2024 10:45.22.143] [LOG] [GA] [WEBSITE] Detected: EXT-Governor [10.03.2024 10:45.22.153] [LOG] [GA] [WEBSITE] Detected: EXT-Pir [10.03.2024 10:45.22.164] [LOG] [PIR] [CORE] Start [10.03.2024 10:45.22.227] [LOG] [GA] [WEBSITE] Detected: EXT-TelegramBot [10.03.2024 10:45.22.249] [LOG] [GA] [WEBSITE] Detected: EXT-Detector [10.03.2024 10:45.22.286] [LOG] [GA] [WEBSITE] [PM2] checking PM2 using... [10.03.2024 10:45.22.724] [INFO] Checking git for module: MMM-GoogleCalendar [10.03.2024 10:45.22.788] [LOG] [GOVERNOR] Actual: ondemand [10.03.2024 10:45.22.792] [LOG] [GOVERNOR] Already set [10.03.2024 10:45.22.804] [LOG] [GOVERNOR] Callback: { actived: true, wanted: 'ondemand', actual: 'ondemand', error: null } [10.03.2024 10:45.22.817] [LOG] [SCREEN] [LIB] Response PY -- Check State: 0 [10.03.2024 10:45.22.821] [LOG] [SCREEN] [LIB] Display: Force On Start [10.03.2024 10:45.22.825] [LOG] [SCREEN] [LIB] Display ON. [10.03.2024 10:45.22.884] [INFO] updatenotification: You are using pm2 with MagicMirror [10.03.2024 10:45.23.668] [LOG] [DETECTOR] [RULES] Start listening. 1 Models [10.03.2024 10:45.23.672] [LOG] [GA] [WEBSITE] Detected: EXT-Updates [10.03.2024 10:45.24.483] [INFO] Checking git for module: MMM-homeassistant-sensors [10.03.2024 10:45.24.965] [LOG] [SCREEN] [LIB] Relay is ON [10.03.2024 10:45.25.053] [INFO] Newsfeed-Fetcher: Broadcasting 30 items. [10.03.2024 10:45.25.235] [INFO] Checking git for module: EXT-Pir [10.03.2024 10:45.25.362] [LOG] [GA] [WEBSITE] [PM2] You don't use PM2 [10.03.2024 10:45.25.561] [INFO] Checking git for module: EXT-Screen [10.03.2024 10:45.30.684] [INFO] Checking git for module: EXT-Updates [10.03.2024 10:45.31.435] [INFO] Checking git for module: EXT-TelegramBot [10.03.2024 10:45.31.682] [INFO] Checking git for module: EXT-Governor [10.03.2024 10:45.32.207] [INFO] Checking git for module: MMM-RTSPtoWeb [10.03.2024 10:45.32.526] [INFO] Checking git for module: MagicMirror [10.03.2024 10:45.33.234] [INFO] MMM-GoogleCalendar: 10 events loaded for familyxxxxxxxxxxxxxxxxxxxxxx@group.calendar.google.com [10.03.2024 10:45.50.013] [LOG] [GA] [SYSTEMINFO] Read Uptimed [10.03.2024 10:45.50.015] [LOG] [GA] [SYSTEMINFO] Initialized [10.03.2024 10:45.50.033] [WARN] [GA] WARN: You are using default username or default password [10.03.2024 10:45.50.035] [WARN] [GA] WARN: Don't forget to change it! [10.03.2024 10:45.50.117] [LOG] [GA] Website Ready! [10.03.2024 10:45.50.165] [LOG] [GA] Loading Server... [10.03.2024 10:45.51.369] [LOG] [GA] [WEBSITE] [SERVER] Start listening on port 8081 [10.03.2024 10:45.51.370] [LOG] [GA] [WEBSITE] [SERVER] Available locally at http://192.168.0.14:8081 [10.03.2024 10:45.51.371] [LOG] [GA] Server Ready! [10.03.2024 10:46.28.536] [LOG] [SCREEN] Callback Governor: GOVERNOR_SLEEPING [10.03.2024 10:46.28.541] [LOG] [SCREEN] [LIB] Stops by counter. [10.03.2024 10:46.29.006] [LOG] [SCREEN] [LIB] Response PY -- Check State: 1 [10.03.2024 10:46.29.011] [LOG] [SCREEN] [LIB] Display -- Actual: false - Wanted: false [10.03.2024 10:46.29.088] [LOG] [GOVERNOR] Actual: ondemand [10.03.2024 10:46.29.166] [LOG] [GOVERNOR] Set: powersave [10.03.2024 10:46.29.170] [LOG] [GOVERNOR] Callback: { actived: true, wanted: 'powersave', actual: 'ondemand', error: null } [10.03.2024 10:46.29.448] [LOG] [SCREEN] [LIB] [POWER] Display from true ---> false [10.03.2024 10:47.15.880] [LOG] [SCREEN] [LIB] Restart. [10.03.2024 10:47.15.883] [LOG] [SCREEN] Callback Governor: GOVERNOR_WORKING [10.03.2024 10:47.15.980] [LOG] [SCREEN] [LIB] [Force ON] Turn ON Display [10.03.2024 10:47.16.162] [LOG] [GOVERNOR] Actual: powersave [10.03.2024 10:47.16.280] [LOG] [GOVERNOR] Set: ondemand [10.03.2024 10:47.16.285] [LOG] [GOVERNOR] Callback: { actived: true, wanted: 'ondemand', actual: 'powersave', error: null } [10.03.2024 10:47.16.499] [LOG] [SCREEN] [LIB] Response PY -- Check State: 1 [10.03.2024 10:47.16.501] [LOG] [SCREEN] [LIB] Display -- Actual: false - Wanted: true [10.03.2024 10:47.16.503] [LOG] [SCREEN] [LIB] Display ON. [10.03.2024 10:47.16.576] [LOG] [SCREEN] [LIB] [POWER] Display from false ---> true [10.03.2024 10:47.16.917] [LOG] [SCREEN] [LIB] Relay is ON [10.03.2024 10:47.17.340] [LOG] Offer requested for module_18_MMM-RTSPtoWeb [10.03.2024 10:47.37.563] [LOG] [GA] [WEBSITE] [192.168.0.30] Welcome admin, happy to serve you! [10.03.2024 10:48.17.325] [LOG] [SCREEN] Callback Governor: GOVERNOR_SLEEPING [10.03.2024 10:48.17.330] [LOG] [SCREEN] [LIB] Stops by counter. [10.03.2024 10:48.17.588] [LOG] [GOVERNOR] Actual: ondemand [10.03.2024 10:48.17.673] [LOG] [GOVERNOR] Set: powersave [10.03.2024 10:48.17.719] [LOG] [GOVERNOR] Callback: { actived: true, wanted: 'powersave', actual: 'ondemand', error: null } [10.03.2024 10:48.17.764] [LOG] [SCREEN] [LIB] [POWER] Display from true ---> false [10.03.2024 10:48.17.946] [LOG] [SCREEN] [LIB] Response PY -- Check State: 1 [10.03.2024 10:48.17.949] [LOG] [SCREEN] [LIB] Display -- Actual: false - Wanted: false [10.03.2024 10:49.27.280] [LOG] [PIR] [CORE] Detected presence [10.03.2024 10:49.27.297] [LOG] [SCREEN] [LIB] Restart. [10.03.2024 10:49.27.305] [LOG] [SCREEN] Callback Governor: GOVERNOR_WORKING [10.03.2024 10:49.27.541] [LOG] [GOVERNOR] Actual: powersave [10.03.2024 10:49.27.648] [LOG] [GOVERNOR] Set: ondemand [10.03.2024 10:49.27.651] [LOG] [GOVERNOR] Callback: { actived: true, wanted: 'ondemand', actual: 'powersave', error: null } [10.03.2024 10:49.27.858] [LOG] [SCREEN] [LIB] [POWER] Display from false ---> true [10.03.2024 10:49.27.893] [LOG] [SCREEN] [LIB] Response PY -- Check State: 1 [10.03.2024 10:49.27.894] [LOG] [SCREEN] [LIB] Display -- Actual: false - Wanted: true [10.03.2024 10:49.27.909] [LOG] [SCREEN] [LIB] Display ON. [10.03.2024 10:49.28.267] [LOG] [SCREEN] [LIB] Relay is ON [10.03.2024 10:49.28.715] [LOG] Offer requested for module_18_MMM-RTSPtoWeb [10.03.2024 10:50.25.969] [INFO] Newsfeed-Fetcher: Broadcasting 30 items. [10.03.2024 10:50.28.907] [LOG] [SCREEN] Callback Governor: GOVERNOR_SLEEPING [10.03.2024 10:50.28.911] [LOG] [SCREEN] [LIB] Stops by counter. [10.03.2024 10:50.28.984] [LOG] [SCREEN] [LIB] [POWER] Display from true ---> false [10.03.2024 10:50.29.190] [LOG] [GOVERNOR] Actual: ondemand [10.03.2024 10:50.29.278] [LOG] [GOVERNOR] Set: powersave [10.03.2024 10:50.29.281] [LOG] [GOVERNOR] Callback: { actived: true, wanted: 'powersave', actual: 'ondemand', error: null } [10.03.2024 10:50.29.420] [LOG] [SCREEN] [LIB] Response PY -- Check State: 1 [10.03.2024 10:50.29.423] [LOG] [SCREEN] [LIB] Display -- Actual: false - Wanted: false
Thank you!
-
RE: Error: Gateway is not needed with MMM-GoogleAssistant v6
Updating GA to v6.1 solved the issue… and it’s blazing fast!
Thank you so so so much!! -
RE: Error: Gateway is not needed with MMM-GoogleAssistant v6
I don’t know if it’s ok but after 3 days GA is still loading:
meanwhile screen doesn’t turn off, telegram isn’t working… and so on.
Any help?
-
RE: Error: Gateway is not needed with MMM-GoogleAssistant v6
Ok I deleted gateway configuration from config and Gateway folder. After rebooting (and after a couple more reboot to try to fix) it is still all stuck - no error about Gateway but still stuck here after 30 minutes:
-
RE: Error: Gateway is not needed with MMM-GoogleAssistant v6
And where could you configure the removed parameters? port and “usepm2”? Are these not configurable anymore?
-
RE: Error: Gateway is not needed with MMM-GoogleAssistant v6
After another reboot, and the same error, it proceeded and loaded everything!
So just asking if I can remove the entire gateway configuration from config.js and delete the module (from website or folder).
Thanks! -
RE: Error: Gateway is not needed with MMM-GoogleAssistant v6
When GA 6 arrived I already did point no. 1 in that thread, and all have worked until yesterday…
I don’t know how to delete Gateway without the web interface (should I simply delete the folder inside Modules?) but I can remove the configuration from config.wait: should I delete gateway section in config? Maybe not… it has some config info…
except for username and password, that now are in GA config, are the others value useless?module: 'Gateway', config: { debug: true, port: 8081, username: 'admin', password: 'admin', noLogin: false, usePM2: true, PM2Id: 0, useMapping: false, portMapping: 8081
-
Error: Gateway is not needed with MMM-GoogleAssistant v6
Hi and thank you for you continuous update and for adding functionalities!
Some days ago my mirror auto updated to GA v6.03 (according to my telegram bot) and all was working fine until today.
Today my mirror won’t come on when approachingì, it seems stuck so I rebooted it. Now loading is stuck with this screen:I don’t know why it bothered about Gateway since (I believe) it was already removed with GA v6.0…
I don’t have access to Gateway and modules are not loaded, so the sceen never goes blank.
Also I don’t know where to find a startup log without accessing Gateway…Thanks in advance for your help!
-
RE: MM won't start automatically after modules update
ok, now I have two logs and if I understand well, it seems fixed:
pm2_setup.log
pm2 setup starting - Thu Nov 9 09:58:58 CET 2023 using parameter bash system is Linux magicmirror 5.15.84-v7+ #1613 SMP Thu Jan 5 11:59:48 GMT 2023 armv7l GNU/Linux the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye node version v20.8.0 force installing latest npm version via npm npm version 10.1.0 pm2 installed get the pm2 platform specific startup command startup command = sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi [PM2] Init System found: systemd Platform systemd Template [Unit] Description=PM2 process manager Documentation=https://pm2.keymetrics.io/ After=network.target [Service] Type=forking User=pi LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin Environment=PM2_HOME=/home/pi/.pm2 PIDFile=/home/pi/.pm2/pm2.pid Restart=on-failure ExecStart=/usr/lib/node_modules/pm2/bin/pm2 resurrect ExecReload=/usr/lib/node_modules/pm2/bin/pm2 reload all ExecStop=/usr/lib/node_modules/pm2/bin/pm2 kill [Install] WantedBy=multi-user.target Target path /etc/systemd/system/pm2-pi.service Command list [ 'systemctl enable pm2-pi' ] [PM2] Writing init configuration in /etc/systemd/system/pm2-pi.service [PM2] Making script booting at startup... [PM2] [-] Executing: systemctl enable pm2-pi... [PM2] [v] Command successfully executed. +---------------------------------------+ [PM2] Freeze a process list on reboot via: $ pm2 save [PM2] Remove init script via: $ pm2 unstartup systemd pm2 startup command done configure the pm2 config file for MagicMirror start MagicMirror via pm2 now save MagicMirror pm2 config now pm2 setup completed - Thu Nov 9 09:59:23 CET 2023
dump.pm2:
[ { "namespace": "default", "kill_retry_time": 100, "windowsHide": true, "username": "pi", "treekill": true, "automation": true, "pmx": true, "instance_var": "NODE_APP_INSTANCE", "watch": [ "/home/pi/MagicMirror/config/config.js" ], "autorestart": true, "vizion": true, "merge_logs": true, "env": { "MagicMirror": "{}", "PM2_HOME": "/home/pi/.pm2", "PM2_JSON_PROCESSING": "true", "PM2_USAGE": "CLI", "_": "/usr/bin/pm2", "OLDPWD": "/home/pi", "TEXTDOMAIN": "Linux-PAM", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus", "SAL_USE_VCLPLUGIN": "gtk3", "GDMSESSION": "lightdm-xsession", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games", "XDG_DATA_DIRS": "/usr/share/fkms:/usr/local/share:/usr/share/raspi-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg", "XDG_RUNTIME_DIR": "/run/user/1000", "XDG_SESSION_ID": "3", "XDG_VTNR": "7", "SHLVL": "2", "DISPLAY": ":0", "USER": "pi", "TERM": "xterm-256color", "XDG_SESSION_CLASS": "user", "XDG_SEAT_PATH": "/org/freedesktop/DisplayManager/Seat0", "VTE_VERSION": "6203", "XDG_CURRENT_DESKTOP": "LXDE", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:", "LANG": "en_GB.UTF-8", "HOME": "/home/pi", "XDG_GREETER_DATA_DIR": "/var/lib/lightdm/data/pi", "XAUTHORITY": "/home/pi/.Xauthority", "GPG_AGENT_INFO": "/run/user/1000/gnupg/S.gpg-agent:0:1", "XDG_SESSION_TYPE": "x11", "QT_QPA_PLATFORMTHEME": "qt5ct", "LOGNAME": "pi", "XDG_SESSION_DESKTOP": "lightdm-xsession", "PWD": "/home/pi/MagicMirror", "XDG_SEAT": "seat0", "NO_AT_BRIDGE": "1", "SSH_AGENT_PID": "921", "DESKTOP_SESSION": "LXDE-pi", "XDG_CONFIG_HOME": "/home/pi/.config", "SSH_AUTH_SOCK": "/tmp/ssh-ksGYgH0iT76z/agent.795", "_LXSESSION_PID": "795", "XDG_MENU_PREFIX": "lxde-pi-", "XDG_SESSION_PATH": "/org/freedesktop/DisplayManager/Session0", "XDG_CONFIG_DIRS": "/etc/xdg", "COLORTERM": "truecolor", "SHELL": "/bin/bash", "unique_id": "c3c96e8f-53b9-4512-8533-49c5ff51602c" }, "name": "MagicMirror", "node_args": [], "pm_exec_path": "/home/pi/MagicMirror/installers/mm.sh", "pm_cwd": "/home/pi/MagicMirror", "exec_interpreter": "bash", "exec_mode": "fork_mode", "pm_out_log_path": "/home/pi/.pm2/logs/MagicMirror-out.log", "pm_err_log_path": "/home/pi/.pm2/logs/MagicMirror-error.log", "pm_pid_path": "/home/pi/.pm2/pids/MagicMirror-0.pid", "km_link": false, "vizion_running": false, "NODE_APP_INSTANCE": 0, "MagicMirror": "{}", "PM2_HOME": "/home/pi/.pm2", "PM2_JSON_PROCESSING": "true", "PM2_USAGE": "CLI", "_": "/usr/bin/pm2", "OLDPWD": "/home/pi", "TEXTDOMAIN": "Linux-PAM", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus", "SAL_USE_VCLPLUGIN": "gtk3", "GDMSESSION": "lightdm-xsession", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games", "XDG_DATA_DIRS": "/usr/share/fkms:/usr/local/share:/usr/share/raspi-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg", "XDG_RUNTIME_DIR": "/run/user/1000", "XDG_SESSION_ID": "3", "XDG_VTNR": "7", "SHLVL": "2", "DISPLAY": ":0", "USER": "pi", "TERM": "xterm-256color", "XDG_SESSION_CLASS": "user", "XDG_SEAT_PATH": "/org/freedesktop/DisplayManager/Seat0", "VTE_VERSION": "6203", "XDG_CURRENT_DESKTOP": "LXDE", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:", "LANG": "en_GB.UTF-8", "HOME": "/home/pi", "XDG_GREETER_DATA_DIR": "/var/lib/lightdm/data/pi", "XAUTHORITY": "/home/pi/.Xauthority", "GPG_AGENT_INFO": "/run/user/1000/gnupg/S.gpg-agent:0:1", "XDG_SESSION_TYPE": "x11", "QT_QPA_PLATFORMTHEME": "qt5ct", "LOGNAME": "pi", "XDG_SESSION_DESKTOP": "lightdm-xsession", "PWD": "/home/pi/MagicMirror", "XDG_SEAT": "seat0", "NO_AT_BRIDGE": "1", "SSH_AGENT_PID": "921", "DESKTOP_SESSION": "LXDE-pi", "XDG_CONFIG_HOME": "/home/pi/.config", "SSH_AUTH_SOCK": "/tmp/ssh-ksGYgH0iT76z/agent.795", "_LXSESSION_PID": "795", "XDG_MENU_PREFIX": "lxde-pi-", "XDG_SESSION_PATH": "/org/freedesktop/DisplayManager/Session0", "XDG_CONFIG_DIRS": "/etc/xdg", "COLORTERM": "truecolor", "SHELL": "/bin/bash", "unique_id": "c3c96e8f-53b9-4512-8533-49c5ff51602c", "status": "online", "pm_uptime": 1699520359901, "axm_actions": [], "axm_monitor": {}, "axm_options": {}, "axm_dynamic": {}, "created_at": 1699520359901, "restart_time": 0, "unstable_restarts": 0, "version": "2.25.0", "versioning": { "type": "git", "url": "https://github.com/MichMich/MagicMirror.git", "revision": "343e7de7bd295a69e68e4ee520552e0785a99e1c", "comment": "Release v2.25.0 (#3214)\n\n## [2.25.0] - 2023-10-01\r\n\r\nThanks to: @bugsounet, @dgoth, @dependabot, @kenzal, @Knapoc,\r\n@KristjanESPERANTO, @martingron, @NolanKingdon, @Paranoid93,\r\n@TeddyStarinvest and @Ybbet.\r\n\r\nSpecial thanks to @khassel, @rejas and @sdetweil for taking over most\r\n(if not all) of the work on this release as project collaborators. This\r\nversion would not be there without their effort. Thank you guys! You are\r\nawesome!\r\n\r\n> ⚠️ This release needs nodejs version >= `v18`, older releases have\r\nreached end of life and will not work!\r\n\r\n### Added\r\n\r\n- Added UV Index support to OpenWeatherMap\r\n- Added 'hideDuplicates' flag to the calendar module\r\n- Added `allowOverrideNotification` to weather module to enable sending\r\ncurrent weather objects with the `CURRENT_WEATHER_OVERRIDE` notification\r\nto supplement/replace the current weather displayed\r\n- Added optional AnimateCSS animate for `hide()`, `show()`,\r\n`updateDom()`\r\n- Added AnimateIn and animateOut in module config definition\r\n- Apply AnimateIn rules on the first start\r\n- Added automatic client page reload when server was restarted by\r\nsetting `reloadAfterServerRestart: true` in `config.js`, per default\r\n`false` (#3105)\r\n- Added eventClass option for customEvents on the default calendar\r\n- Added AnimateCSS integration in tests suite (#3206)\r\n- Added npm dependabot [Reserved to developer] (#3210)\r\n- Added improved logging for calendar (#3110)\r\n\r\n### Removed\r\n\r\n- **Breaking Change**: Removed `digest` authentication method from\r\ncalendar module (which was already broken since release `2.15.0`)\r\n\r\n### Updated\r\n\r\n- Update roboto fonts to version v5\r\n- Update issue template\r\n- Update dev/dependencies incl. electron to v26\r\n- Replace pretty-quick by lint-staged\r\n(<https://github.com/azz/pretty-quick/issues/164>)\r\n- Update engine node >=18. v16 reached it's end of life. (#3170)\r\n- Update typescript definition for modules\r\n- Cleaned up nunjuck templates\r\n- Replace `node-fetch` with internal fetch (#2649) and remove\r\n`digest-fetch`\r\n- Update the French translation according to the English file.\r\n- Update dependabot incl. vendor/fonts (monthly check)\r\n- Renew `package-lock.json` for release\r\n\r\n### Fixed\r\n\r\n- Fix engine check on npm install (#3135)\r\n- Fix undefined formatTime method in clock module (#3143)\r\n- Fix clientonly startup fails after async added (#3151)\r\n- Fix electron width/heigth when using xrandr under bullseye\r\n- Fix time issue with certain recurring events in calendar module\r\n- Fix ipWhiteList test (#3179)\r\n- Fix newsfeed: Convert HTML entities, codes and tag in description\r\n(#3191)\r\n- Respect width/height (no fullscreen) if set in electronOptions\r\n(together with `fullscreen: false`) in `config.js` (#3174)\r\n- Fix: AnimateCSS merge hide() and show() animated css class when we do\r\nmultiple call\r\n- Fix `Uncaught SyntaxError: Identifier 'getCorsUrl' has already been\r\ndeclared (at utils.js:1:1)` when using `clock` and `weather` module\r\n(#3204)\r\n- Fix overriding `config.js` when running tests (#3201)\r\n- Fix issue in weathergov provider with probability of precipitation not\r\nshowing up on hourly or daily forecast\r\n\r\n---------\r\n\r\nSigned-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>\r\nSigned-off-by: dependabot[bot] <support@github.com>\r\nCo-authored-by: Karsten Hassel <hassel@gmx.de>\r\nCo-authored-by: Malte Hallström <46646495+SkySails@users.noreply.github.com>\r\nCo-authored-by: Veeck <github@veeck.de>\r\nCo-authored-by: veeck <michael@veeck.de>\r\nCo-authored-by: dWoolridge <dwoolridge@charter.net>\r\nCo-authored-by: Johan <jojjepersson@yahoo.se>\r\nCo-authored-by: Dario Mratovich <dario_mratovich@hotmail.com>\r\nCo-authored-by: Dario Mratovich <dario.mratovich@outlook.com>\r\nCo-authored-by: Magnus <34011212+MagMar94@users.noreply.github.com>\r\nCo-authored-by: Naveen <172697+naveensrinivasan@users.noreply.github.com>\r\nCo-authored-by: buxxi <buxxi@omfilm.net>\r\nCo-authored-by: Thomas Hirschberger <47733292+Tom-Hirschberger@users.noreply.github.com>\r\nCo-authored-by: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com>\r\nCo-authored-by: Andrés Vanegas Jiménez <142350+angeldeejay@users.noreply.github.com>\r\nCo-authored-by: Dave Child <dave@addedbytes.com>\r\nCo-authored-by: grenagit <46225780+grenagit@users.noreply.github.com>\r\nCo-authored-by: Grena <grena@grenabox.fr>\r\nCo-authored-by: Magnus Marthinsen <magmar@online.no>\r\nCo-authored-by: Patrick <psieg@users.noreply.github.com>\r\nCo-authored-by: Piotr Rajnisz <56397164+rajniszp@users.noreply.github.com>\r\nCo-authored-by: Suthep Yonphimai <tomzt@users.noreply.github.com>\r\nCo-authored-by: CarJem Generations (Carter Wallace) <cwallacecs@gmail.com>\r\nCo-authored-by: Nicholas Fogal <nfogal.misc@gmail.com>\r\nCo-authored-by: JakeBinney <126349119+JakeBinney@users.noreply.github.com>\r\nCo-authored-by: OWL4C <124401812+OWL4C@users.noreply.github.com>\r\nCo-authored-by: Oscar Björkman <17575446+oscarb@users.noreply.github.com>\r\nCo-authored-by: Ismar Slomic <ismar@slomic.no>\r\nCo-authored-by: Jørgen Veum-Wahlberg <jorgen.wahlberg@amedia.no>\r\nCo-authored-by: Eddie Hung <6740044+eddiehung@users.noreply.github.com>\r\nCo-authored-by: Bugsounet - Cédric <github@bugsounet.fr>\r\nCo-authored-by: bugsounet <bugsounet@bugsounet.fr>\r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>\r\nCo-authored-by: Knapoc <Knapoc@users.noreply.github.com>\r\nCo-authored-by: sam detweiler <sdetweil@gmail.com>\r\nCo-authored-by: veeck <michael.veeck@nebenan.de>\r\nCo-authored-by: Paranoid93 <6515818+Paranoid93@users.noreply.github.com>\r\nCo-authored-by: NolanKingdon <27908974+NolanKingdon@users.noreply.github.com>\r\nCo-authored-by: J. Kenzal Hunter <kenzal.hunter@gmail.com>\r\nCo-authored-by: Teddy <teddy.payet@gmail.com>\r\nCo-authored-by: TeddyStarinvest <teddy.payet@starinvest.com>\r\nCo-authored-by: martingron <61826403+martingron@users.noreply.github.com>\r\nCo-authored-by: dgoth <132394363+dgoth@users.noreply.github.com>", "unstaged": true, "branch": "master", "remotes": [ "origin" ], "remote": "origin", "branch_exists_on_remote": true, "ahead": false, "next_rev": null, "prev_rev": "e87f50e64aeaf3a8587f4855f4679c3223959fd0", "update_time": "2023-11-09T08:59:21.037Z", "tags": [ "v2.23.0", "v2.24.0", "v2.25.0" ], "repo_path": "/home/pi/MagicMirror" } } ]
I’ll check if it works again… thank you so so much for now!
-
RE: MM won't start automatically after modules update
Still broken and can’t find what to do to re-enable autostart
-
RE: MM won't start automatically after modules update
I had no info about the old installer was nothing special… you always said to use only your installers so I’m scared about using info found elsewhere to mod\fix my mirror
pm2 is installed
mm.sh script is present in installed folder, with this text:#!/bin/bash
This file is still here to keep PM2 working on older installations.
cd ~/MagicMirror
DISPLAY=:0 npm startIs this still ok?
I don’t know where to find logs when MM is not started (I have very little knowloedge of linux systems)
-
RE: MM won't start automatically after modules update
The one that was in your wiki some time ago…
-
RE: MM won't start automatically after modules update
I found an official way to autostart MM, but I installed it with your script… how can I be sure that mixing your script and official script won’t break something?
https://docs.magicmirror.builders/configuration/autostart.html#using-pm2
-
RE: MM won't start automatically after modules update
Anyone? It broke after 2.25 upgrade…
-
RE: MM won't start automatically after modules update
I think, but I don’t know anything about linux and how\where it should be configured…