GithubHelp home page GithubHelp logo

hass-onkyo-ng's People

Contributors

dannytrigo avatar kongo09 avatar rlkoekie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hass-onkyo-ng's Issues

Error occurs, crashes HomeAssistant

Hi,

I have the same "Unknown error occured" as here:
#1

But after closing the setup window, this crashes my HomeAssistant and it stops responding for 5minutes. When it responds again, it appears as though some of the HA internal networking has died and requires a restart to resolve

Home Assistant 2023.8.4
Supervisor 2023.08.1
Operating System 10.5
Frontend 20230802.1 - latest

No zone 2

I was expecting to get a zone 2 media player entity with this integration but it doesn’t seem to create one. I can look into implementing that if it’s not currently supported

Unknown error occured

Integration discovered my Onkyo TX NR636, but when I click 'Configure' and enter the IP address, an error message appears 'unknown error occurred':

Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 227, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 81, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 180, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 73, in wrapper
result = await method(view, request, data, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 286, in async_configure
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 374, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/hass_onkyo_ng/config_flow.py", line 116, in async_step_user
onkyo_receiver = OnkyoReceiver(receiver=receiver)
File "/config/custom_components/hass_onkyo_ng/onkyo.py", line 36, in init
source_list = self.get_sources()
File "/config/custom_components/hass_onkyo_ng/onkyo.py", line 83, in get_sources
power_state = status[1]
TypeError: 'bool' object is not subscriptable

Unable to set up a TX-NR727

It adds the device when I enter an optional name, but it doesn't create devices.

The error:

Logger: homeassistant.components.media_player
Bron: helpers/entity_platform.py:356
integratie: Mediaspeler (documentatie, problemen)
Eerst voorgekomen: 09:53:32 (1 gebeurtenissen)
Laatst gelogd: 09:53:32

Error while setting up hass_onkyo_ng platform for media_player
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 356, in _async_setup_platform
    await asyncio.shield(awaitable)
  File "/config/custom_components/hass_onkyo_ng/media_player.py", line 90, in async_setup_entry
    entities.append(OnkyoMediaPlayer(coordinator, zone))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hass_onkyo_ng/media_player.py", line 104, in __init__
    super().__init__(coordinator)
  File "/config/custom_components/hass_onkyo_ng/__init__.py", line 130, in __init__
    self._identifier = coordinator.data[ATTR_IDENTIFIER]
                       ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'identifier'

This is with debug log turned on.

If there is anything I can help with, please let me know.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.