-
Notifications
You must be signed in to change notification settings - Fork 4
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
Speaker disappears in Home Assistant #6
Comments
Hello @gurmukhp, It looks like there was an issue with the Maybe there is a slight API variation with your speaker model (that is LSX II if I am not mistaken ?) |
Hello! Thanks for checking in. I went through your library and constructed the URLs to communicate with the speaker directly, they seem to work, even when the kef HAS integration sometimes doesn't. I created pyscript like so (it's very hacky LOL):
|
I have just got the same issue with my LSX2 speakers, from the core log:
Any news on this? Note: The speakers have fixed IP, and this has worked before, I simply do no know why. Well I just updated everything (thans HA from changing everything from services to action, and breaking my setup!) so I run 2024.8 with all the trimmings. |
Run your requested IP command:
|
And yes it is playing. I can control my KEF LSX2 speakers over DLNA / Chromecast (seems to say different things in different places, sorry) - but I have nothing in KEF Connector, it is just empty, and the definition in configuration.yaml is straight forward: media_player:
|
Sorry for all comments, but I do not get this problem. Here is why: I do not think this is a KEF Connector issue at all. The ONLY change I did was a number of "service:" calls that was replaced by "action:" in automations.yaml - nothing else. After that change, KEF Connector fails. My speakers are hardwired (not wifi), and DHCP - this can be verified by entering the IP adress of my KEF LSX2 speakers, and one have a raw interface to the speakers settings for network and so on. Everything that has changed the last 24h is I got an automatic forced update to 2024.8 (I hate auto updates, it always breaks something in Home Assistant), and that worked with the exception of "service:" need to be changed to "action:" in autmations.yaml (why oh why could not Home Assistant "change all" on this replacement???? Why had it to break my installation?). If there is something that broke KEF Connector - and do note I have not updated to any new firmware on my KEF speakers - it is HA 2024.8. Something else changed, under all this. Edit: Yes of course I have reversed the change from service to action in automations.yaml - no change. This is not a change I can reverse, I can not get my KEF speakers into KEF Connector again, restarting HA from cold = no, restart speakers from cold = no, sofar nothing brings them back. Yes I can partly control if thru Chromecast/DLNA - but change input I can not from what I can see.... |
I decided to test something, so I removed (commented out) one line, well the line in the error above:
Now it kind of works, well except for that line that does not get updated - but at least I have a bit of more control over my Speakers, like selecting source... |
After a short while, the kef speaker disappears from Home Assistant and I'm not sure why.
If I try to call the API directly, it works fine:
http://xx.xx.xx.xx/api/getData?path=player:volume&roles=value&value={%22volume%22:%2225%22}
However, if I try to call a volume change via kef_connector, I get an error in the Home Assistant log:
If I restart the speaker, it works fine. The speaker has a dedicated IP address and calling the REST API directly works as expected. Is there anyway to manually make Home Assistant find the speaker without restarting the speaker?
The text was updated successfully, but these errors were encountered: