#Good afternoon all I set up DuckDNS Let

1 messages · Page 1 of 1 (latest)

fleet roost
#

Almost certainly that URL doesn't work any more... have you tried it?

#

That's because ||you're doing SSL in HA, so you have to use https://||

#

And ||that URL will generate an SSL validation error if you do that||

finite stag
#

||So either use the external URL, or a reverse proxy||

grim trail
#

I tried the external URL

#

But also didn’t work

#

I’ll try the reverse proxy method

fleet roost
#

Well, the first will throw errors

#

The second requires that you've got working Loopback NAT

#

(and it'd be https://192.168.0.42:8123/)

grim trail
#

Yep I will need to do that after I put my daughter to bed.

Also I noticed in 2023.2 there was a media update

grim trail
#

Thank you @fleet roost @finite stag I was able to resolve this issue! Many thanks. My HA iOS app can now connect to the internal URL on WiFi and through the external URL through cellular data. My doorbell chime is also now working.

grim trail
#

@fleet roost@finite stag it seems play_media is not working.

service: media_player.play_media
target:
entity_id: media_player.sonos_ray
data:
media_content_id: media-source://media_source/local/beeps_03.mp3
media_content_type: audio/mpeg

#

I'm sure it has to go with media_content_id:

grim trail
#

I've just setup NGINX reverse proxy which I can confirm is working

#
service: media_player.play_media
target:
  entity_id: media_player.sonos_ray
data:
  media_content_id: http://ipaddresshere:8123/media/local/doorbellchime.mp3
  media_content_type: audio/mpeg
metadata:
  title: beeps_03.mp3
  thumbnail: null
  media_class: music
  children_media_class: null
  navigateIds:
    - {}
    - media_content_type: app
      media_content_id: media-source://media_source
#

Could anyone help me troubleshoot media_content_type: ?

#

Ever since I moved over to duckdns/let's encrypt my doorbell chime doesn't not play over my SONOS speaker

#

I've found some forum posts but nothing has helped me resolve my issue

#

This post here says

  media_content_id: media-source://media_source/local/doorbell.mp3
  media_content_type: media/mp3
#

This is my current YAML

service: media_player.play_media
target:
  entity_id: media_player.sonos_ray
data:
  media_content_id: media-source://media_source/local/doorbellchime.mp3
  media_content_type: media/mp3
metadata:
  title: beeps_03.mp3
  thumbnail: null
  media_class: music
  children_media_class: null
  navigateIds:
    - {}
    - media_content_type: app
      media_content_id: media-source://media_source
fleet roost
#

Does the URL work in a browser?

#
http://ipaddresshere:8123/media/local/doorbellchime.mp3