Read the statement by Michael Teeuw here.
Rpi 4 and two monitors
-
@sdetweil - if you comment out the chromium line in the run-start.sh does this cause you any issues/errors?
-
@NathTheDude no… you could just change config.js to serverOnly:true, then it won’t try to start chrome
-
@NathTheDude I started by doing
cd MagicMirror node serveronly
note no npm start needed, will run til you ctrl-break out
then tried multiple tries to get chrome on the second display…
(it works manually if the position is mispelled!)then once it worked reliably,
i killed the server instance
then I used pm2 to stop/start that instance til I got that to work.note that I had to use
–disable-bundled-ppapi-flash
on the second instance as it collided with the 1st… -
@saljoke
Hi. Thats right. i only use 1 Pi4 to serve both displays via 2 MM instances. first the originally MagicMirror directory and the second in a MagicMirror2 directory. Both powered up via PM2 and turned off and on via PIR sensor.The config looks like this:
language: “de”,
logLevel: [“INFO”, “LOG”, “WARN”, “ERROR”],
timeFormat: 24,
units: “metric”,
electronOptions: {fullscreen:true, x:1920},1920 is the resolution witdh of the main display.
Very easy to handle and good for the electrical consumption
-
@krocaq see my comment here , you can do it with ONE directory
https://forum.magicmirror.builders/topic/17239/two-display/2?_=1663555322286