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 @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 Online
          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 Online
              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 Online
                  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
                    • Cr4z33C Offline
                      Cr4z33 @AxLed
                      last edited by

                      @axled oh now I understand.
                      Thanks for the information.

                      However I don’t have MMM-Remote-Control and I rather prefer to control everything by voice commands (MMM-AssistantMk2).
                      Sorry, but then this module doesn’t suit my needs. :winking_face:

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

                        @Cr4z33
                        You should be able to send notifications by voice commands also.
                        AxLED

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

                          @evroom
                          Here is a screenshot of my Mirror0_1546103144414_MM_Screenshot.gif

                          I have a PIR-Sensor (for turning screen on/off) and a rotary encoder connected (to the GPIO PINs of the Pi).

                          In the bottom right corner you see my “first” module MMM-Navigate which interacts with the rotary encoder.

                          So depending on the navigation menu i am able to:

                          • swipe pages (i have four)
                          • show Details to newsfeeds (opens website to the newsfeed)
                          • adjust brightness
                          • select dreambox channels
                          • start/stop streaming dreambox channels
                          • control the mirror (restart mm, shutdown, reboot)
                          • and for the future: everything which can handle the MM notification system

                          AxLED

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

                            Okay, I have MMM-Remote-Control running and I can open the menu.
                            Now using:

                            http://192.168.178.30:8080/remote?action=NOTIFICATION&notification=DB-PLAY
                            

                            I get this:

                            {"status":"success"}
                            

                            Now I see a stream on my monitor !!

                            With DB-SERVICE-NEXT and DB-SERVICE-PREV I can scroll through the services list
                            Also gives

                            {"status":"success"}
                            

                            But I cannot switch to another service with DB-PLAY.

                            And I have a side effect that it takes 3 or 4 services on my Dreambox.
                            I have the plugin InfoBarTunerState installed and I see that MM is trying to stream multiple services.

                            At this moment I see one stream on my MM monitor, but my Dreambox tells me there are 2 MM streams present (on 2 different services).

                            Here the OMXPlayer processes at this moment:

                            pi@MagicPi:~/MagicMirror/modules $ ps -eaf | grep omxplayer | grep -v grep
                            pi       28431 28259  0 18:06 ?        00:00:00 /bin/sh -c omxplayer  --win 320,180,1600,900  -o both http://192.168.178.28:8001/1:0:16:177A:C82:3:EB0000:0:0:0:
                            pi       28432 28431  0 18:06 ?        00:00:00 /bin/bash /usr/bin/omxplayer --win 320,180,1600,900 -o both http://192.168.178.28:8001/1:0:16:177A:C82:3:EB0000:0:0:0:
                            pi       28455 28432 10 18:06 ?        00:02:50 /usr/bin/omxplayer.bin --win 320,180,1600,900 -o both http://192.168.178.28:8001/1:0:16:177A:C82:3:EB0000:0:0:0:
                            pi       28522 28259  0 18:15 ?        00:00:00 /bin/sh -c omxplayer  --win 320,180,1600,900  -o both http://192.168.178.28:8001/1:0:16:36F8:C8C:3:EB0000:0:0:0:
                            pi       28523 28522  0 18:15 ?        00:00:00 /bin/bash /usr/bin/omxplayer --win 320,180,1600,900 -o both http://192.168.178.28:8001/1:0:16:36F8:C8C:3:EB0000:0:0:0:
                            pi       28546 28523  3 18:15 ?        00:00:31 /usr/bin/omxplayer.bin --win 320,180,1600,900 -o both http://192.168.178.28:8001/1:0:16:36F8:C8C:3:EB0000:0:0:0:
                            

                            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
                            • evroomE Online
                              evroom
                              last edited by

                              Btw, is there a possibility to have the start, next, prev and stop URL’s configured in MMM-Remote-Control ?

                              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)

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

                                Okay, rebooted in order to start fresh.

                                Now 1 stream.
                                Looks like one actual omxplayer active:

                                pi@MagicPi:~/MagicMirror/modules $ ps -eaf | grep omxplayer | grep -v grep
                                pi       29320 29185  0 18:39 ?        00:00:00 /bin/sh -c omxplayer  --win 0,0,480,320  -o both http://192.168.178.28:8001/1:0:16:177A:C82:3:EB0000:0:0:0:
                                pi       29321 29320  0 18:39 ?        00:00:00 /bin/bash /usr/bin/omxplayer --win 0,0,480,320 -o both http://192.168.178.28:8001/1:0:16:177A:C82:3:EB0000:0:0:0:
                                pi       29344 29321 10 18:39 ?        00:00:01 /usr/bin/omxplayer.bin --win 0,0,480,320 -o both http://192.168.178.28:8001/1:0:16:177A:C82:3:EB0000:0:0:0:
                                

                                InfoBarTunerState also states there is one stream.

                                The will do for today.
                                Will do some more testing tomorrow.

                                Thanks a lot AxLed for the support so far !!

                                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
                                  Good to hear you had success and thanks for your challenge with more than one bouquet 😂, helped debugging the module.

                                  AxLED

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

                                    @AxLed
                                    I have opened 4 feature requests on GitHub.

                                    To be honest, my MM is hanging a meter or so away from the TV, so I most probably will not make use of the module.
                                    Navigating through the services list and starting & stopping a stream is not that comfortable
                                    Although it might be practical to see on my MM what is currently playing and I might use it solely as a program guide.

                                    Will be available though for some testing.

                                    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

                                      Hi, if the to monitors are close together you can still view 2 different shows :-) .
                                      I checked your 4 feature requests and added 2 of them in the module.
                                      For the other two i can not promise, if they will be implemented.

                                      AxLED

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

                                        @evroom
                                        In your feature request, you wanted to select a bouquet (if there is more than one):

                                        Okay.
                                        Let’s say I have the bouquet “MagicMirror (TV)”, could there be an option to use this one, instead of the default “Favourites (TV)” ?
                                        I assume “Favourites (TV)” is the default.

                                        Please check the dev branch of my module.

                                        1. Rename your MMM-Dreambox folder to _MMM-Dreambox (for example)
                                        2. do a git clone --branch dev https://github.com/Ax-LED/MMM-Dreambox.git in your modules folder
                                        3. add new parameters to your config.js, as descriped in readme. (see apibouquet and listmax).

                                        Regards

                                        AxLED

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

                                          Hi @AxLed ,

                                          Busy trying your updated module.
                                          I am struggling a bit with it.

                                          1/ I suppose I set
                                          apibouquet: 1,
                                          Is that correct ?
                                          What does it do ?
                                          When just enabling, then why not true or false to make it more clear?
                                          Or do I set it to 1 for bouquet 1 and 2 for 2, etc?
                                          Please explain.

                                          2/ The parameter
                                          listmax: 10,
                                          is working, but after play or stop, it jumps to the bouquet name.

                                          3/ On my install, when I do DB-PLAY, it starts the stream twice.
                                          So, I have 2 omxplayer process-sets and it takes up 2 streams on my Dreambox.
                                          EDIT: now streaming Das Erste HD. No other process-sets present.
                                          Perhaps decoding takes to long and omxplayer is respawning.

                                          4/ Even though I have employer processes, I do not see anything on my screen.
                                          EDIT: now streaming Das Erste HD.
                                          I think I have a local issue, as I cannot stream decoded content anymore.
                                          My MPG2 license is still valid.
                                          Perhaps a performance issue.

                                          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
                                          • evroomE Online
                                            evroom
                                            last edited by

                                            Example for observation/issue 3:

                                            DB-PLAY:

                                            pi@MagicPi:~/MagicMirror/modules $ ps -eaf | grep omxplayer | grep -v grep
                                            pi        4190  4061  0 19:31 ?        00:00:00 /bin/sh -c omxplayer  --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0:
                                            pi        4191  4190  0 19:31 ?        00:00:00 /bin/bash /usr/bin/omxplayer --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0:
                                            pi        4214  4191  7 19:31 ?        00:00:00 /usr/bin/omxplayer.bin --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0:
                                            pi        4222  4061  0 19:31 ?        00:00:00 /bin/sh -c omxplayer  --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0:
                                            pi        4223  4222  0 19:31 ?        00:00:00 /bin/bash /usr/bin/omxplayer --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0:
                                            pi        4246  4223 13 19:31 ?        00:00:00 /usr/bin/omxplayer.bin --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0:
                                            

                                            After a few seconds and when the stream is visible on the screen:

                                            pi@MagicPi:~/MagicMirror/modules $ ps -eaf | grep omxplayer | grep -v grep
                                            pi        4190  4061  0 19:31 ?        00:00:00 /bin/sh -c omxplayer  --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0:
                                            pi        4191  4190  0 19:31 ?        00:00:00 /bin/bash /usr/bin/omxplayer --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0:
                                            pi        4214  4191 10 19:31 ?        00:00:02 /usr/bin/omxplayer.bin --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0:
                                            

                                            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

                                            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
                                            • 1 / 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