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

    Topics

    • K

      Wake MM with pir Module from the shell...

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      1k Views
      N
      Hi @kiki99: You can send the SCREEN_WAKEUP notification to MMM-PIR-Sensor via MMM-Remote-Control (some details how to structure the GET request here): https://forum.magicmirror.builders/topic/6106/use-mmm-buttons-to-hide-show-modules). If you can get the Alexa wakeword to send the notification, it should wake the monitor as though you triggered the PIR.
    • K

      console.log in getDom

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      6
      0 Votes
      6 Posts
      2k Views
      ?
      @kiki99 I think it might be related with electron. You can pipe whole electron console output to file or others. But I didn’t test. Check this. https://github.com/dustinblackman/winston-electron/blob/master/README.md
    • K

      'RouterException' with message 'you musst be logged in to use this method'

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      1
      0 Votes
      1 Posts
      862 Views
      K
      Hi Forum ;) it seems i’m not fit enough with Linux. I have a php script to get the last missed calls from my speedport hybrid router. When i call ‘cd ~/MagicMirror/modules/speedport1707/tests/ && php missedcalls.php’ i get the last 5 misse calls. The Scipt need this directory, but with htis call it works from anywhere. No i changed the module MMM-SystemStats, i’ve added this command line in the node_helper.js as fifth command. But from there i get errors in the script: { Error: Command failed: cd ~/MagicMirror/modules/speedport1707/tests/ && php missedcalls.php PHP Fatal error: Uncaught exception 'RouterException' with message 'you musst be logged in to use this method' in /home/pi/MagicMirror/modules/speedport1707/lib/trait/Login.class.php:136 Stack trace: #0 /home/pi/MagicMirror/modules/speedport1707/lib/trait/Login.class.php(151): SpeedportHybrid->checkLogin() #1 /home/pi/MagicMirror/modules/speedport1707/tests/missedcalls.php(5): SpeedportHybrid->logout() #2 {main} thrown in /home/pi/MagicMirror/modules/speedport1707/lib/trait/Login.class.php on line 136 It was very hard for me to get the script running but now i’ve no idea. This are “only” web requests, so it can’t be anything with the permission when running from npm or can it? I’m very new with linux and php. I would be happy for every tip :) Thanks K.
    • 1 / 1