HomeAssistant Announcements/Megaphone

Hi,

would be great to have the possibility send Voicemessages to attached speakers like Bluetooth Speakers/WigiSpeakers (DLNA, Sonos etc…)

Using the phone/webbrowser to send microphone input to devices.

this would be greate.

thanks
Marc

Moved to the Feature requests section since this is a request, not an announcement of a new feature you’ve developed :wink:

Me also would appreciate such a feature

You need to click on the Vote button to register your interest.

After thinking a while i found a pretty good solution / workaround (for iOS):

  • install the smb file share add-on on HA
  • in iOS (Files) mount the HA-shares over smb
  • create a iOS-shortcurt action that: records a sound, stores it in the “media” folder of that share and finally calls a HA script, that plays that local file

works quite good.

alias: Play recording_Sonos
sequence:
  - condition: state
    entity_id: input_boolean.do_not_disturb
    state: "off"
  - condition: numeric_state
    entity_id: zone.home
    above: "0"
  - condition: time
    after: "06:59:00"
    before: "22:00:00"
  - variables:
      Sonos_Lautstärke: "{{ state_attr(\"media_player.wohnzimmer\", \"volume_level\") }}"
  - action: media_player.volume_set
    metadata: {}
    data:
      volume_level: 0.52
    target:
      device_id: 761dc0c63fc1e40e176fc0ab5a921458
  - metadata: {}
    data:
      media_content_type: music
      media_content_id: media-source://media_source/local/aufnahme.m4a
      extra:
        volume: 80
    target:
      entity_id: media_player.wohnzimmer
    action: media_player.play_media
  - delay:
      hours: 0
      minutes: 0
      seconds: 20
      milliseconds: 0
  - data:
      volume_level: "{{ Sonos_Lautstärke }}"
    target:
      entity_id: media_player.wohnzimmer
    alias: Lautstärke wiederherstellen (auf Wert der Variable)
    action: media_player.volume_set
fields: {}
mode: single
icon: mdi:bell
description: ""