-
-
Notifications
You must be signed in to change notification settings - Fork 29.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lg_soundbar without discovery #23752
Comments
Please use the issue template. |
Done. Regards |
I will give a try to support static config but as i have no LG Soundbar i'll need you to test the new version as custom component for example. |
Yes, i will test a new custom version. I have one LG SK6F soundbar. Regards |
Can you please try this as custom component : https://github.com/SNoof85/home-assistant/tree/dev/homeassistant/components/lg_soundbar Add config into your configuration.yaml
Hope i did it correct (i'm not an expert !). Would be nice also if you could try it with discovery first (with soundbar on same net that your HA instance), then with fixed config (soundbar different network if you want to) and report. PS : you need to place all 3 files into <config_dir_of_ha>/custom_components/lg_soundbar/ |
I already tried a similar solution like yours. It seems like "add_entities" needs some information from discovery, but i am not an expert too :-) I does not work and i think you need an "else" after "if discovery_info:". No error logs and no entity added. Regards |
There was missing import 🗡 |
|
Sorry again a stupid mistake. Fixed. |
ok, so it's either a bug with the test component or the original was also buggy. On my side if i just configure a lg soundbar within my config with the IP of my TV i have the same than yours but...it's a TV not an LG soundbar. It's a bit hard for me to test. Could you try to set your soundbar in the same subnet that home assistant and test the custom component ? If it works, we would then exclude any network communication bug. |
Yes, the original component is working with the exception that "Optical/HDMI ARC" is not shown in the gui if selected: Volume, source and sound mode is changeable. The soundbar is on the same subnet as HA because the original component is not working if the soundbar is on different subnet. As i said i think "add_entities" is expecting a discovery object, mine looks like this: {'host': '192.168.6.3', 'port': 9741, 'hostname': 'Chromecast.local.', 'properties': {'PROTO_VER': '1.0', 'UUID': 'de85605e-68f4-4e83-9b28-474ee7315596'} Regards |
Yes we have to find these missing properties as i just pass host and port in the new version component. Thx for the detailed report of the discovery info object. Will try to get a look at this. The temescal lib is only waiting for host and port. Wich are passed to the class LGDevice in the component (stable and tested one). Don't want to doubt on your knowledge but what did you wrote in your config ? It should be this :
|
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Any progress? Regards |
Hey, sorry no, have no time yet to try it again. Also, i don't have this hardware at home and it's hard to find out without. On top of this I'm afraid that I've reached my maximum level at home assistant/python dev. |
same problem that got worse after updating my SK10Y soundbar
I think the problem is in the code that the component uses https://github.com/google/python-temescal broken by the latest updates LG(?) |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Not working yet. Regards |
Also not working with LG SL9YG |
Also not working with LG SL8YG soundbar |
Also not working with LG SK10Y |
I have tested this PR #31617 as custom_components |
I have tested the PR #31617 with a LG SK6F soundbar too. I am getting a working media_player entity: What i am missing is the option to turn it on or off. As an addition it would be nice to store this entity permanent. And if the source is changed to "Optical/HDMI ARC" the source changes to "Optical" and the GUI does not show the source anymore. Thanks @mattchrist @MartinHjelmare for the work so far. Regards |
How do i test it as a custom component? |
Download this git clone, extract the contents. Navigate to \homeassistant\components and copy the folder "lg_soundbar" to your HA "custom_components" folder, configure the lg_soundbar like mentioned here and restart HA. Regards |
There is also a problem with this integration and the standby option with the soundbar. Since this integration polls the soundbar permanently, it turns on instantly after the soundbar enters standby mode. Maybe this can be fixed in a combination with an on/off feature. For me this is not useable at the moment. Regards |
Any chance to get the integration working without discovery? Regards |
I think it works without discovery
these are the problems found:
|
I also encountered the problem with the soundbar turning on with this configuration... So that's not an option i guess. Regards |
Can confirm, even with just discovery enabled, the soundbar will turn off, then immediately turn back on again. SL10YG here. |
I had to disable lg_soundbar due to heating problems. It was keeping the device always on. |
Hi guys, any news about this issue? |
No news from me. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Issue still persists. Regards |
SAme problem here with sn9yg soundbar Is there a possibility to turn off the soundbar via wifi/network? In fact, the official soundbar app doesn't have the option, and besides, it has the same problem as us, as soon as you open the app the soundbar turns on :-( On the other hand, for my soundbar model, I had to edit the lg_soundbar component, with the temescal library, because it doesn't support all the modes of my soundbar: Translated with www.DeepL.com/Translator (free version) |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Home Assistant release with the issue:
hassos: "2.11"
homeassistant: 0.92.2
machine: raspberrypi3
supervisor: "162"
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component/platform:
lg_soundbar
Description of problem:
I am using a LG SK6F soundbar. Hassio and the soundbar are both on different subnets. This is for security reasons.
It would be nice if there would be an option to configure the soundbar manually with ip/port without having discovery enabled.
The text was updated successfully, but these errors were encountered: