Enigma2 receivers integration

after the update of ha to version 2021.2.3 the integration with enigma2 decoders no longer works. The decoders are always off and the history is no longer available. I will try to remove and reconfigure them

Hi @Herr.Vorragend

Unfortunately, no, this plugin relies entirely on OpenWebif :frowning:
In my opinion, I definitely recommend an upgrade from DreamOS to OpenATV :slight_smile:
I’ve tried many images in the past, and OpenATV (and PLI) are the ones I use now.
And all those bring OpenWebif

1 Like

Hi @spider7611

I’m running openatv 6.4 in my main receiver.
With below config:

devices:
  - host: 192.168.1.20
    port: 80
    name: Gigablue
    picon: picon
    timeout: 20
    username: root
    password: !secret enigma_password

And streaming enabled with authentication (last option below- Sim = Yes)
Screenshot from 2021-02-17 16-32-48

I have picons/screenhot working.
Screenshot from 2021-02-17 16-34-21

Can you share the logs (if a error is thrown) from your home-assistant.log ?

Hi @cannos88

Please restart HA and let it runs all the updates.
Restart afterwards (having your enigma powered on) and check it.

I run that version and I do not have any problems

Hi,

Here my 2 config tryed both of them with same result (no picon):

media_player:
  - platform: enigma2
    host: 192.168.1.104
    port: 33444
    use_channel_icon: true
    username: !secret zgem_user
    password: !secret zgem_pass
    name: ZgemmaH7S
enigma: 
  devices:
    - host: 192.168.1.104
      port: 33444
      name: ZgemmaH7S
      timeout: 20
      username: !secret zgem_user
      password: !secret zgem_pass
      picon: picon

Get this error in the log but I think thats why because after 23:00 go to deep sleep the box.

Logger: openwebif.api
Source: /usr/local/lib/python3.8/site-packages/openwebif/api.py:634
First occurred: 6:58:19 (872 occurrences)
Last logged: 8:10:54

There was a connection error calling http://192.168.1.104:33444/api/statusinfo Please check the network connection to the Enigma2 box is ok and enable debug logging in Enigma2 if required. Error: HTTPConnectionPool(host='192.168.1.104', port=33444): Max retries exceeded with url: /api/statusinfo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc56c03f6d0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
There was a connection error calling http://192.168.1.105:80/api/statusinfo Please check the network connection to the Enigma2 box is ok and enable debug logging in Enigma2 if required. Error: HTTPConnectionPool(host='192.168.1.105', port=80): Max retries exceeded with url: /api/statusinfo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc56bf0cc70>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
There was a connection error calling http://192.168.1.104:33444/api/statusinfo Please check the network connection to the Enigma2 box is ok and enable debug logging in Enigma2 if required. Error: HTTPConnectionPool(host='192.168.1.104', port=33444): Max retries exceeded with url: /api/statusinfo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc527f89a90>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
There was a connection error calling http://192.168.1.105:80/api/statusinfo Please check the network connection to the Enigma2 box is ok and enable debug logging in Enigma2 if required. Error: HTTPConnectionPool(host='192.168.1.105', port=80): Max retries exceeded with url: /api/statusinfo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc540c708e0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
There was a connection error calling http://192.168.1.104:33444/api/statusinfo Please check the network connection to the Enigma2 box is ok and enable debug logging in Enigma2 if required. Error: HTTPConnectionPool(host='192.168.1.104', port=33444): Max retries exceeded with url: /api/statusinfo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc540c709a0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))

I have 2 box, the second one only get the strem from the first one and there the picon working good. There the port is 80 and http authentication disable.

- platform: enigma2
    host: 192.168.1.105
    port: 80
    use_channel_icon: true
    username: !secret zgem_user
    password: !secret zgem_pass
    name: ZgemmaH2H

EDIT: If I disable “HTTP authentication” then it is working good, but I need this http authentication if I want to stream from outside lan. So no solution for this?

EDIT2: Today look in the log and see this warning. This error came after enabled “HTTP authentication”:

Logger: homeassistant.components.media_player
Source: components/media_player/__init__.py:907
Integration: Médialejátszó (documentation, issues)
First occurred: 2021. február 18. 19:04:54 (4 occurrences)
Last logged: 2021. február 18. 20:46:04

Error retrieving proxied image from http://192.168.1.104:33444/picon/tv2hd.png
Error retrieving proxied image from http://192.168.1.104:33444/picon/dunahd.png
Error retrieving proxied image from http://192.168.1.104:33444/picon/historyhd.png
Error retrieving proxied image from http://192.168.1.104:33444/picon/natgeohd.png

EDIT3: Now turn on the box and see 2 channels picons what I tried yesterdey when the “HTTP authentication” was disabled. But the others icons not working. If change another channel get this error in the log:
* Error retrieving proxied image from http://192.168.1.104:33444/picon/animalplanethd.png
If I use this: http://192.168.1.104:33444/picon/animalplanethd.png in the google chrome after log in see the picon. Don’t know where is the problem.
EDIT4: After HA restart that 2 picon gone too so they was in the chache.

Hi @spider7611

Sorry for the late reply.
I think you are confusing two components here.
My component is a custom component with some more features than the standard one.


media_player:
  - platform: enigma2
    host: 192.168.1.104
    port: 33444
    use_channel_icon: true
    username: !secret zgem_user
    password: !secret zgem_pass
    name: ZgemmaH7S

In this configuration you are using the standard platform (enigma2) from home assistant.
Just use mine so I can understand what is happening, like this:

enigma: 
  devices:
    - host: 192.168.1.104
      port: 33444
      name: ZgemmaH7S
      timeout: 20
      username: !secret zgem_user
      password: !secret zgem_pass
      picon: picon

Add both enigma as I described and then share the logs to see if there is any error message.
You can also enable debug and filter it.

The error you show on EDIT2 is from the standard component.
To enable logs

logger:
  default: critical
  logs:
    custom_components.enigma: debug

Thanks

Ok, no problem. Tried it and with this setup no icon at all. With the standard platform on the second box have icon, but with yours no icon.

enigma: 
  devices:
    - host: 192.168.1.104
      port: 33444
      name: ZgemmaH7S
      timeout: 20
      username: !secret zgem_user
      password: !secret zgem_pass
      picon: picon
    - host: 192.168.1.105
      port: 80
      name: ZgemmaH2H
      timeout: 20
      username: !secret zgem_user
      password: !secret zgem_pass
      picon: picon

The log show this:

2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Powerstate for host 192.168.1.104 = 
false	
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.104:33444/web/subservices 
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Powerstate for host 192.168.1.105 = 
false	
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.105:80/web/subservices 
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.104:33444/web/epgservicenow?sRef=1:0:19:6A6:11:601:FFFF0000:0:0:0: 
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.105:80/web/epgservicenow?sRef=1:0:19:6A6:11:601:FFFF0000:0:0:0: 
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Eventtitle for host 192.168.1.104 = A világ egy terített asztal
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.104:33444/web/vol 
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Volume for host 192.168.1.104 = 100
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Is host 192.168.1.104 muted = False
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [media_image_url] - http://root:[email protected]:33444/picon/1_0_19_6A6_11_601_FFFF0000_0_0_0.png
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Eventtitle for host 192.168.1.105 = A világ egy terített asztal
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.105:80/web/vol 
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Volume for host 192.168.1.105 = 100
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Is host 192.168.1.105 muted = False
2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [media_image_url] - http://root:[email protected]:80/picon/1_0_19_6A6_11_601_FFFF0000_0_0_0.png
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - request for host 192.168.1.104 (ZgemmaH7S)
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.104:33444/web/powerstate 
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - request for host 192.168.1.105 (ZgemmaH2H)
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.105:80/web/powerstate 
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Powerstate for host 192.168.1.104 = 
false	
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.104:33444/web/subservices 
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Powerstate for host 192.168.1.105 = 
false	
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.105:80/web/subservices 
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.104:33444/web/epgservicenow?sRef=1:0:19:6A6:11:601:FFFF0000:0:0:0: 
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.105:80/web/epgservicenow?sRef=1:0:19:6A6:11:601:FFFF0000:0:0:0: 
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Eventtitle for host 192.168.1.104 = A világ egy terített asztal
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.104:33444/web/vol 
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Volume for host 192.168.1.104 = 100
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Is host 192.168.1.104 muted = False
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [media_image_url] - http://root:[email protected]:33444/picon/1_0_19_6A6_11_601_FFFF0000_0_0_0.png
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Eventtitle for host 192.168.1.105 = A világ egy terített asztal
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [request_call] - Call request http://192.168.1.105:80/web/vol 
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Volume for host 192.168.1.105 = 100
2021-02-25 13:24:15 DEBUG (MainThread) [custom_components.enigma] Enigma: [update] - Is host 192.168.1.105 muted = False
Logger: homeassistant.components.media_player
Source: components/media_player/__init__.py:907
Integration: Médialejátszó (documentation, issues)
First occurred: 14:09:44 (2 occurrences)
Last logged: 14:11:44

