Control enigma2/Dreambox

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Control enigma2/Dreambox

Post by madrian »

Guys, any recommendation for controlling enigma2/Dreambox devices?

There is a web interface, where is possible to access nearly all important functions.

I want to control (if it is possible with feedback):

on/off state

Code: Select all

http://dreambox/web/powerstate? to check Powerstate
http://dreambox/web/powerstate?newstate={powerstate_number}
0 = Toogle Standby
volume

Code: Select all

Volume Requests:

Get current Volume: http://dreambox/web/vol oder http://dreambox/web/vol?set=state
Set Volume to 23: http://dreambox/web/vol?set=set23
Increase Volume: http://dreambox/web/vol?set=up
Decrease Volume: http://dreambox/web/vol?set=down
Switch Mute: http://dreambox/web/vol?set=mute
Result:

<?xml version="1.0" encoding="utf-8"?>
<e2volume>
   <e2result>True</e2result>
   <e2resulttext>state</e2resulttext>
   <e2current>5</e2current>
   <e2ismuted>False</e2ismuted>	
</e2volume>
Parameter:

result = True if command successful, False otherwise
resulttext = textbased description of what succeeded/went wrong
current = current Volume - Value between 0 and 100
ismuted = True if muted, False if not
Isn't there any script/switch/button available for other similar device, so I can modify the code and use with enigma2/Dreamboxes.
D'rMorris
Posts: 138
Joined: Thursday 01 May 2014 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands - Sittard
Contact:

Re: Control enigma2/Dreambox

Post by D'rMorris »

I also did some Dreambox coding, but then the other way around. At first, I also ran a cron job on my Pi to get the powerstate of the Dreambox and then flipping a virtual switch. I think you can reuse that code.
Afterwards, I thought it would be better to have the Dreambox switch the virtual switch, instead of polling the state every minute. So, I adapted standby.py in the dreambox and now the Dreambox switches the virtual switch when it goes into or comes out of standby, works flawless every time.
I do not have the requirement to control the DM from Domoticz, but I think you should be able to make a start with my original code.
ager
Posts: 1
Joined: Monday 07 August 2017 17:48
Target OS: Windows
Domoticz version:
Contact:

Re: Control enigma2/Dreambox

Post by ager »

D'rMorris wrote:I also did some Dreambox coding, but then the other way around. At first, I also ran a cron job on my Pi to get the powerstate of the Dreambox and then flipping a virtual switch. I think you can reuse that code.
Afterwards, I thought it would be better to have the Dreambox switch the virtual switch, instead of polling the state every minute. So, I adapted standby.py in the dreambox and now the Dreambox switches the virtual switch when it goes into or comes out of standby, works flawless every time.
I do not have the requirement to control the DM from Domoticz, but I think you should be able to make a start with my original code.
I am trying to solve exactly same issue...I need dreambox switches the virtual switch when it gous into or comes out of standby. Can you please share your standby.py please?
I am using LOXONE and if I switch ON or OFF dreambox by original dreambox remote control, Loxone have no idea about this change....

Thanks
D'rMorris
Posts: 138
Joined: Thursday 01 May 2014 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands - Sittard
Contact:

Re: Control enigma2/Dreambox

Post by D'rMorris »

Read my post here: Checking Dreambox state

https://r.tapatalk.com/shareLink?share_ ... are_type=t
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest