Enigma2 Binding

I have done some updates, and provide a precompiled package, (see 1st post)

The discovering is still not optimal. But optimuss and dreamboxes should be found automatically. All others must be added manually for the while

1 Like

I have installed your plugin on OH2 build #633 and it worked right away. My VU+ Solo2 was discovered instantly. Thing and item creation without any issues. Looks good!
Thanks for your work!

Nice to here,
yes the discovering is improved, and all* devices should be found.

I have updated the binding, with several new channels. So you can try the new one

*Perhapts there are problems if using username/password

Guys,
a kind offtopic, but if you have Enigma2 STBs, you might be also interested having very simple OH client on this device: https://github.com/druciak/enigma2-plugin-openhab
Let me know if you find it useful.

1 Like

Hi druciak,

Yes separate thread may make sense. Just link it here once. But definitely interesting plugin for the reverse direction. Maybe with the help of this plugin the binding could get some events or status info that are currently not accessible.

So would be interesting to react on changing the mode from TV to radio and vice versa for example.

There is already such thread:

This was my motivation to write the plugin, but I finally did not implement such feature. I wanted to turn on lights in my living room when pause or stop is pressed on box’s pilot, but it would not be the best idea in all cases.
But I liked much manual controlling of lights and other devices using pilot. I usually turn off light when I start watching tv.

I want test this binding but I dont know how install It. I gave it to addons folder in usr/share/openhab2 but I don’t see it in karaf console

i just have updated the binary to the current state of the PR.
To the question itself, just copy it in the folder, as you did, and try to detect the enigma device in the PaperUI

I don’t see enigma2 binding in karaf console.

What version of oh do you use? stable or snapshot?
i can see the binding in karaf console, on the 2.0stable, but i also used it with the snapshot version

OH2 official release

What do you mean with official? Both of them are official, stable and snapshot!

What is the benefit of this binding instead of the http-commands to get the values directly from the webif?

Of course this binding works with http request on the webinterface. But i don’t think you can do this with simple http binding requests. You would need a lot of rules to manage this. E.g. How would you implement a slider for the volume with the http binding? How would you switch the channel? With the binding you are able to switch the channel by sending the name as String. The simpiest thing would probably be to get the current titel. But the return value is a XML formated String. So you would need to manipulate it with a rule.

So perhaps it is possible so manage this with the http binding, but it would not be easy

Ok, thanks.

I´m curently on OH1 and tried the old enigma2 binding and the openwebif binding, but none of them worked for me.

And in the forum there was said, i should simply use the http binding for this.

Can i use this binding only with OH2? (That doesn´t matter, because i want to switch to OH2 the next few weeks.)

Yes its oh2 only.

Sorry stable version

Is there a way to prevent the binding to send many errors to the log all the time, when the enigma2-box isn´t powerd on?

My receiver is in deep sleep all the day, when everyone is at work. So there is no network connection in this time. It is only switched on in the evening.

Not yet. But i’ll have a look on it. I think it’s not that problem

edit:
I have updated the binding. Problem should be solved now.

Initializing my dm7020hd takes really long - is that a known issue, anything I can do to speed it up?