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

    Posts

    Recent Best Controversial
    • RE: How do you convert xml to json (ideally without dependencies)

      @sdetweil
      @cowboysdude
      @lavolp3

      Thanks for your posts, i got some further.

      1. i added following line in my node_helper.js
      const parser = require("./MMM-Dreambox-xml2json.js");
      

      So node_helper.js checks for MMM-Dreambox-xml2json.js within the same directory.
      After this, i can use a function of MMM-Dreambox-xml2json.js inside of node_helper.js by calling parser.functionname() in my case parser.xml2json().

      AxLED

      posted in Development
      A
      AxLed
    • How do you convert xml to json (ideally without dependencies)

      I use xml2json.js to convert xml to json in my module.js.
      For the further development of my module (MMM-Dreambox) I have to convert xml to json in node_helper.js.
      How can i do this (ideally without dependencies)
      I have not found any way to use xml2json.js in node_helper.js so far.

      Looking forward to your replies.

      AxLED

      posted in Development
      A
      AxLed
    • RE: MMM-voice + MMM-Podcast

      @Arzeg
      Two tips:

      1. MMM-Podcast doesnt have or use a position tag, as omxplayer acts like an overlay, see readme (MMM-Podcast)
      2. MMM-Podcast isnt working anymore, because of a disabled yahoo engine (Issue)

      So i made a replacement module MMM-Podcast2

      AxLED

      posted in Troubleshooting
      A
      AxLed
    • RE: module updateDom() call limitations

      @sdetweil
      Maybe not a direct answer to your question, but i found out, that updateDom() is not always needed if you “only” want to update some content.

      As example i have a (inital) div like:

      var Receiverinfo = document.createElement("div");
      Receiverinfo.setAttribute('id','model');
      Receiverinfo.innerHTML = '';
      

      you can change the value/content by

      document.getElementById('model').innerHTML = 'what ever value you want';
      

      AxLED

      posted in Troubleshooting
      A
      AxLed
    • RE: error when try to start mm

      @lpt2007
      Have you read the readme of MagicMirror?

      Also note that:

      npm start does not work via SSH. But you can use DISPLAY=:0 nohup npm start & instead.
      This starts the mirror on the remote display.

      AxLED

      posted in Troubleshooting
      A
      AxLed
    • RE: Current version(!) of PIR-Sensor caused black screen

      @Klinge
      For using Paviros module MMM-PIR-Sensor your config is wrong.
      Instead of

      module: 'MMM-PIR',
      

      you have to use

      module: 'MMM-PIR-Sensor',
      

      Also the options “delay”, “turnOffDisplay” and “showCountdown” are not part of the module MMM-PIR-Sensor and so there are not working.

      AxLED

      posted in Troubleshooting
      A
      AxLed
    • RE: Restarting error

      @Anthony
      I also had MMM-Watchdog once and it also restarted my mirror quite often where there was no need to. I think everytime my pi was busy, MM-Watchdog decided to restart, so i remove MMM-Watchdog.

      AxLED

      posted in Troubleshooting
      A
      AxLed
    • RE: Notification not showing message

      @link953
      Are you sure there is no message? I had a similar problem where some css values where wrong, so the message had the same color than the background.
      Normally you can find out, if you try to mark the message with a mouse.

      AxLED

      posted in Troubleshooting
      A
      AxLed
    • RE: [MMM-Dreambox] to connect a Dreambox or a Enigma2 Receiver (like VU or VU+) to MagicMirror and stream stations via omxplayer

      @evroom said in [MMM-Dreambox]:

      @Cr4z33 and @evroom
      You were pretty busy in debugging so far, somehow i had a similar idea as evroom.

      You can do an git pull in your MMM-Dreambox folder for the dev branch, i added some debugging informations.

      $ cd /home/pi/MagicMirror/modules/MMM-Dreambox
      $ git pull
      

      Maybe “zap” or the “zap” Url isnt working.

      @Cr4z33 can you please update and post the logs, the should look like

      Debug MMM-Dreambox: omxplayer  --win 320,180,1600,900  -o both http://dm800se.fritz.box:8001/1:0:19:2B5C:41B:1:FFFF014A:0:0:0:
      Debug MMM-Dreambox: zapstate:zap
      

      or

      Debug MMM-Dreambox: omxplayer  --win 320,180,1600,900  -o both http://dm800se.fritz.box:8001/1:0:1:CBB2:2710:F001:FFFF0000:0:0:0:
      Debug MMM-Dreambox: zapstate:
      

      You can also try to reduce the arguments like mine above to --win 320,180,1600,900 -o both.
      I use MMM-Remote-Control of Jopyth.

      AxLED

      posted in Entertainment
      A
      AxLed
    • RE: [MMM-Dreambox] to connect a Dreambox or a Enigma2 Receiver (like VU or VU+) to MagicMirror and stream stations via omxplayer

      @Cr4z33
      Is the IP of your VU receiver from internal Lan or external (DDNS)?
      AxLED

      posted in Entertainment
      A
      AxLed
    • 1
    • 2
    • 5
    • 6
    • 7
    • 8
    • 9
    • 23
    • 24
    • 7 / 24