Read the statement by Michael Teeuw here.
Rotate screen problem when MM starts
-
@sdetweil if i turn on left right or inverted, when i start MM screen rotate on normal position
-
@MisterT makes no sense.
do
pm2 stop all
pm2 delete 0
pm2 savethen boot to rotated
pm2 start installers/pm2_MagicMirror.json
should be vertical
then ctrl-m
pm2 savethen sudo reboot
-
@sdetweil thx for your support. i found the guilty module after 2 hours. it’s MMM-PIR-Sensor-Lite. There is an hidden rotate parameter and the default parameter is normal rotate. that’s why when MM starts there was a rotate screen on normal position.
So for people with rotate problem when MM Starts and if you have MMM-PIR-Sensor-Lite, add this parameter in your config.js:
rotation Direction of content rotation.
Possible values: ‘normal’, ‘left’, ‘right’ or ‘inverted’
Default value: ‘normal’ -
@MisterT ah, the xrandr under the covers…
glad u found it. thanks for the feedback
-
I don’t know about the Pi3, but on the Pi4 you just go to display settings and tell it to go vertical… easier than all this programming that I never got to work with my MM