MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. MisterT
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 11
    • Posts 56
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-Domiticz

      @Mazzokun this command line is just for restart domoricz There is no link directly with magic mirror

      The command line in terminal (Home/pi/)

      Sudo service domoticz.sh status
      Just to know if domoticz is on or off

      Sudo service domoticz.sh restart
      Just to stop and start again domoticz

      Follow this link to start domoticz when raspberry boot

      https://www.domoticz.com/wiki/Linux

      And chapter

      Starting Domoticz automatically when the system boots

      posted in Utilities
      M
      MisterT
    • RE: MMM-Domiticz

      @art212 i think it’s possible to run domoticz ans MM on the same raspberry. On terminal, if you write this command line, does domoticz appears on screen ?

      Sudo service domoticz restart

      If not domoticz is on but in background and You Can start MM with pm2

      posted in Utilities
      M
      MisterT
    • RE: MMM-Domiticz

      @art212 Domoticz and Magic mirror are separate. In the config.js, just complete the Ip adress of Domoticz Device and Domoticz user and password if need. In my case, Domoticz is on a raspberry and my magic mirror on a other one

      posted in Utilities
      M
      MisterT
    • RE: MMM-Domiticz

      Hi @Mazzokun
      I had a problem with this module and with the help of @sdetweil a New code is available here. It works with domoticz password

      [link text] https://forum.magicmirror.builders/topic/11123/mmm-domoticz-cannot-read-property-0-of-undefined/13?page=2
      (link url)

      Enjoy

      posted in Utilities
      M
      MisterT
    • RE: Cronjob doesn't work with my MM

      @sdetweil i apply your command line and magic mirror starts with raspbian. I’ll come back if i have problems with my crontab
      Thx

      posted in Troubleshooting
      M
      MisterT
    • RE: Cronjob doesn't work with my MM

      Hi it’s me again
      So i made a fresh installation of raspbian buster and latest version of Magic mirror. I used the auto install from @sdetweil . At the end of autoinstall, a message appears and says: Do you want use pm2 to autostart your mirror?
      So i pressed yes.
      After this i restart my Magic mirror but it didn’t start with raspbian.

      I try my cronjob in crontab-e but nothing happen

      SHELL=/bin/sh
      PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
      01 00 * * *   pi      pm2 restart MagicMirror
      00 08 * * *   pi      pm2 restart MagicMirror
      10 16 * * *   pi      pm2 stop MagicMirror
      
      

      does this command line can resolve my problem from @sdetweil git script?

      bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)"
      

      Thx for next answers

      posted in Troubleshooting
      M
      MisterT
    • RE: Cronjob doesn't work with my MM

      @chassain-0 i tried your solution but still not work, same with pm2 stop/start MagicMirror

      @sdetweil with this cron

      44 18 * * * pi pm2 start MagicMirror > pm2 status 0
      or
      46 18 * * * pi pm2 start MagicMirror > pm2 info 0

      i had a log in pi folder at the same time but a blank log

      I tested my cron with a simple Hello word .py and cronjob works.

      have you an other solution ?

      posted in Troubleshooting
      M
      MisterT
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 2 / 6