Read the statement by Michael Teeuw here.
Multiple "Mirrors" from a single device
-
@sdetweil
after running the mm2.sh script (runs as “npm run server”) and then I initiate a new SSH to the MM, I still only see a single instance (the original instance from mm.sh) of MM running when I issue a pm2 status command.
Although I can physically see the second MM displayed as desired in my browser, I’m not seeing the second instance via the pm2 status command. -
@sdetweil
Fair enough.
So i’ll have to have a physical computer like a Pi, NUC or MiniPC attached to the TV via HDMI to display the MM via that computer’s browser.
Not a big deal as the TV would be used for viewing TV channels and online streaming content anyway. -
@DarrenO-0 how did you add it to pm2 . just doing mm2.sh doesn’t
pm2 start xxxx
xxx is the mm2.sh
or the MagicMirror2.json
it should run and you should see with statusthen pm2 save so that it will be saved to the bootup start list
-
@sdetweil
yeah, I started it via the mm2.sh script that had the “npm run server” command
I’ve now started the second instance as “pm2 start pm2_MagicMirror2_new.json” and “pm2 status” does show both instances running.
Ran “pm2 save”, rebooted the host and both instances are showing as expected - MM#1 on the display connected to the host device, with MM#1 and MM#2 via a browser on a remote device/devices. -
@DarrenO-0 awesome!!..
now select which post is the one that you think ‘solved’ this
hit the 3 dots (bottom right of the post) and click on Mark this post as the correct answer -
-
@DarrenO-0 Ahh, gotcha. Yes, this is for two on the same system, which linux treats as one huge monitor.