MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

MM Starts before network is up

  • I am using pm2 and it’s startup scripts to start MM on boot on my pi 3. I tried several different ordering techniques including:

    Description=PM2 process manager

    For some reason nothing works and I keep getting auth errors on my modules and a constant Loading text in my calendar.

    I resorted to writing this in my MM startup script to wait for a ping:

    ((count = 100))
    while [[ $count -ne 0 ]] ; do
        ping -c 1
        if [[ $rc -eq 0 ]] ; then
            ((count = 1))
        ((count = count - 1))
    if [[ $rc -eq 0 ]] ; then
    	cd ~/MagicMirror
    	DISPLAY=:0 npm start

    Anyone else have any ideas?

  • This post is deleted!

Log in to reply