osk2 / yamaha-soundbar Goto Github PK
View Code? Open in Web Editor NEWYamaha soundbar integration for Home Assistant.
Yamaha soundbar integration for Home Assistant.
The Ip of the Soundbar Yamaha SRX40A is 192.168.69.68 a ping is workin, the Yamaha App is working, but not the HA integration. Are there any Ideas? When I click on settings of the Soundbar on the Dash Board, I get, that I can not control it, because it has no Unique_ID
Logger: custom_components.yamaha_soundbar.media_player
Quelle: custom_components/yamaha_soundbar/media_player.py:452
Integration: Yamaha Soundbar (Dokumentation, Probleme)
Erstmals aufgetreten: 17:26:49 (14 Vorkommnisse)
Zuletzt protokolliert: 17:29:39
For: YamahaSRX40A (192.168.69.68) async get failed, response code: 404 Full message: <ClientResponse(https://192.168.69.68/httpapi.asp?command=setPlayerCmd:play:https://stream.rockantenne.de/alternative/stream/mp3) [404 Not Found]> <CIMultiDictProxy('Date': 'Wed, 13 Mar 2024 16:29:08 GMT', 'Server': 'Boa/0.94.13', 'Connection': 'close', 'Content-Type': 'text/html; charset=ISO-8859-1')>
This HACS integration generates many errors. This snippet includes 207 occurrences after a recent restart.
This error originated from a custom integration.
Logger: homeassistant.helpers.entity
Source: custom_components/linkplay/media_player.py:2678
Integration: Linkplay (documentation, issues)
First occurred: 11:55:01 (207 occurrences)
Last logged: 12:33:32
Update for media_player.duokim_garo fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 554, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 779, in async_device_update
await self.async_update()
File "/config/custom_components/linkplay/media_player.py", line 818, in async_update
await self.async_update_via_upnp()
File "/config/custom_components/linkplay/media_player.py", line 2678, in async_update_via_upnp
xml_tree = ET.fromstring(media_metadata)
File "/usr/local/lib/python3.10/xml/etree/ElementTree.py", line 1342, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 15, column 38
Maybe you could take a look?
Hi, the addon doesn't work.
HA 2024.5.0
log
Registratore: homeassistant.setup
Fonte: setup.py:404
Prima occorrenza: 00:18:09 (1 occorrenze)
Ultima registrazione: 00:18:09
Error during setup of component yamaha_soundbar
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 404, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/yamaha_soundbar/init.py", line 175, in setup
hass.services.async_register(
File "/usr/src/homeassistant/homeassistant/core.py", line 2522, in async_register
self._hass.verify_event_loop_thread("async_register")
File "/usr/src/homeassistant/homeassistant/core.py", line 440, in verify_event_loop_thread
frame.report(
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 162, in report
_report_integration(what, integration_frame, level, error_if_integration)
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 203, in _report_integration
raise RuntimeError(
RuntimeError: Detected that custom integration 'yamaha_soundbar' calls async_register from a thread at custom_components/yamaha_soundbar/init.py, line 175: hass.services.async_register(. Please report it to the author of the 'yamaha_soundbar' custom integration.
HA 2023.10.5. Addon stopped working. Within log getting such warning "Setup of media_player platform linkplay is taking over 10 seconds.". No sound bar access anymore.
hi @osk2
thx for your work on supporting yamaha-soundbar device.
I have the following warnings in HA logs that cause the connection reset to my yas-109:
WARNING (MainThread) [custom_components.linkplay.media_player] Failed async communicating with LinkPlayDevice (httpapi) 'YAS_109': <class 'TimeoutError'>
...
it occurs multiple times and I need to manually power the device up (e.g. to use Alexa commands). Any hint about the root cause of the problem?
The firmware running on the soundbar is 5.31.
Regards,
Lorenzo
I am using this integration to controller an ATS-2090. It works pretty well, but there is no ability to just turn it on or off. I have to hit play every time and select a source. Is there a way to add this functionality?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.