To be honest, it’s been a while since I tested the default integration.
Default integration is easier to install, and may be enough for most of the people.
My custom integration allows you to choose between channel icon or screenshot of what is playing.
But I think the best feature is that it allows you to send text notifications to the enigma receiver.
Yeah that is true. Messages are great! Thanks @cinzas But what I really miss is providing ids to entities so I can use them with assits and availability to add entitites from UI so I can reload them when HA being restarted while they deep sleep…
V1.9 has been causing the disk to spin in the top corner of the TV screen and is slow to respond to all commands if I turn the receiver off and back on again.
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:942
First occurred: 3 October 2024 at 14:38:37 (1874 occurrences)
Last logged: 21:12:52
Update for media_player.alien2br fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1300, in async_device_update
await self.async_update()
File "/config/custom_components/enigma/media_player.py", line 219, in async_update
await self.load_sources()
File "/config/custom_components/enigma/media_player.py", line 154, in load_sources
reference = urllib.parse.quote_plus(await self.get_bouquet_reference())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/enigma/media_player.py", line 176, in get_bouquet_reference
return soup.find('e2servicereference').renderContents().decode('UTF8')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'renderContents'
In this new version I have integrated the requests from @hoffmann202.
if a box is not online and HA is restarting then the entity is missing because on HA start the call request will fail and therefore the entity will never added. if the box is back online, a HA restart is neccecary to get the entity available again this is fixed: call request is now in a try/except block
load_source was only called on HA start. this is. now trigged every time a box pwstate is changed from offline to online improvement
async_update → pwstate will prevent creation of entity. if box is unreachable, powerstate_soup.find(‘e2instandby’).renderContents() is thrown an error. try/except block will handle this behavior
I believe this could be because of the load_source, that is called at each powerstate change.
Would be great if you could provide more logs.
MAke sure the configuration is correct, do a clean restart of HA and check if you can access the box from HA.
I turned of the enigma2 box and restarted HA. When HA restarted I turned on the box. When it loaded up the circle would spin for about 2 seconds then off for 2 seconds then back on. All commands on IR respond slowly.
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:942
First occurred: 10:24:09 (6 occurrences)
Last logged: 10:25:19
Update for media_player.alien2br fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1300, in async_device_update
await self.async_update()
File "/config/custom_components/enigma/media_player.py", line 219, in async_update
await self.load_sources()
File "/config/custom_components/enigma/media_player.py", line 154, in load_sources
reference = urllib.parse.quote_plus(await self.get_bouquet_reference())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/enigma/media_player.py", line 176, in get_bouquet_reference
return soup.find('e2servicereference').renderContents().decode('UTF8')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'renderContents'
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1270
First occurred: 10:24:31 (1 occurrences)
Last logged: 10:24:31
Update of media_player.alien2br is taking over 10 seconds
Can’t see any other logs enteries connected to the box.
The enigma2 media card was greyed out and if I clicked on 3 dots in top right it remained grey but opened up. No channel bouqets had loaded.
This circle on/off would continue until using the IR remote I changed the channel twice. Then the circle went and card lit up and bouqet appeared and I could pick a channel from the card.
If I restart the box again it comes up with media card working. If I put in standby and come out of it the card works.
If there is anything else you want me to report on let me know. I can live with pressing channel selection twice and improvement on having to restart HA with the box already on.
I am currently running the plugin against 3 Enigma2 devices.
GigaBlue UHD QUAD 4K - openATV 7.4.
Dream Multimedia DM800 HD se - OpenPLi 10.1
Dream Multimedia DM800 HD se - OpenPLi 10.2
And it is running without any problems.
Both dreambox are quite old, and laggy, and I don’t feel any kind of issue.
However, I did face a similar problem on the Gigablue last year.
It had nothing to do with the plugin, but with a extension I had.
Check if you have the enigma2-plugin-extensions-lcd4linux installed.
Also, which device do you have and which firmware (enigma2) is it running ?
Can you remove the device from HA configuration, restart HA and check if the issue still occurs on the Engima2 ?
Thanks. As you suggested above worked.
Removing the box from configuration.yaml and restarting HA. Then adding back the yaml again and restarting HA again.
Now the recurring busy circle has gone.
The box is an old Amiko Alien 2 running ViX4E2PROJECT Version 4.2. I found this to be the most stable image. I couldn’t find enigma2-plugin-extensions-lcd4linux on it.