Enigma2 receivers integration

Thanks, no hurry :grin:
That error is strange atleast for /usr/src/homeassistant/homeassistant/setup.py
I dont have it anywhere.
I run home assistant in docker over debian buster.

hi guys,
I’ve got the same issue after updatig HA to 0.117.x version
I am not getting any warning, my config check pass every time but notify service disappeared - so cannot use notifications anymore
I am also running HA on docker
appreciate your help
thanks
Leoshek

Confirmed also on my setup.
Although I am not using hte notify component.

As said, I will have a look on the notify component to see what is missing.

great, many thanks
BTW for the others who might get notification problems:
I discovered MQTT broker/client plugin for Enigma2 - it has interesting features and one of them is sending a message, although it is not as nice as notify component
therefore I looking forward to get that working again
appreciate your help

Have you noticed with which HA release the notification service stopped working ?

I do belive it was when I upgraded from latest 0.116 to first 0.117

Ok Thanks.

This is really strange, the services are created, but not available

2020-11-15 10:29:30 INFO (MainThread) [homeassistant.components.notify] Setting up notify.enigma
2020-11-15 10:29:30 INFO (MainThread) [homeassistant.components.notify] Setting up notify.enigma

I see a traceback, probably related

2020-11-15 10:29:31 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/notify/__init__.py", line 292, in async_setup_platform
    await notify_service.async_setup(hass, service_name, target_service_name_prefix)
AttributeError: 'coroutine' object has no attribute 'async_setup'
2020-11-15 10:29:31 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/notify/__init__.py", line 292, in async_setup_platform
    await notify_service.async_setup(hass, service_name, target_service_name_prefix)

Found the problem,

Version 0.117 as an update notify to use async_add_executor_job.
This is causing problems with aiohttp

:frowning:

1 Like

Thanks you everyone for the feedback.

Version 1.3 released.
Notification are now working with HA 0.117 release.

Please, go ahead, try it and give feedback.

1 Like

works like a charm now :slight_smile:
many thanks
Leoshek

It works very well. Thank you :slight_smile:

I removed whole enigma folder and file. but I still got errors:

Logger: homeassistant.components.notify Source: components/notify/__init__.py:255 Integration: Notifications (documentation, issues) First occurred: 1:43:12 PM (1 occurrences) Last logged: 1:43:12 PM Unknown notification service specified

Logger: homeassistant.setup
Source: custom_components/enigma/init.py:95
First occurred: 1:43:12 PM (1 occurrences)
Last logged: 1:43:12 PM

Error during setup of component enigma
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 213, in _async_setup_component
result = await task
File “/config/custom_components/enigma/init.py”, line 95, in async_setup
configured_devices = config[DOMAIN].get(CONF_DEVICES)
KeyError: ‘enigma’

Hi

Show me the contents of the directory custom_components/enigma.

Also, share your configuration file for the enigmas devices only

Thanks

here you go:

total 40
-rw-r--r-- 1 root root  5550 Nov 15 14:19 __init__.py
-rw-r--r-- 1 root root 16768 Nov 15 14:19 media_player.py
-rw-r--r-- 1 root root  4667 Nov 15 14:19 notify.py
drwxr-xr-x 2 root root  4096 Nov 16 13:37 __pycache__

configuration.yaml:
media_player:
  - platform: enigma2
    host: 192.168.1.20
    name: vu
    username: !secret vuplus_user
    password: !secret vuplus_pass
notify:
  - platform: enigma
    host: 192.168.1.20
    port: 80
    name: vu
    username: !secret vuplus_user
    password: !secret vuplus_pass

Hi @pumo
The notify is correct, but the media_player is not :frowning:

The media_player needs to be configured as this

enigma: 
  devices:
    - host: 192.168.1.20
      port: 80
      name: vu
      timeout: 20
      username: !secret vuplus_user
      password: !secret vuplus_pass
      picon: screenshot
1 Like

Many thanks! and stupid me, I had two different enigma settings and I removed right one.
now it works

1 Like

Hi,
I am new here. I am trying to make this integration working but I can’t find the proper path to add enigma files from github. Should I create a folder? I have /home/matt bu there is only a file .profile - should I create a folder /home/matt/.homeassistant/custom_components and copy there the content of enigma folder from github?

\\ip_hassio\config\custom_components\enigma

I am doing something wrong. This is what I get:

Error doing job: Task exception was never retrieved
18:06:55 – loader.py (ERROR)
Error setting up integration notify - received exception
18:06:55 – loader.py (ERROR)
Invalid config for [media_player]: required key not provided @ data['platform']. Got None. (See /config/configuration.yaml, line 14). Please check the docs at https://www.home-assistant.io/integrations/media_player
18:06:43 – config.py (ERROR)

My /config/configuration.yaml file is:

media_player:
  enigma:
    devices:
    - host: 10.10.10.6
    port: 80
    name: dreambox
    timeout: 20
    username: root
    password: password
    picon: picon

notify:
  - platform: enigma
    host: 10.10.10.6
    port: 80
    name: dreambox
    username: root
    password: password

Try like this

enigma:
    devices:
      - host: 10.10.10.6
        port: 80
        name: dreambox
        timeout: 20
        username: root
        password: password
        picon: picon

notify:
  - platform: enigma
    host: 10.10.10.6
    port: 80
    name: dreambox
    username: root
    password: password