georgezhao2010 / apple_airplayer

Make your AirPlay devices as TTS speakers
MIT License
130 stars 17 forks source link

Exception with airplay speaker password #6

Closed Gloomyeye closed 2 years ago

Gloomyeye commented 2 years ago

Hello,

I found out that I cannot use the services for tts or media play with my homepod mini, if I activate airplay settings with a passwort (see picture). I create the following error with the setting activated:

Logger: custom_components.apple_airplayer.device_manager Source: custom_components/apple_airplayer/device_manager.py:127 Integration: Apple AirPlayer (documentation, issues) First occurred: 19:00:35 (1 occurrences) Last logged: 19:00:35

Exception raised in async_stream_file, not authenticated

Homekit AirPlay Settings

If I deactivate the password for TV and speaker in homekit, I can use tts with my homepod mini. What configuration do I have to make to include the airplay password with TTS as well as media play?

Gloomyeye commented 2 years ago

The underlying pyatv lib. has the same problem and is the root cause. Must be enhanced in this lib.