I can acces both URL for the services & bouquets just fine when using I am still getting this error HA: The authentication settings are good, if I change anything I see this:ĬonnectionRefusedError: Connection refused To be sure I tried something test only but no luck. Thanks Fran, I had already changed the default password. Can I also put in a feature request to define which bouquet to use instead of it being the first bouquet it finds? Thanks! This may be because I am using terrestrial DVB-T2 tuners, or it could be a UK thing, I’m not sure exactly how it works as I am fairly new to enigma2 receivers so don’t understand the system properly yet.įantastic work so far and great to have basic control of the receiver from HA! Let me know if I can help any more with this picon issue supplying more info or testing code - very happy to help get this working fully! This method works for all the channels to determine the correct png filename. Which is the e2servicename with the whitespace removed and converted to lowercase. However on my system the correct picon for this channel should be: That URL returns a 404 no such resource error. (including the username and password of course) The picon_url built on line 191 uses the e2servicereference value resulting in a URL of: Looking at enigma.py and trying to understand the python (which I am now learning from your custom component! ) the important code seems to be lines 178 to 194.Ī small garden with planning permission in Canterbury in Kent, a flat in London's Crystal Palace and a bungalow in the village of Branthwaite in Cumbria are sold at auction. Your custom component is attempting to load a picon (the card briefly slides down as if it is about to display the picon but then slides back up) and it seems to keep trying. Now it’s up and running I have discovered a problem with the picon display in HA. SSH on to the enigma box and a quick “passwd” command to change the password to anything other than “password”, change the config in HA, restart, and the enigma media player controls appear as expected with no errors in the log.Ĭhanging the enigma box root password back to “password” and it all fails again! So something in the code is not dealing with specifically defining the password as “password”! I am using a new enigma box that’s only a few weeks old and so I hadn’t changed the default password for the root account from literally “password”. The cause of the original error was the password used for the enigma box. Text in bold is the solution to my original error, other text is a new problem. 09:11:34 INFO (MainThread) Bus:Handling 09:11:34 ERROR (MainThread) Error while setting up platform enigma 09:11:34 DEBUG (MainThread) Enigma: - Call request With debug logging there is a little more info but not much, so hope that helps! 09:11:34 INFO (MainThread) Setting up media_player.enigma Sorry for the delay - I’ve not had the opportunity to try again until now. I hope that means more you than it does to me! OpenWebIF works fine via a browser on the IP and port that I’ve set in the configuration: - platform: enigma Return self._opener.open(uri, timeout=self._timeout).read().decode('UTF8')ĪttributeError: 'bool' object has no attribute 'open' Reference = _plus(self.get_bouquet_reference())įile "/config/custom_components/media_player/enigma.py", line 135, in get_bouquet_referenceīouquets_xml = self.request_call('/web/getallservices')įile "/config/custom_components/media_player/enigma.py", line 146, in request_call I thought I would give this a go with my Vu+Duo2 but I’m getting errors in the log (and no media player controls): Error while setting up platform enigmaįile "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 84, in async_setupįile "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_forįile "/usr/lib/python3.6/asyncio/futures.py", line 245, in resultįile "/usr/lib/python3.6/asyncio/tasks.py", line 180, in _stepįile "/usr/lib/python3.6/asyncio/coroutines.py", line 210, in coroįile "/config/custom_components/media_player/enigma.py", line 78, in async_setup_platformįile "/config/custom_components/media_player/enigma.py", line 114, in _init_įile "/config/custom_components/media_player/enigma.py", line 119, in load_sources
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |