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

    Posts

    Recent Best Controversial
    • Start without internet connection and restart with, make modul work?

      Prehistory:
      I’ve been trying for weeks to switch pages with Real Buttons. This works quite well with MMM Page Selector.
      Now I wanted to press the button to display the Tagesschau 100sek with the module Podcast2.
      For days I try to integrate and it just does not start.
      Today:
      By a stupid coincidence, I discovered something.
      I went to work and took my Raspi to test by the way. Raspi started, desktop stays black! Aaaah! OK No internet. I put F11 so that I come to the desktop, then Turn on the W-LAN because otherwise no Internet possible. Terminal opened and MM restarted. “pm2 restart mm”
      MM comes. I think I’ll push the 2 buttons if the two sides are still changing, and YES it still does. Wy not ;-) Press the 3 button and behold! Podcast starts to run. I’m amazed. But why? What the hell is going on.
      I think, and do some tests.
      The following, if I start the computer without Internet, then shrink MM to get to the wi-fi switch ,. Turn on W-Lan and restart MM, the button works and podcast starts.
      But if I restart MM now it does not work anymore. So i must Start without Internet connection then restart MM and its Going.
      Very Strange!

      Now I’m not sure why that is and where to ask for help?
      MMM-Buttons
      MMM-Page-Selector,
      MMM-Podcast2
      or
      on the MagicMirror itself

      posted in Bug Hunt
      R
      robiv8
    • RE: [Remote-Control] Shutdown, Configure and Update your MagicMirror

      Hallo, my remote control work.
      but
      When I pull the restart button the MagicMirror restarts fine but I become a Fehler (Fail)
      What can this be?

      My Log after push the button:

      0|mm  | Shutting down server...
      0|mm  | Stopping module helper: MMM-Page-Selector
      0|mm  | Stopping module helper: MMM-Remote-Control
      0|mm  | Stopping module helper: MMM-DWD-WarnWeather
      0|mm  | Stopping module helper: MMM-PublicTransportHafas
      0|mm  | Stopping module helper: newsfeed
      0|mm  | Stopping module helper: MMM-Buttons
      0|mm  | Use --update-env to update environment variables
      0|mm  | [PM2] Applying action restartProcessId on app [mm](ids: 0)
      0|mm  | { Error: Command failed: pm2 restart mm
      0|mm  |     at ChildProcess.exithandler (child_process.js:287:12)
      0|mm  |     at emitTwo (events.js:126:13)
      0|mm  |     at ChildProcess.emit (events.js:214:7)
      0|mm  |     at maybeClose (internal/child_process.js:925:16)
      0|mm  |     at Socket.stream.socket.on (internal/child_process.js:346:11)
      0|mm  |     at emitOne (events.js:116:13)
      0|mm  |     at Socket.emit (events.js:211:7)
      0|mm  |     at Pipe._handle.close [as _onclose] (net.js:554:12)
      0|mm  |   killed: false,
      0|mm  |   code: null,
      0|mm  |   signal: 'SIGINT',
      0|mm  |   cmd: 'pm2 restart mm' }
      0|mm  | > magicmirror@2.6.0 start /home/pi/MagicMirror
      0|mm  | > sh run-start.sh
      0|mm  | Starting MagicMirror: v2.6.0
      0|mm  | Loading config ...
      

      0_1547069400759_Bildschirmfoto 2019-01-09 um 22.29.42.png

      posted in System
      R
      robiv8
    • RE: MMM podcast stops working since YQL service was turned off

      Wohoo Great!
      I will try it tomorrow.
      Many Thanks

      posted in Troubleshooting
      R
      robiv8
    • MMM podcast stops working since YQL service was turned off

      MMM podcast module stops working.
      Since this module works with YQL service and this was turned off.
      As of Thursday, Jan. 3, 2019, the YQL service at query.yahooapis.com will be retired.

      Is there a possibility that it is otherwise solved.
      Or an alternative!
      I need podcast for Tagesschau 100sek.

      posted in Troubleshooting
      R
      robiv8
    • RE: MMM-Podcast need Help

      Thanks, yes I understand that is missing a config. But where must this be and how looks the code.

      I have 6 Push buttons installed :-)
      0_1546684137698_IMG_2664 (1).jpg

      posted in Troubleshooting
      R
      robiv8
    • RE: MMM-Podcast need Help

      Thank you very much for the hint!
      I’m not very familiar with Coding, learning by doing ;-)
      Where and how do I have to insert this now?
      My code for buttons is like this:

      {
      module: 'MMM-Buttons',
          config: {
              maxShortPressTime: 500,
              minLongPressTime: 2000,
              buttons: [
      {
                      pin: 23, //The pin that connects your first button
                      name: "Main Page Button", // Or whatever you really want
                      longPress: {
                          notification: "PAGE_SELECT",
                          payload: "sechste" // in English sixt, here are the podcast!
                      },
                      shortPress: {
                          notification: "PAGE_SELECT",
                          payload: "fuenfte" // fifth
                      }
                  },
      
      

      Sorry for my bed english

      posted in Troubleshooting
      R
      robiv8
    • MMM-Podcast need Help

      Hallo,
      i have 6 pages realized with MMM-Page-Selector, and everything works like a charm.
      With MMM-Buttons i can change the sides.

      I want on page six the Video from Tagesschau
      So I have installed MMM-Podcast,
      npm install omx-manager
      npm install omxdirector
      and omxplayer are the newest version 061425a (master)
      But when pressing button the page six come and Only the text.
      MMM-Podcast
      module_25_MMM-Podcast
      What do I am wrong.
      Thanks and sorry for my english.

      My Config:
      `{
      module: ‘MMM-Podcast’,
      name: “podcast”,
      config: {
      feedurl: ‘http://www.tagesschau.de/export/video-podcast/webxl/tagesschau-in-100-sekunden/’
      }

      …

      achte: {
      “podcast”: “middle_center”
      }
      `

      posted in Troubleshooting
      R
      robiv8
    • RE: How to update the master branch?

      Und was soll uns das sagen?
      Any info about this error?

      pi@WEG-Infopanel:~/MagicMirror $ git stash
      package-lock.json: needs merge
      vendor/package-lock.json: needs merge
      package-lock.json: needs merge
      vendor/package-lock.json: needs merge
      package-lock.json: unmerged (928d17635a4aff632b96c3d78499948e24eb70be)
      package-lock.json: unmerged (1e84cc321d5ecb4199add46a08bfd7f3446d9c11)
      package-lock.json: unmerged (281f5adadabad8c0fa36c54a8b5c882b66e06722)
      vendor/package-lock.json: unmerged (a326b4026808f4b1ab060fe3c12e385f82330759)
      vendor/package-lock.json: unmerged (793948105835abe0d92caaf321cb78150cc983a4)
      vendor/package-lock.json: unmerged (9ad15ee58a9adce0f84708789296d2ae2ec1e029)
      fatal: git-write-tree: error building trees
      Kann den aktuellen Zustand des Index nicht speichern

      posted in Troubleshooting
      R
      robiv8
    • RE: MMM-Buttons keine Reaktion?

      OK it was the pin!
      The correct PIN number is really impossible ;-)

      But it is very confusing with pin BCM and BOARD
      So the BOARD PIN is correct.

      posted in Troubleshooting
      R
      robiv8
    • RE: MMM-Buttons keine Reaktion?

      with a python.py and this code:

      import RPi.GPIO as GPIO
      import time
      
      GPIO.setwarnings(False) # Ignore warning for now
      GPIO.setmode(GPIO.BOARD) # Use physical pin numbering
      GPIO.setup(11, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
      
      tries = 0
      
      while (tries < 200):
          if GPIO.input(11):
              print("11 Open")
          else:
              print ("Close")
          time.sleep(1.)
          tries = tries + 1
      
      #GPIO.cleanup()           # clean up GPIO on normal exit
      

      With this code I can see that the button works and triggers.
      But in magicmirror pm2 log mm it shows no reaction!
      Do i have to adjust something else?
      Thanks and a happy new year 2019

      posted in Troubleshooting
      R
      robiv8
    • 1 / 1