ESPMuse as a target/platform in ESPHome?

Use your phone to connect to the access point the Muse creates and connect the Muse to your wifi network.

After you’ve done that you should be able to manually add it using the SilmProto Squeezebox integration (core integration, not third party)

Hi Tom and thanks.
I was trying the Squeezebox (Logitech) integratiuon, and that (of course) didn’t work.
Tha slimproto squeezebox worked instantly.
Thanks a lot!!!

1 Like

Thanks that installer / slimproto integration worked well on the ESP Muse Luxe I just got to play with. Although has anyone been able to get TTS through Home Assistant Cloud or any type of TTS to work with it? I’m getting an error since the player doesn’t’ support HTTPS. Best I can tell is squeezelite doesn’t support it.

I have used tts with squeezebox integration.

Likewise:

  - service: tts.cloud_say
    entity_id: media_player.squeezelite_5fef4
    data:
      message: >
        {% if is_state('binary_sensor.lane_gate_contact', 'on') %}
          The lane gate is open.
        {% else %}
          The lane gate is closed.
        {% endif %}
1 Like

hi,

Got the same issue. Did you manage to play anything from your local files/tts?

I did but in a way I’m not sure I want to be my final solution or may not even be the best one. What I did was setup LMS (Docker Hub) and integrated that with Home Assistant. Then I was able to to point the ESPMuse to LMS which then created a new media entry in Home Assistant which I can now send TTS to as well as media from LMS. I think my problem is I use HTTPS for my internal home assistant network so when I was trying to send it without LMS it was sending HTTPS audio urls which I don’t think squeezelite on the esp32 supports, but now that I’m going through LMS I think the audio urls are just HTTP coming from LMS which it can handle. I haven’t verified all of this, but it’s my best guess at the moment.

1 Like

thanks for the quick reply! I’ll have a look.

When you say that you “setup LMS”, where did you actually set ip up? On your Raspberry?

I run Home assistant OS as a VM so I set it up on a different VM I use for docker. I’m not sure if there’s an easy way to run it on Home assistant OS or not.

Yep, that’s what I thought. I’ve HA OS. Cheers again!

Found a solution. I leave it here if other people need it.

I use HA with SSL. I just added the NGINX SSL proxy

replaced my http config in configuration.yaml to

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.30.33.0/24

and forwarded port 443 to 443 in my router.

Now it just plays everything with the SlimProto Player integration as local urls are http.

1 Like

There is an LMS addon. https://github.com/pssc/ha-addon-lms/

Thank you. Tried that but I can’t start the server. It seems the addon is not maintained.

What makes you think it is unmaintained?

It says so. I installed it anyway but when I hit start the logs is full of errors and I can’t access the web UI.

I don’t know how they work that out. There was a commit 2 days ago.

What are your errors? What are your settings?

Ok and I just discovered that you can’t run it as the same time as the slimproto integration

It says there is another instance of LMS running on the same machine. I deleted everything and re-installed but the error keeps showing.

Amazing. Many thanks for the tip. Where did you find that out?