Plugin for Enigma2 based set-top boxes & PVRs like Dreambox

This is a plugin to support Enigma2 based set-top boxes and PVRs (like Dreambox DM800, DM8000, DM7025, DM500HD, VU+ and other compatible systems)

How to install:

  • Download the attached xml and json files
  • Upload them under Apps / Develop Apps / Luup Files
  • Select Apps / Develop Apps / Create Device
  • Enter urn:dream-multimedia-tv-de:serviceId:DVR1 as device type, D_Enigma2.xml as UPNP device, and I_Enigma2.xml as UPNP implementation.
  • Under Advanced settings for the device, make sure you fill the IP address and username/password (if required)

Notes:

Edit: New version 0.3 available, download from post below (looks like it’s not possible to modify old attachments)

Oooh, I will have to give this a go on my Vu+ Duo (Enigma2 based as well). This must rely on the web interface being active I assume?

yes, it uses the web interface.

Thank you very much

Great plugin! Thanks!!!
But how can I switch on my favorite SAT radio, for example? Please, help!

Is it right LUUP code for device # 15?

luup.call_action(“urn:micasaverde-com:serviceId:dreambox8000”,“sReference”,{sReference = “1:0:2:2857:3:70:1680000:0:0:0:”}, 15)

It’s not work :frowning:

In D_Enigma2.json I found:

            {
                "ControlType": "variable",
                "Display": {
                    "Service": "urn:dream-multimedia-tv-de:serviceId:DVR1",
                    "Variable": "sReference",
                    "Top": 190,
                    "Left": 235,
                    "Width": 200,
                    "Height": 20
                }
            },

What I need to fix in LUUP code line?

I tried this:

local DEV_SID = “urn:dream-multimedia-tv-de:serviceId:DVR1”
local DEV_ID = 15
luup.call_action(DEV_SID, “sReference”, {new_sReference = “1:0:2:2857:3:70:1680000:0:0:0:”}, DEV_ID)

Not work too :frowning: Where is error?

New Version 0.3

Release Notes:
Ver. 0.3: bug fixes + ability to Zap to a particular service.
Ver. 0.1: first release.

How to install:

  • Unzip the attached file.
  • Upload the xml and json files them under Apps / Develop Apps / Luup Files
  • Select Apps / Develop Apps / Create Device
  • Enter urn:dream-multimedia-tv-de:serviceId:DVR1 as device type, D_Enigma2.xml as UPNP device, and I_Enigma2.xml as UPNP implementation.
  • Under Advanced settings for the device, make sure you fill the IP address and username/password (if required)

[quote=“allmoney.ws, post:7, topic:171484”]I tried this:

local DEV_SID = “urn:dream-multimedia-tv-de:serviceId:DVR1”
local DEV_ID = 15
luup.call_action(DEV_SID, “sReference”, {new_sReference = “1:0:2:2857:3:70:1680000:0:0:0:”}, DEV_ID)

Not work too :frowning: Where is error?[/quote]

the old plugin doesn’t support zapping, I was just using it to emulate an Enigma2 remote control (for use with programs like SQ Remote and others).

Ver 0.3 of the plugin now supports zapping thru LUUP code, as follows:

luup.call_action("urn:dream-multimedia-tv-de:serviceId:DVR1", "Zap", {sRef = "1:0:1:7DD:14:800:DCA0000:0:0:0:"}, DEVICE_ID)

where DEVICE_ID is the device ID, and 1:0:1:7DD:14:800:DCA0000:0:0:0: is the service reference. Please try it and let me know if it works or not.

Hi capjay,

luup.call_action("urn:dream-multimedia-tv-de:serviceId:DVR1", "Zap", {sRef = "1:0:1:7DD:14:800:DCA0000:0:0:0:"}, DEVICE_ID)

Yes!!! It works!!!

One more bug…

I updated plugin files. But I have same bug as in 1st version:
“Currently Watching” not update channel in real time. Only after reboot vera3… :(( Can you fix it? Please… I would like to use current channel as Input in PLEG.

(tv_sReference eq "1:0:1:283E:3:70:1680000:0:0:0:") AND (00:30:00;NOW;02:30:00)

[quote=“allmoney.ws, post:10, topic:171484”]One more bug…

I updated plugin files. But I have same bug as in 1st version:
“Currently Watching” not update channel in real time. Only after reboot vera3… :(( Can you fix it? Please… I would like to use current channel as Input in PLEG.[/quote]

not really a bug, the plugin polls Enigma2 every 5 minutes to get the current channel (the channel should get updated within 5 minutes) . I think it’s a good idea to make this value user configurable. If you are in a hurry, you can modify one line of code: in the file I_Enigma2.xml, change the 5m to 2m or 1m to poll more frequently:

luup.call_timer("refreshTuner", 1, "5m", "")

capjay, can you help with this problem?
[url=http://forum.micasaverde.com/index.php/topic,12759.msg118142.html#msg118142]http://forum.micasaverde.com/index.php/topic,12759.msg118142.html#msg118142[/url]

Hello,

I’m Trying to use this plugin for my VU+, the basic functions are working, but I would like to know if it is possible to activation the other functions via Luup

I’m trying

luup.call_action(“urn:dream-multimedia-tv-de:serviceId:DVR1”, “FastextBlue”, {}, 47)

for example to activate the blue button, but it is not working : No error, but also no action !

[quote=“chocorem, post:13, topic:171484”]Hello,

I’m Trying to use this plugin for my VU+, the basic functions are working, but I would like to know if it is possible to activation the other functions via Luup

I’m trying

luup.call_action(“urn:dream-multimedia-tv-de:serviceId:DVR1”, “FastextBlue”, {}, 47)

for example to activate the blue button, but it is not working : No error, but also no action ![/quote]

try the following command:

luup.call_action("urn:micasaverde-com:serviceId:Misc1", "FastextBlue", {}, 47)

Yes, I had found it in the meantime … are you still developping the plugin ? Because I’m enhancing some missing Buton is the UI (Color Buttons, Reboot and Restart GUI) … etc …

I haven’t made any changes to the plugin for a while, feel free to add your enhancements…

Hi,

I would like to see the following optien:

Status of the box, is it in standby or not.
When you call teh url: http://IP.BOX/web/powerstate you receive the standby status, this status i would like to see in the app

I want to be able to call it from luup code, so i could trigger a scene when the box is set into standby or comes out of standby.

It this possible?

Having a little trouble with the plugin - when I initially installed it I’m sure it worked fine, now for some reason it thinks the login and password are incorrect (according to the log files) if I try the same login/password in the URL it works fine.

Any advice on what to check?

Vera 3 running latest UI7
Engima (VU+ SE)

Any other information required happy to provide.