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: [MMM-Dreambox] to connect a Dreambox or a Enigma2 Receiver (like VU or VU+) to MagicMirror and stream stations via omxplayer

      @Cr4z33
      Yes.

      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

      Can you send me following 5 xml files: …/web/about, …/web/getallservices, …/web/timerlist, …/web/servicelistplayable, … /web/epgnow by email ak10zeichen-xy@yahoo.de

      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

      @evroom said in [MMM-Dreambox] to connect a Dreambox or a Enigma2 Receiver (like VU or VU+) to MagicMirror and stream stations via omxplayer:

      Perhaps stupid, but do not how to do that. Cannot open MM using the MM IP.

      My MM config.js for IP looks like

      config = {
      	address: "192.168.56.101", 
      	port: 8080,
      	ipWhitelist: [], // Set [] to allow all IP addresses
      

      So can can open a browser in the same network and enter http://192.168.56.101:8080 to open MM in my browser. F12 shows a console where you can filter for errors.

      Just send me the files by email ak10zeichen-xy@yahoo.de

      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

      @evroom
      I think we are getting closer to a working module.
      The 5 requests are successful, so config should be ok.

      Can you please answer following questions:

      1. do you have timers in your receiver (can be checked by http://IPofyourReceiver/web/timerlist)?
      2. what if you open MM in a browser in the same network and use F12. Are there any errors?
      3. Can you send me following 5 xml files: …/web/about, …/web/getallservices, …/web/timerlist, …/web/servicelistplayable, … /web/epgnow

      After this i can modifiy the node_helper.js of development branch for further debugging.

      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 said in [MMM-Dreambox] to connect a Dreambox or a Enigma2 Receiver (like VU or VU+) to MagicMirror and stream stations via omxplayer:

      maybe I am misunderstanding everything, but I need to understand whether it’s just a Dreambox information module or whether I can actually stream into an omxplayer iframe?

      @Cr4z33
      Its an entertainment module, means it show informations of your receiver and you can stream the channels with the omxplayer as overlay on your monitor (monitor must be local connected to pi). The displayed informations are needed to control the dreambox/receiver.

      Your config looks ok.

      Can you please answer following questions:

      1. do you have timers in your receiver (can be checked by http://IPofyourReceiver/web/timerlist)?
      2. what if you open MM in a browser in the same network and use F12. Are there any errors?

      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

      @evroom

      1. You can try another git pull of the master branch and test, as I found some more errors in my code (if not all of the 5 requests are successful).
      2. You can try to delete the MMM-Dreambox folder an do git clone --branch debug https://github.com/Ax-LED/MMM-Dreambox.git.
        I made this debug branch for you, with a different node_helper.js, which no shows some ‘landmarks’ in PM2 logs.

      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

      Is the module now working or do you still have issues?
      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

      @evroom
      to your 1st question: yes we need a list displayed and selected one entry first, otherwise DB-PLAY wont work.

      Tipp: To insert xml code in the forum, you have to replace < by (& # 6 0 ; ) without spaces and > by (& # 6 2 ; ) without spaces.

      to your 2nd question: that http://192.168.178.28/web/getallservices is returning an xml file (if viewed in browser) is good.

      1. Question: Did you make a git pull, as i had some error in my errorhandling. If not, do git pull in the MMM-Dreambox folder first.

      2. Question: What is the xml showing under

      &#60;e2timerlist&#62;
       &#60;e2timer&#62;
        &#60;e2servicereference&#62;&#60;/e2servicereference&#62;
      
      1. Question: Same xml file, are there entries following (like my screenshot above?):
      &#60;e2servicelist&#62;
       &#60;e2service&#62;
      

      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

      1. @evroom
      Thanks for your logs, i fixed the errorhandling and that typo.
      Please do a git pull now you should get detailed errors shown on the module in MM.

      2. How the module works (in the background).
      2.1 apiabout (About):
      Samplelink: http://dm800se.fritz.box/web/about
      I am reading two values, the model and what service is running (can be a station or playing a recorded movie).
      0_1546019571247_about.gif

      2.2 apiservices (Services):
      Samplelink: http://dm800se.fritz.box/web/getallservices
      I am reading all services (stations) of the receiver.
      Important: The part 1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM%20BOUQUET%20%22userbouquet.favourites.tv%22%20ORDER%20BY%20bouquet(your string might/will look different) is also needed for the parameters in config.js (apiServicelistplayable and apiepgnow).
      Sample:
      apiServicelistplayable: http://dm800se.fritz.box/web/servicelistplayable?sRef=1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet
      apiepgnow: http://dm800se.fritz.box/web/epgnow?bRef=1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet
      0_1546019759781_getallservices.gif

      3. apiTimerlist (Timerlist):
      Samplelink: http://dm800se.fritz.box/web/timerlist
      I am reading if any timers are active, so i can show it in the module.
      0_1546020081812_timerlist.gif

      4. apiServicelistplayable (Servicelistplayable):
      Samplelink: http://dm800se.fritz.box/web/servicelistplayable?sRef=1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet
      I am reading which stations are on the same bouquet, this is important, if any active timers are running. As timers have priority. All stations with the value false will be shown in a different css-style (gray and italic).
      Important: Check the following part with the one you get from http://dm800se.fritz.box/web/getallservices 1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM%20BOUQUET%20%22userbouquet.favourites.tv%22%20ORDER%20BY%20bouquet(your string might/will look different).
      0_1546020292241_serviceplayable.gif
      5. apiepgnow (Epgnow):
      Samplelink: http://dm800se.fritz.box/web/epgnow?bRef=1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet
      I am reading the epg of my favorites (same source as servicelist), so i can write the beginning time and tite of the actual running program.
      Important: Check the following part with the one you get from http://dm800se.fritz.box/web/getallservices 1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM%20BOUQUET%20%22userbouquet.favourites.tv%22%20ORDER%20BY%20bouquet(your string might/will look different).
      0_1546019734449_epgnow.gif

      Maybe this helps to find some configuration problems for the right link parameters.

      Regards

      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 said in [MMM-Dreambox] to connect a Dreambox or a Enigma2 Receiver (like VU or VU+) to MagicMirror and stream stations via omxplayer:

      @axled I put the IP and WebIf port of my Vu+ Duo², but then… how do I stream something?
      I thought I was supposed to enter some M3U channel IPs or?

      @Cr4z33
      In my case (Dreambox DM800se) i just entered the IP-Adress without port. You can crosscheck this with your browser: are you able to reach the webfrontend of your receiver with the IP-Adress you entered?

      The module works as follows (very short description): It reads the xml file of .../web/getallservices, build a list of the services and stations. The command DB-PLAY passes the selectede2servicereference to omxplayer.

      AxLED

      posted in Entertainment
      A
      AxLed
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @evroom said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

      Next thing I am trying to use MMM-RTSPStream for, is streaming sat-tv from a Dreambox & VU+ receivers.
      I am able to stream a channel using:
      omxplayer --vol -3000 --win “0 0 480 320” --live http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0:

      @evroom
      Maybe my new module is something for you:
      MMM-Dreambox

      Regards

      AxLED

      posted in Utilities
      A
      AxLed
    • RE: TV Tuner

      @richland007 said in TV Tuner:

      @pbrunson I read your post and it peaked my interest … the other guys have it easy with the Linux sat boxes that can stream directly Like Enigma Vu+… They brought me back memories of the DreamBox i had when i was living in Europe i used to stream all content i could get to my office.

      @richland007
      Maybe my new module is something for you:
      MMM-Dreambox

      Regards

      AxLED

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

      Here is my second module.

      Description
      A module to connect a Dreambox or a Enigma2 Receiver (like VU or VU+) to MagicMirror. You can select services of your dreambox and stream them via omxplayer. The module shows some further informations like:

      • model of your dreambox
      • which service is tuned right now / are there active timer
      • epg for the services with its starting time

      Magic-Mirror Module MMM-Dreambox screenshot1

      Download
      [card:Ax-LED/MMM-Dreambox]

      Please let me know what you think.

      AxLED

      posted in Entertainment
      A
      AxLed
    • RE: Method to use button to advance month view, toggle to day agenda

      @bmfinn
      i had the same need, but didnt have the time to move further, see https://forum.magicmirror.builders/topic/7500/calendar-module-interaction-scrollable-different-start-dates

      AxLED

      posted in Requests
      A
      AxLed
    • RE: Help needed - getting informations from XML File

      @Charley
      Thanks for your reply and your code in xml2json.js.
      Now i can get the requested values of my xml and can move forward in developing.

      If somebody knows a way to directly extract datas of xml could be an optimization afterwards, to reduce code.

      Regards

      AxLED

      posted in Development
      A
      AxLed
    • Help needed - getting informations from XML File

      Hi to the java gurus,

      i am having troubel to get to the right informations of an XML File.
      I try to read a xml file of a TV set top box (Dreambox, Linux OS, Enigma2).
      The xml file is provided by the webservice of the box in the same LAN (see sample below).
      I already got following working reading the xml file into a variable (in node_helper.js) and sending this to the module.js.
      I have to use JSON.stringify(xml) instead of JSON.parse(xml) otherwise i got an error of some special charachters found in xml.

      Sample of XML

      &#60;?xml version="1.0" encoding="UTF-8"?>
      &#60;e2servicelistrecursive>
      	&#60;e2bouquet>
      		&#60;e2servicereference>1:7:1:0:0:0:0:0:0:0:FROM BOUQUET &quot;userbouquet.favourites.tv&quot; ORDER BY bouquet&#60;/e2servicereference>
      		&#60;e2servicename>Favourites (TV)&#60;/e2servicename>
      		&#60;e2servicelist>
      			&#60;e2service>
      				&#60;e2servicereference>1:0:19:2B5C:41B:1:FFFF014A:0:0:0:&#60;/e2servicereference>
      				&#60;e2servicename>Das Erste HD&#60;/e2servicename>
      			&#60;/e2service>
      			&#60;e2service>
      				&#60;e2servicereference>1:0:19:2B66:437:1:FFFF01C2:0:0:0:&#60;/e2servicereference>
      				&#60;e2servicename>ZDF HD&#60;/e2servicename>
      			&#60;/e2service>
      		&#60;/e2servicelist>
      	&#60;/e2bouquet>
      &#60;/e2servicelistrecursive>
      

      If i send the content of xml to console.log it shows me the right content, but the whole xml file.

      Now i want to get only some datas out of the xml file, but the following didnt work:

      this.reference = xml.e2servicereference;
      this.e2servicelist = xml.e2servicelist;
      this.reference = xml.e2servicereference[0];
      this.e2servicelist = xml.e2servicelist[0];
      

      I get an error that xml.whateveritrytoectract is undefined.

      I tried to use code samples of MMM-RNV which unfortuantelly didnt work, but he is using JSON.parse(xml) instead of JSON.stringify(xml).

      Does anybody has useful tipps for me?

      I am looking forward to your answers.

      Best regards

      AxLED

      posted in Development
      A
      AxLed
    • RE: MagicMirror will not start after update 2.5.0

      @Blackmirror
      Can you please post the output when you try to start the mirror by

      npm start
      

      in the magicmirror folder?
      Your post only shows the warnings after installing/updating your magicmirror.

      AxLED

      posted in Troubleshooting
      A
      AxLed
    • RE: Problem: Magic Mirror Module MMM-pages/MMM-page-indicator

      @cjmaverick
      There are to many

      ]
      modules: [
      

      in your config.js.
      There should be only one time

      modules: [
      

      somewhere in the beginning of your config.js and one time

      ]
      

      near the end of config.js
      Greetings

      AxLED

      posted in Troubleshooting
      A
      AxLed
    • RE: script or bash to exit MM and exit GUI and run a command in TTY mode

      @Ramez
      Thanks for your reply, i want to have only one app (either mm or Retropie/Emulationstation) run at one time due the pi ressources.

      But i will try your approach.

      AxLED

      posted in Development
      A
      AxLed
    • RE: script or bash to exit MM and exit GUI and run a command in TTY mode

      Hi to all interested,

      i testet some hours and made little progress.

      There are following requirements:
      Tools:

      • pm2
      • xdotool

      Starting MagicMirror from Retropie works somehow, see the following lines:

      • add a MagicMirror.sh file in the fork folder of retropie with the following code
      #!/bin/bash
          echo "starting MagicMirror"
          sudo service lightdm start #to start GUI
          #pm2 stop emulationstation, final commands missing so far
          pm2 start mm #to start MagicMirror
          xdotool key Ctrl+Alt+F7 #to change to tty7 = Gui
      
      • make this file executable

      Starting Retropie from MagicMirror works somehow, see the following lines:

      • editing file /opt/retropie/supplementary/runcommand/runcommand.sh, change links from tty to tty1. Make sure owner and group ist root after editing

      • add a es.sh file in a folder of your choice with the following code

      #!/bin/bash
      echo 'starting Emulationstation/Retropie'
      sudo service lightdm stop #to quit GUI
      export DISPLAY=:0
      emulationstation > /dev/tty1 #to execute this command in tty1 where emulationstation/retropie runs
      
      • make this file executable
      • put this file into pm2

      Difficulties:
      I dont know how to put two .sh files into pm2 and set one to “start” and one to “stop”, if i only would have one of the to .sh files executed at one time (one .sh is for MagicMirror, second .sh is for emulationstation/retropie)

      AxLED

      posted in Development
      A
      AxLed
    • 1 / 1