home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.58k stars 29.91k forks source link

SlimProto Player - no config flow #73268

Closed tomlut closed 2 years ago

tomlut commented 2 years ago

The problem

I just removed a muse-proto player set up with the SlimProto Player integration. I restarted then attempted to add a new SlimProto Player integration for my new ESPMUSE speaker flashed with balloob's Squeezelite-ESP32 installer (it is successfully connected to my network).

The integration presents no config flow, says "Success" but adds no media player entity. It adds no entity at all.

What version of Home Assistant Core has the issue?

core-2022.6.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

SlimProto Player

Link to integration documentation on our website

https://www.home-assistant.io/integrations/slimproto/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No errors in the logs.

core.config_entries:

            {
                "entry_id": "9384b841f05b9770e7aca8705e5c8c9f",
                "version": 1,
                "domain": "slimproto",
                "title": "SlimProto Player",
                "data": {},
                "options": {},
                "pref_disable_new_entities": false,
                "pref_disable_polling": false,
                "source": "user",
                "unique_id": null,
                "disabled_by": null
            }

core.device_registry:

            {
                "config_entries": [],
                "connections": [],
                "identifiers": [
                    [
                        "slimproto",
                        "30:ae:a4:5f:43:30"
                    ]
                ],
                "id": "3350b3fea37f0388e4f4db5c13a37a61",
                "orphaned_timestamp": 1654761763.234988
            }

That's the mac of my old player.

probot-home-assistant[bot] commented 2 years ago

slimproto documentation slimproto source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @marcelveldt, mind taking a look at this issue as it has been labeled with an integration (slimproto) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

tomlut commented 2 years ago

Screenshot 2022-06-09 at 18-21-03 Settings – Home Assistant

Other than connecting to my wifi the only other setting in the muse I changed was the name, to "lounge-speaker".

tomlut commented 2 years ago

Never Mind. The speaker was in recovery mode. As soon as I exited that it was discovered by home assistant and functions perfectly.

marcelveldt commented 2 years ago

Yes, that recovery mode stung me too once.

meichthys commented 2 years ago

How did you get the speaker out of recovery mode? I'm experiencing this after factory resetting my Boom and re-connecting it to the same network as HA.

tomlut commented 2 years ago

Visit the speaker with a web browser. At the bottom of the page there's a warning that it is in recovery mode. Something there is clickable.

meichthys commented 2 years ago

Thanks for the quick response. I don't think my older model Boom has a web interface unless the web interface runs on an unusual port?

tomlut commented 2 years ago

Squeezelite-ESP32 (which we are talking about running in recovery mode) has a web interface.

meichthys commented 2 years ago

Ok, the documentation doesn't indicate that any additional software is needed. I'll check this out👍

tomlut commented 2 years ago

Don't bother. This is specific to the Muse players. See: https://raspiaudio.github.io/

This will not work with your Boom.

tomlut commented 2 years ago

What makes you think your Boom is in recovery mode?

This is an issue with the Squeezelite-ESP32 firmware that is not compatible with your device.

meichthys commented 2 years ago

Ok, i see. I was confused about the following part of the docs: This lets you control Squeezebox hardware like the Classic, Transporter, Duet, Boom, Radio, and Touch

tomlut commented 2 years ago

That's right. The SlimProto Player integration works with those players, but this particular issue was due to a type of firmware that is not compatible with your device being in recovery mode.

meichthys commented 2 years ago

Ok sorry for the confusion. I can't seem to get the slimproto integration to work, but the lms addon plus the lms integration is working for now so I won't complain.

tomlut commented 2 years ago

Open a new issue if you can't get the help required in the HA Community Forum, on the HA Discord server or the home assistant reddit.

marcelveldt commented 2 years ago

Ok sorry for the confusion. I can't seem to get the slimproto integration to work, but the lms addon plus the lms integration is working for now so I won't complain.

Like @tomlut said, open a new issues if you experience another issue. Replying to an already closed issue is not a good idea.

Running LMS together with HA will not work. The player will connect to the LMS server. Run HA with slimproto integration OR LMS. Not both.

If you insist running them both you could try to set the IP of HA manually in the player.

meichthys commented 2 years ago

New Issue here: https://github.com/home-assistant/core/issues/74265