Error retrieving proxied image from http://root:[email protected]:33444/picon/1_0_11_519_D_601_FFFF0000_0_0_0.png
Error retrieving proxied image from http://root:[email protected]:80/picon/1_0_19_CB_2_601_FFFF0000_0_0_0.png

I can see there the image_url requests.

2021-02-25 13:24:05 DEBUG (MainThread) [custom_components.enigma] Enigma: [media_image_url] - http://root:[email protected]:80/picon/1_0_19_6A6_11_601_FFFF0000_0_0_0.png

Can you open the url from the broser in your lan ?
Replace xxxx by the password :slight_smile:

Can’t open it. Get this error in the browser:

No Such Resource

File not found.

You’re saying that if you disable authentication, then it works ?
Please disable it, and share that exact same line [media_image_url] from the log file.

And open it on the browser.

Disable it and not working with your confing.

2021-02-25 15:09:52 DEBUG (MainThread) [custom_components.enigma] Enigma: [media_image_url] - http://root:[email protected]:33444/picon/1_0_19_CB_2_601_FFFF0000_0_0_0.png

Get the same error in the browser.

No Such Resource

File not found.

With the standard platform working good only when disable “HTTP authentication”

You are using authentication (root/xxxx)
Can you remove authentication ?

Is the picon showing in the webinterface if you login via browser ?

Login my box across ftp and in the media/hdd/picon not have png on this format: 1_0_19_CB_2_601_FFFF0000_0_0_0.png
Only this format: eurosport1hd.png
So this is working and can open it in browser too: http://192.168.1.104:33444/picon/eurosport1hd.png

And of course I see icons in http://192.168.1.104:33444/ in browser

That’s the problem
Openwebif searches for the PNG (and also most of the enigma images), by the service reference.
You need to put the picons on that folder using the reference name.
You can easily find them in the internet. Just download the package for the sat’s you need and it should work :slight_smile:

Ok will try it, but don’t understand that why working this eurosport1hd.png without “HTTP authentication” on the standart platform??

Found this page with icons, but the same png names what I already have.

https://github.com/picons/picons/releases/tag/2021-02-18--14-12-24

So I think go back to standard ha integration.
Thank you.

Hi
For me it is really strange that it shows the icons only with encryption.
The process is exactly the same. The picons are requested by the service reference name.
And this is the standard, I believe also in the default HA integration, as it is a fork :slight_smile:

There is something not right in your image, or probably you have links inside the picon folder.

Again, find a package with all the icons for the satellite you are using.

Is this a SAT or CABLE receiver.
Which satellites are you using right now ?
I could provide you links for picons for those channels.
It is also important to understand which size do you want your picons, and with which type of bacground (white/black/transparent).

Cheers

Don’t know what is the problem. Maybe older links. In the past use NAS hdd on lan for the receivers. So there was the picons. Now the picons on internal hdd.
My receiver: Zgemma H7S sat and cable together. W0,8 sat and upc cable.
Use transparent icon and 220x132 size.

Hello,

I have a problem, the play / pause button does not work. The volume yes but not this button. For me this is the most important. I saw that others had the same problem but no solution was given.
Can you help me?
Thank you

Hello cinzas,

Thanks for your help.
Last week i did a update of my reciever, after that everything was working again.
So Problem solved

1 Like

Hi @Jerome_Arnould

What do you expect it to do when you click the payl/pause button.
Should it pause/play the timeshift ?

I do not know if that is possible. I will have a look

Rgds