Enigma2 receivers integration

I do not see that available. You could probably set up a remote ssh command for it.

Or at least add option to reload integration from UI so missing entities can become available again once came back from deep sleep?

Hello guys,

was there now finally an option to get to this layout ?

Hi

It seems there may be a solution to retry adding the devices which are not available at startup time. I will have a look into it.

1 Like

What do you mean ?

This is the current layout I have

image

Hi

The media_player entity (Media Player Entity | Home Assistant Developer Docs) only has TURN_ON and TURN_OFF features.
Openwebif indeed allows to reboot and restart enigma2.

I think it may be possible to provide those 2 services, but you will have to call them outside the entity

First: @cinzas thanks for this great implementation! Works like a charm.

It would be great if the text from the media player entitiy could be configurable.
What I mean:
Currently it shows always “Channel Name - current program”
For me, it would be great, if it shows only the current program

Why? I’m using the entity also on a smart remote (unfolded circle) with a small screen. This shows the channel picon as well the text. If the text now includes the channel name, it displays this info twice (picon & text). Only the current program is in this case enough.

Maybe this could be an idea for future updates :slight_smile:

Hi @mzuki .

Dind’t know unfolded circle, and now I also want one :grin:
The only problem seems to be the price :slight_smile:

Regarding your request, yes, that seems a possibility.
Two options. The first one is to define a variable on the configuration for that and make the changes on the code. I can put that on the request list and do it when i have some free time.

Option two: Do you feel confortable in make a small change on the code ?
If so, go to the custom_components folders and do this small change on the file

custom_components/enigma/media_player.py

Line 296:

Change from
self._selected_media_title = servicename + ' - ' + eventtitle

to
self._selected_media_title = eventtitle

Tell me if that worked :slight_smile:

HI

Anyone else have problems with his e2 boxes + enigma2 integration and the mini media player in the dashboard?
All off 3! e2 boxes(mini media player) didnt show any artwork(cover/screenshot) anymore!
Reboot(from all boxes and ha) didnt help… any idea what i can do?
TIA
Raphael

Option Two works absolutely fine :grinning:. Thanks!

And yes, the RemoteTwo is a really nice piece of device. And with great integrations like the Enigma2 integration, it becomes even better as it enables the IP control of devices instead using IR…
Switching channels via direct input and showing the current channel and program is really nice on the remote :smiling_face_with_three_hearts:

And maybe, if the integration will provide the complete EPG in future and it can be shown on the remote itself → :smiling_face:

Now I really want one :slight_smile:

I still have, and use, two Logitech Harmony Touch.

Hi @rira2005 , strange.
Running the last version of HA and the plugin, and it works here

image

Same problem here. From 2024.1.0. Have 2 box and both of them unavailable. Now I’m on 2024.1.2. and nothing changed.:frowning:
https://github.com/home-assistant/core/issues/107390#ref-pullrequest-2079387378

Hello, just installed the integration via hacs
added to config
enigma:
devices:
- host: 192.168.0.221
port: 80
name: Vu+ Zero4K
timeout: 20
username: root
password: ‘’
picon: picon

notify:

  • platform: enigma
    host: 192.168.0.221
    port: 80
    username: root
    password: ‘’
    name: Vu+ Zero4K
    But get this error

enigma: Error on device update!
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 599, in _async_add_entity
await entity.async_device_update(warning=False)
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1259, in async_device_update
await self.async_update()
File “/config/custom_components/enigma/media_player.py”, line 206, in async_update
pwstate = powerstate_soup.e2instandby.renderContents().decode(‘UTF8’)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: ‘NoneType’ object has no attribute ‘renderContents’

What can be the problem ? thanks

Hi @jippen ;

You should have errors at startup time.
Please restart HA and look at the logs, see if there are entries for enigma.

Just for testing, can you remove the + sign from the device name ?

full edit: Got it to work with other enigma player .
THe one that is not working has version 1.4.2 of openwebif.
The one that works is version 1.5.2.

1 Like

I’m rather new to Home Assistant and currently trying to integrate my Dreambox DM920 (OS 4.3.r3) receiver into HA (latest). After installing “Enigma2 + OpenWebIF integration - media_player and notify platforms” through HACS
I created an enigma.yaml with:

devices:
  - host: 192.168.60.19
    port: 80
    name: dreambox
    timeout: 20
    username: root
    password: password
# bouquet: '1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet Favourites'
    picon: picon

and a notify.yaml file with:

platform: enigma
host: 192.168.60.19
port: 80
username: root
password: password
name: dreambox

and added those 2 files via !include commands into configuration.yaml:

enigma: !include enigma.yaml
notify: !include notify.yaml

and restarted HA, but I can’t find any dreambox entity or service anywhere. I commented the bouquet line out as someone above mentioned this could cause problems.

What am I missing?

Edit: found out, the following lines have to be added to configuration.yaml, too (I thought they’d be only necessary if using the built-in enigma functionality).

media_player:
  - platform: enigma2
    host: 192.168.60.19

Thanks for the plugin.

Hello Charel and everyone.

I can’t get the HA integration to work.
Using the same Dreambox 920 and Firmware 4.3.r3 and have replaced the original web interface with OpenWebIf. When I try to add the integration I always get an error message:
“Unexpected error”
My settings are:
Host: 192.168.178.50
Port: 80
Username/Password: blank
SSL certificate: both off.

Can someone help me? Need a password and where is it? Haven’t assigned any yet

Greetings Jürgen

Hi @juergen0749 ,

Please share the log/debug messages from home-assistant.log.

Hi cinzas,

Is this what you mean?

Logger: openwebif.api
Quelle: components/enigma2/config_flow.py:93
Erstmals aufgetreten: 08:56:12 (17 Vorkommnisse)
Zuletzt protokolliert: 11:27:48

My Dreambox 920
Got 500 from http://192.168.178.50:80/api/about: {“exception”: “TypeError(‘TypeError("unsupported operand type(s) for +: \‘int\’ and \‘str\’",) is not JSON serializable’,)”, “request”: “/api/about”, “result”: false}
My Dreambox 900
Got 500 from http://192.168.178.100:80/api/about: {“exception”: “TypeError(‘TypeError("unsupported operand type(s) for +: \‘int\’ and \‘str\’",) is not JSON serializable’,)”, “request”: “/api/about”, “result”: false}

Greetings