MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

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

    Scheduled Pinned Locked Moved Entertainment
    160 Posts 6 Posters 194.1k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      AxLed Module Developer
      last edited by AxLed

      @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

      evroomE Cr4z33C 2 Replies Last reply Reply Quote 0
      • evroomE Offline
        evroom @AxLed
        last edited by

        @axled

        1. Yes
        2. Perhaps stupid, but do not how to do that. Cannot open MM using the MM IP.
        3. Yes. Probably by pm.

        MagicMirror version: 2.33.0
        Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        Test environment:
        MagicMirror version: v2.33.0
        Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        evroomE A Cr4z33C 3 Replies Last reply Reply Quote 0
        • evroomE Offline
          evroom @evroom
          last edited by

          Can only upload pictures.
          Do not see a pm option.
          Hate it when you need to solve problems before you can solve problems.

          MagicMirror version: 2.33.0
          Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
          Raspbian GNU/Linux 12 (bookworm)

          Test environment:
          MagicMirror version: v2.33.0
          Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
          Raspbian GNU/Linux 12 (bookworm)

          1 Reply Last reply Reply Quote 0
          • A Offline
            AxLed Module Developer @evroom
            last edited by

            @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

            evroomE 1 Reply Last reply Reply Quote 0
            • Cr4z33C Offline
              Cr4z33 @AxLed
              last edited by

              @AxLed

              1. No timers are set right now.

              2. Here is what it came out on the console running MM into Dev mode:

              MMM-Dreambox.js:228 Uncaught TypeError: Cannot read property '0' of undefined
                  at Class.socketNotificationReceived (MMM-Dreambox.js:228)
                  at module.js:246
                  at r.<anonymous> (socketclient.js:25)
                  at r.emit (index.js:133)
                  at r.onevent (socket.js:270)
                  at r.MMSocket.self.socket.onevent (socketclient.js:19)
                  at r.onpacket (socket.js:228)
                  at r.<anonymous> (index.js:21)
                  at r.emit (index.js:133)
                  at r.ondecoded (manager.js:345)
              socketNotificationReceived @ MMM-Dreambox.js:228
              (anonymous) @ module.js:246
              (anonymous) @ socketclient.js:25
              r.emit @ index.js:133
              r.onevent @ socket.js:270
              MMSocket.self.socket.onevent @ socketclient.js:19
              r.onpacket @ socket.js:228
              (anonymous) @ index.js:21
              r.emit @ index.js:133
              r.ondecoded @ manager.js:345
              (anonymous) @ index.js:21
              r.emit @ index.js:133
              s.add @ index.js:241
              r.ondata @ manager.js:335
              (anonymous) @ index.js:21
              r.emit @ index.js:133
              r.onPacket @ socket.js:456
              (anonymous) @ socket.js:273
              r.emit @ index.js:133
              r.onPacket @ transport.js:145
              r.onData @ transport.js:137
              ws.onmessage @ websocket.js:147
              
              1 Reply Last reply Reply Quote 0
              • Cr4z33C Offline
                Cr4z33 @evroom
                last edited by

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

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

                Just run MM into DEV mode and in the right panel switch to the tab ‘Console’

                cd ~/MagicMirror/
                npm start dev
                
                1 Reply Last reply Reply Quote 0
                • A Offline
                  AxLed Module Developer
                  last edited by

                  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

                  Cr4z33C 1 Reply Last reply Reply Quote 0
                  • evroomE Offline
                    evroom @AxLed
                    last edited by evroom

                    @axled

                    Forgot the port.
                    I see this error:

                    TypeError: undefined is not an object (evaluating 'json.e2servicelistrecursive.e2bouquet.e2servicelist.e2service')
                    

                    In line 229 of MMM-Dreambox.js:

                    this.sender = json.e2servicelistrecursive.e2bouquet.e2servicelist.e2service;
                    

                    Mailed you the files.

                    MagicMirror version: 2.33.0
                    Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                    Raspbian GNU/Linux 12 (bookworm)

                    Test environment:
                    MagicMirror version: v2.33.0
                    Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                    Raspbian GNU/Linux 12 (bookworm)

                    1 Reply Last reply Reply Quote 0
                    • Cr4z33C Offline
                      Cr4z33 @AxLed
                      last edited by

                      @axled said in [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

                      Me?

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        AxLed Module Developer
                        last edited by

                        @Cr4z33
                        Yes.

                        Cr4z33C 1 Reply Last reply Reply Quote 0
                        • Cr4z33C Offline
                          Cr4z33 @AxLed
                          last edited by

                          @axled OK gimme a minute and I send them. :winking_face:

                          A 1 Reply Last reply Reply Quote 0
                          • evroomE Offline
                            evroom
                            last edited by evroom

                            “You talking to me ?” (Robert de Niro - Taxi Driver).
                            I sent the files, just in case.

                            MagicMirror version: 2.33.0
                            Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                            Raspbian GNU/Linux 12 (bookworm)

                            Test environment:
                            MagicMirror version: v2.33.0
                            Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                            Raspbian GNU/Linux 12 (bookworm)

                            A 1 Reply Last reply Reply Quote 0
                            • A Offline
                              AxLed Module Developer @evroom
                              last edited by

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

                              I sent the files

                              @evroom
                              Thanks for the files, i checked them and found an Error in MMM-Dreambox.js

                              My “getallservices” xml only has one “bouquet”, so i checked only for one.
                              As your “getallservices” xml has three “bouquets” i changed the code.

                              If you do a git pull (master repository) it should work.

                              So far i decided only to show the services/stations/channels of the first bouquet only, (userbouquet.favourites.tv) in your case.

                              AxLED

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                AxLed Module Developer @Cr4z33
                                last edited by

                                @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 OK gimme a minute and I send them.

                                @Cr4z33
                                Thanks for your files, one a fast view you also have more than one bouquet in “getallservices”, so my last fix should work for you also.

                                Try agit pull (master repository).

                                AxLED

                                Cr4z33C 1 Reply Last reply Reply Quote 0
                                • evroomE Offline
                                  evroom
                                  last edited by

                                  @AxLed
                                  The services list now is present.
                                  Next step is to stream one.

                                  MagicMirror version: 2.33.0
                                  Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                                  Raspbian GNU/Linux 12 (bookworm)

                                  Test environment:
                                  MagicMirror version: v2.33.0
                                  Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                                  Raspbian GNU/Linux 12 (bookworm)

                                  1 Reply Last reply Reply Quote 0
                                  • Cr4z33C Offline
                                    Cr4z33 @AxLed
                                    last edited by Cr4z33

                                    @axled the situation now is like in the below screenshot and I still don’t know how I am supposed to stream a channel (if I don’t have to specify its url). :smiling_face_with_open_mouth_cold_sweat:

                                    0_1546100507916_2018-12-29_17-20-25.png

                                    1 Reply Last reply Reply Quote 0
                                    • evroomE Offline
                                      evroom
                                      last edited by evroom

                                      All actions:

                                      http://192.168.178.30:8080/remote?action=NOTIFICATION&notification=DB-SERVICE-NEXT
                                      
                                      http://192.168.178.30:8080/remote?action=NOTIFICATION&notification=DB-SERVICE-PREV
                                      
                                      http://192.168.178.30:8080/remote?action=NOTIFICATION&notification=DB-PLAY
                                      
                                      http://192.168.178.30:8080/remote?action=NOTIFICATION&notification=DB-STOP
                                      

                                      Result in:

                                      Cannot GET /remote
                                      

                                      MagicMirror version: 2.33.0
                                      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                                      Raspbian GNU/Linux 12 (bookworm)

                                      Test environment:
                                      MagicMirror version: v2.33.0
                                      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                                      Raspbian GNU/Linux 12 (bookworm)

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        AxLed Module Developer
                                        last edited by

                                        @evroom
                                        How do you plan to interact with your MM?
                                        I have a rotary encoder. Buttons or touch is also fine.
                                        For the beginning you can use MMM-Remote-Control to send notifications.
                                        I have to complete my Readme, that the sample links only work with MMM-Remote-Control

                                        So install MMM-Remote-Control, open an browser, modify the links matching to your environment and you should be able to select channels and stream them.

                                        Important: Try with SD Channels first, as for HD channels the mpg2 codec is needed.

                                        AxLED

                                        evroomE 1 Reply Last reply Reply Quote 0
                                        • evroomE Offline
                                          evroom @AxLed
                                          last edited by

                                          @axled
                                          I was about to ask about this.
                                          Suppose it works, how will I use it in practise?

                                          I have a Pi with a monitor connected hanging in the kitchen.
                                          No fancy mirror like many, with speech and buttons and PIRs.

                                          So, basically no interaction.

                                          I plan on getting speech running, but I have other projects running at this moment (for instance Homematic IP and ioBroker).

                                          I will try to install MMM-Remote-Control and see if that will work.

                                          MagicMirror version: 2.33.0
                                          Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                                          Raspbian GNU/Linux 12 (bookworm)

                                          Test environment:
                                          MagicMirror version: v2.33.0
                                          Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                                          Raspbian GNU/Linux 12 (bookworm)

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            AxLed Module Developer
                                            last edited by

                                            @Cr4z33
                                            I dont know if it makes sense, to use a favorite list of services/stations/channels that wont fit on the screen of MM, as the list is to long.

                                            Start streaming can be done by selecting one service/station/channel (by using yourmmip:8080/remote?action=NOTIFICATION&notification=DB-SERVICE-NEXT for example) and than start streaming by (yourmmip:8080/remote?action=NOTIFICATION&notification=DB-PLAY).

                                            Do you have MMM-Remote-Control installed?
                                            Se my previous answer to evroom.

                                            AxLED

                                            Cr4z33C 2 Replies Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 3 / 8
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy