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
-
-
Just did. No (visible) changes.
-
All my timed programs. Exactly like in your example.
3.All my bouquets with the services in it. Like in your example.
We have simular Dreamboxes, so simular output.
I have 3 bouquets (Favourites (TV), Nederland (TV), Duitsland (TV))
I use WebControl Dreambox (via the DM IP) to control the box.Unfortunate your tip with (& # 6 0 ; ) and (& # 6 2 ; ) is not working for me; it deletes everything between < and >:
(<)
(>)That is a major flaw of this forum, besides not really being iPad friendly.
-
-
Is the module now working or do you still have issues?
AxLED -
Same issues.
Do not see any services list, so can not play one.
All apiXXX settings in the config file work when pasted in the browser.
XML output is simular like yours.
I only left apizap empty.Perhaps you could output some ‘landmarks’ in the MM log, like:
About - okay / not okay
Services - okay / not okay
EPGNow - okay / not okay
Zap - okay / not okay
Servicelistplayable - okay / not okay
omxplayer started -
- 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). - 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
- You can try another
-
@axled 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?
If that is what it can do then all I see right now is some information (and by the way in German) about the current channel playing on the VU+:
DREAMBOX
Model Duo² - dezeit läuft: (Rai 3 HD)
Nothing else.
No streaming stuff going on. :smiling_face_with_open_mouth_smiling_eyes:Here’s my module config and yes I use a different port than 80 or 8080.
{ module: 'MMM-Dreambox', header: 'Dreambox', position: 'bottom_right', disabled: false, config: { apiBase: 'http://*.*.*.*:**', omxargs: ' --win 320,180,1600,900 -o both ', refreshInterval: 1000 * 30, //refresh every 30 seconds apiabout: '/web/about', apiservices: '/web/getallservices', apiepgnow: '/web/epgnow?bRef=1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM%20BOUQUET%20%22userbouquet.favourites.tv%22%20ORDER%20BY%20bouquet', apizap: '/web/zap?sRef=', apiTimerlist: '/web/timerlist', apiServicelistplayable: '/web/servicelistplayable?sRef=1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM%20BOUQUET%20%22userbouquet.favourites.tv%22%20ORDER%20BY%20bouquet' } },
-
-
Same result. No services list.
-
Same result. No services list. But …
0|mm | Starting node helper for: MMM-Dreambox 0|mm | MMM-Dreambox: 1. Request EPGNOW succeeded. 0|mm | MMM-Dreambox: 2. Request ABOUT succeeded. 0|mm | MMM-Dreambox: 3. Request Services succeeded. 0|mm | MMM-Dreambox: 4. Request Timerlist succeeded. 0|mm | MMM-Dreambox: 5. Request Servicelistplayable succeeded. 0|mm | MMM-Dreambox: Notification FETCH_DATAreceived. New datas from dreambox should be pulled. 0|mm | MMM-Dreambox: 2. Request ABOUT succeeded. 0|mm | MMM-Dreambox: 5. Request Servicelistplayable succeeded. 0|mm | MMM-Dreambox: 3. Request Services succeeded. 0|mm | MMM-Dreambox: 1. Request EPGNOW succeeded. 0|mm | MMM-Dreambox: 4. Request Timerlist succeeded.
So, we are getting somewhere :-)
In the debug branch, could you perhaps send the playable services list to the MM log ? -
-
I see in your code that the HTML requests are successful (status code 200), so next step is to determine if the parsing was successful.
I know how json parsing works using Perl, but in MM context I have no clue, so I am not much of help there. -
@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:
- do you have timers in your receiver (can be checked by http://IPofyourReceiver/web/timerlist)?
- what if you open MM in a browser in the same network and use F12. Are there any errors?
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:
- do you have timers in your receiver (can be checked by http://IPofyourReceiver/web/timerlist)?
- what if you open MM in a browser in the same network and use F12. Are there any errors?
- 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
-
- Yes
- Perhaps stupid, but do not how to do that. Cannot open MM using the MM IP.
- Yes. Probably by pm.