Open kaijk opened 5 days ago
Hey, don't worry about the duplicate Issue. It is solved, and I will release an update soon.
Would you be able to tell me which tts you use?
It would be good if I could reproduce your setup to troubleshoot it.
A copy (or approximation) of your say_current_weather_forecast
automation would be awesome as well.
I'm using picotts
. My say weather forecast
automation is a lot of jinja
with specific weather entities. I'd be happy to share, but I think the following will be more useful for our current purposes.
Picotts
is set up like this in configuration.yaml
tts:
- platform: picotts
language: "en-US"
The Mopidy Integration is set up using the HA UI pointing at the IP address of the remote Pi that runs mopidy. I left the port setting at the default. I've deleted and re-added the mopidy entity, just in case. The integration gives the media_player.mopidy_dining_room
entity. I have debug
turned on for the integration.
Then, I have a notifier set up like this:
notify:
- platform: tts
name: Dining Room Speakers
tts_service: tts.picotts_say
media_player: media_player.mopidy_dining_room
Then, from Developer Tools > Actions
the notifier action does nothing except produce DEBUG and Warning messages like I provided in the post above:
action: notify.dining_room_speakers
data:
message: "Tonight's forecast, dark. Then, continued mostly dark, with widely scattered light in the morning."
Also, running the tts.picotts_say
action in Developer Tools > Actions
does not get mopidy to say anything either:
action: tts.picotts_say
data:
cache: false
entity_id: media_player.mopidy_dining_room
message: "Tonight's forecast, dark. Then, continued mostly dark, with widely scattered light in the morning."
(Hey, sorry for the duplicate on the deprecation warning. I was actually chasing this problem and noticed the warning).
I run Mopidy on a separate machine from my docker installed HA, using Mopidy for TTS announcements. It worked fine through HA
2024.8.x
. After upgrading HA to2024.10
(skipping 9), and now, on 11, the integration seems "connected," but doesn't work.I have:
in my
configuration.yaml
, but notdefault_config
, should that matter. It didn't matter through2024.8
Here are some log messages:
Seems like all is good. But, when I send a tried and true tts package to the integration I get:
and nothing happens on the Mopidy side. (I can use Iris to play sounds locally on the target machine, so Mopidy itself is working).
Then, when I turn on debug logging for the Mopidy integration and send the tts package:
I get no audio