MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. kiki99
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 7
    • Best 0
    • Controversial 0
    • Groups 0

    kiki99

    @kiki99

    0
    Reputation
    510
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    kiki99 Unfollow Follow

    Latest posts made by kiki99

    • Wake MM with pir Module from the shell...

      Hi Forum,
      i have the Magic Mirror running with the Module “MMM-PIR-Sensor”. Until here no problem.
      In the Background there is running the alexa-avs-sample app. Until here even no problem 😉
      But no to the Problem:
      Alexa heres me via a usb Mikro, so this works at every time. But: Alexa speaks via hdmi and the monitor. So when the pir module puts the monitor off i can’t here anything of course.

      The alexa wakeword engine runs via a shell console. I can see actions there, every time the wakeword is recognized. I’ve send a request to the alxa Furum, how to send any notification in this moment. I’m shure there is a way 😉

      And now the real Problem: What command i have to send at this moment? The command has to put the monitor on and to restart the timer in the pir module maybe via a command to the core module? Or can i simulate an Hardware action from the pir Sensor? Only to put the Moniror on would not be enough. The Pir-Module has to restart the timer, so that the Moniros doesn’t run until anyone stands in front of the mirror.

      Many thanks for every Tip 🙂

      best Regards.

      posted in General Discussion
      K
      kiki99
    • RE: console.log in getDom

      Okay, many thanks at first for that.

      But is there a way to get the output from the “console of the browser” when i start it via npm start? In the npm log there is nothing.

      It’s a bigger structure so i can’t simple add it to the wrapper, or can i? ;))

      Best Regards.

      posted in Troubleshooting
      K
      kiki99
    • console.log in getDom

      Hi Forum 😉
      Is it possible, that console.log and log.Info does not work in getDom? I did not get any Output. Is there a way?

      Many Tanks fort each tip 🙂

      Best regards k.

      posted in Troubleshooting
      K
      kiki99
    • 'RouterException' with message 'you musst be logged in to use this method'

      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.

      posted in Troubleshooting
      K
      kiki99
    • RE: MMM-Fuel

      @strawberry-3.141 Oh my …, sorry for this stupid Mistake and the bad format.

      Many thanks for the quick help 🙂

      posted in Transport
      K
      kiki99
    • RE: MMM-Fuel

      @strawberry-3.141: yes, of course 😉

      	{
      		module: 'MMM-Fuel',
      		position: 'lower_third',
      		config: {
          		api_key: 'myApiKeyHere,
          		lat: 49.164136,
          		lng: 9.059751,
          		types: ["E5"],
      		sortBY: "E5",
      		radius: 10,
      		colored: true,
      		open: true,
      		rotate: false
      		}
      	},
      

      i see no prices (no column for that). But the List works.

      posted in Transport
      K
      kiki99
    • RE: MMM-Fuel

      Hi and Thanks for this module.

      I’ve only one Problem: I did not get the column with the price 😉

      It seems all other things are okay.

      What can i do/check?

      Thanks a lot for every tip 🙂

      posted in Transport
      K
      kiki99