Fully Kiosk TTS stopped working?

Anyone else experienced this? This is even from the device’s web view, not just in automations from HA

here its still working

Hello,
my TTS on Fully is not working on all my andorid (v11,v12) devices. The devices are shown as media.player but i get always the same error.
“The action media_player/play_media could not executed. Unsupported media type provider”
I´m not sure what i can do. Some testings with ip adress etc. did not work for me.

1 Like

Hello,
same problem here with my Galaxy Tab A9+.
Have you solved the problem?

I’m having the same problem. What’s curious is that I can play other media from the media browser (mp3 files) and also from the JellyFin media source. But using the “text to speech” thing i the media browser fails.

Looking at the Home Assistant logs, I get the same sort of exception thrown:

2024-12-30 23:27:17.242 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139900147388272] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2802, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2845, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1007, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
        hass, entity, func, data, call.context
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1079, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fully_kiosk/media_play

Has this ever worked? I’d prefer to use one common voice in Piper for announcements, regardless of what speaker/device they come from, and not try to use the Fully Kiosk TTS service that presumably uses some Android TTS functionality.

I’m running Home Assistant version 2024.12.5, deployed in a docker container. The TTS service works fine with other media players and voice assistants.

I’m also running Music Assistant alongside of Home Assistant. I added the media_player entity created by the Fully Kiosk integration as player device in Music Assistant. That works fine as an audio destination in Music Assistant.

I then added the associated Music Assistant media_player entity in Home Assistant. This is the entity which, when used in Home Assistant will pause music playback (if any) and then play the new media/announcement. When I use this Music Assistant entity as a target for at tts service, er, action call it seems to work just fine. I suppose this isn’t too surprising as Music Assistant likely transcodes output if required. I’ve dived into what MA does, or how it does it to speculate on how the media is presented differently to the Fully Kiosk media player by Music Assistant in a way that it works vs. what was happening before.

FWIW…

I had set up an automation to receive an announcement on my wall tablet. That worked really well.

A while ago, I swapped the very old tablet for a new one (Galaxy Tab A9+). Thanks to Fully Browser, everything worked as usual. Until I realized that I hadn’t adjusted my automation and the old tablet was still entered as the target for tts. So I entered the new tablet, and then? It doesn’t work!

The following error message appears:
Error executing an action
Unsupported media type provider

I created it in the visual editor. The YAML code is as follows:

target:
  entity_id: media_player.galaxy_tab_a9
data:
  media_content_id: >-
    media-source://tts/tts.piper?message=Der+Gartenschrank+ist+noch+offen.&language=de_DE&voice=de_DE-pavoque-low
  media_content_type: provider
metadata:
  title: Der Gartenschrank ist noch offen.
  thumbnail: https://brands.home-assistant.io/_/tts/logo.png
  media_class: app
  children_media_class: null
  navigateIds:
    - {}
    - media_content_type: app
      media_content_id: media-source://tts
    - media_content_type: provider
      media_content_id: >-
        media-source://tts/tts.piper?message=Der+Gartenschrank+ist+noch+offen.&language=de_DE&voice=de_DE-pavoque-low
action: media_player.play_media

I don’t know where to look for the error.

  • Android setting on the tab
  • Fully setting
  • tts setting in the Home Assistant

As I said, it worked perfectly with the old tablet.
In the radio browser I can select the Tab A9+ and it plays the stations as expected. Only tts dose not work.

I’m grateful for any hints!

I can’t edit my post while it’s pending mod approval, but I found two solutions.

One, you can make a call using the following URL structure:

http://192.168.1.xxx:2323/?cmd=textToSpeech&text=The%20dryer%20is%20running&password=REMOTEADMINPASS

Or, you can change the type of event for your TTS - in an automation, for instance, instead of using media player like before, when adding an action select “other action.” Then, select Text-to-speech (TTS). For targets, you’ll select the speech processor - it’ll be under “choose entity” and I went with google. Then select the tablet as the media player entity, type a message, and it should work.

Edit: Aww, they approved my posts in the wrong order and now I look silly :frowning:

1 Like

I’m in the same exact boat. I use a Galaxy Tab S7+ as a wall kiosk in my grandmother’s hallway to give her easy access to common controls. Because it’s centralized in the house and she passes it on the way to bed, it’s a great place to announce reminders (the dryer is still running, the door is open, etc) for her. I recently added another one that toggles when her “time for bed” script runs if certain devices are still on that can’t be controlled (things where I can tell they’re running via power consumption but can’t turn them off) and have the same problem, and the same error. I then checked my previously working ones and nope, they’re broken.

Really wish I could figure this out.

Thank you verry much. It works. :grinning:
For targets I set “piper” and as media player the tablet.

HI,

I’m also in that same boat, can you show me your code how you changed it ?

Mine looks like this

metadata:
          title: Waarmee kan ik jou helpen ?
          thumbnail: https://brands.home-assistant.io/_/tts/logo.png
          media_class: app
          children_media_class:
          navigateIds:
          - {}
          - media_content_type: app
            media_content_id: media-source://tts
          - media_content_type: provider
            media_content_id: media-source://tts/tts.piper?message=Waarmee+kan+ik+jou+helpen+%3F&language=nl_BE&voice=nl_BE-nathalie-medium
        target:
          entity_id: media_player.lenovo_tab_m11```

Here is my code:

action: tts.speak
metadata: {}
data:
  cache: true
  media_player_entity_id: media_player.galaxy_tab_a9plus
  message: Der Gartenschrank ist noch offen.
target:
  entity_id: tts.piper