Read the statement by Michael Teeuw here.
New installation but even default is displayed
-
Hi,
I did what you asked:pm2 start MagicMirror [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ]) [PM2] [MagicMirror](0) ✓ [PM2] Process successfully started ┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ ├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ default │ 2.26.0 │ fork │ 4369 │ 0s │ 0 │ online │ 0% │ 2.8mb │ pi │ disabled │ │ 1 │ mm │ default │ N/A │ fork │ 0 │ 0 │ 1 │ stopped │ 0% │ 0b │ pi │ disabled │I wonder why “watching” is disabled.
Manfred
-
@kupperma and did that bring up MagicMirror?
if so, you can delete the mm definition
pm2 delete mm pm2 savewatching
the system maybe doesn’t that support… in my json file I request it -
I deleted mm
But no, MagicMirror does not appear.
pm2 status looks like that now:~/MagicMirror $ pm2 status ┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ ├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ default │ 2.26.0 │ fork │ 4369 │ 6m │ 0 │ online │ 0% │ 2.8mb │ pi │ disabled │ -
@kupperma where are you doing the pm2 start?
on the MM system screen in a terminal window
over ssh
over vnc
???lets try this, without pm2 involved
pm2 stop all cd ~/MagicMirror npm start -
Here is the output:
npm start > magicmirror@2.26.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [06.01.2024 15:56.41.020] [LOG] Starting MagicMirror: v2.26.0 [06.01.2024 15:56.41.030] [LOG] Loading config ... [06.01.2024 15:56.41.035] [DEBUG] config template file not exists, no envsubst [06.01.2024 15:56.41.042] [LOG] Loading module helpers ... [06.01.2024 15:56.41.044] [LOG] No helper found for module: alert. [06.01.2024 15:56.41.095] [LOG] Initializing new module helper ... [06.01.2024 15:56.41.097] [LOG] Module helper loaded: updatenotification [06.01.2024 15:56.41.098] [LOG] No helper found for module: clock. [06.01.2024 15:56.41.376] [LOG] Initializing new module helper ... [06.01.2024 15:56.41.378] [LOG] Module helper loaded: calendar [06.01.2024 15:56.41.380] [LOG] No helper found for module: compliments. [06.01.2024 15:56.41.381] [LOG] No helper found for module: weather. [06.01.2024 15:56.41.580] [LOG] Initializing new module helper ... [06.01.2024 15:56.41.581] [LOG] Module helper loaded: newsfeed [06.01.2024 15:56.41.581] [LOG] All module helpers loaded. [06.01.2024 15:56.41.597] [LOG] Starting server on port 8080 ... [06.01.2024 15:56.42.098] [LOG] Server started ... [06.01.2024 15:56.42.099] [LOG] Connecting socket for: updatenotification [06.01.2024 15:56.42.101] [LOG] Starting module helper: updatenotification [06.01.2024 15:56.42.102] [LOG] Connecting socket for: calendar [06.01.2024 15:56.42.103] [LOG] Starting node helper for: calendar [06.01.2024 15:56.42.104] [LOG] Connecting socket for: newsfeed [06.01.2024 15:56.42.105] [LOG] Starting node helper for: newsfeed [06.01.2024 15:56.42.106] [LOG] Sockets connected & modules started ... [06.01.2024 15:56.42.132] [LOG] Launching application. [06.01.2024 15:56.45.490] [LOG] Create new calendarfetcher for url: https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics - Interval: 604800000 [06.01.2024 15:56.45.911] [LOG] Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 [06.01.2024 15:56.45.924] [INFO] updatenotification: Updater Class Loaded! [06.01.2024 15:56.45.926] [INFO] updatenotification: Checking PM2 using... [06.01.2024 15:56.45.931] [INFO] Checking git for module: MagicMirror [06.01.2024 15:56.47.527] [INFO] Calendar-Fetcher: Broadcasting 12 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics. [06.01.2024 15:56.47.822] [INFO] Newsfeed-Fetcher: Broadcasting 29 items. [06.01.2024 15:56.48.421] [INFO] updatenotification: You are not using pm2 -
@kupperma cool… thats good… tell me about the physical system hookup
where is the physical display? -
Sorry forgot to answer:
I am on the raspberrypi over ssh.The Display is connected directly via the HDMI Port of the pi . All equipment is right at arm distance, because I’m setting it up first before staching it behind the actual mirror.
But I am on the pi via ssh so that later I can do updates and probably adding new modules .Manfred
-
@kupperma which kind of pi? if Pi 4/5 is the port on the left (closest to power) hdmi port?
-
This is an pi 3 Model B V1.2
the HDMI is about 2 Centimeters right to the MicroUSB Power input.I updated to raspianOS bookworm first.
Manfred -
@kupperma weird…
do you have keyboard to pi system desktop?
if so, ctrl-alt-t to open a terminal window and do
echo $DISPLAY
