I’m trying to run a TTS service I have Libratone Zipp 2 conneted via:
media_player:
- platform: dlna_dmr
url: http://localhost:49152
name: LibratoneZippII
My config.json looks like:
tts:
- platform: google_translate
cache: true
time_memory: 300
base_url: https://externaladdress:8123
service_name: google_translate_say
http:
ssl_certificate: config/cert.pem
ssl_key: config/privkey.pem
When I try to run Text to speech I receive error below. Do you know a reason?
139885586274864] Error during async_call(), status: 500, body: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <s:Fault> <faultcode>s:Client</faultcode> <faultstring>UPnPError</faultstring> <detail> <UPnPError xmlns="urn:schemas-upnp-org:control-1-0"> <errorCode>716</errorCode> <errorDescription>resource is not found</errorDescription> </UPnPError> </detail> </s:Fault> </s:Body> </s:Envelope>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/components/tts/__init__.py", line 181, in async_say_handle
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 593, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 630, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/dlna_dmr/media_player.py", line 105, in wrapper
return await func(self, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/dlna_dmr/media_player.py", line 353, in async_play_media
await self._device.async_set_transport_uri(
File "/usr/local/lib/python3.8/site-packages/async_upnp_client/profiles/dlna.py", line 636, in async_set_transport_uri
await action.async_call(InstanceID=0,
File "/usr/local/lib/python3.8/site-packages/async_upnp_client/client.py", line 519, in async_call
raise UpnpError('Error during async_call(), status: %s, body: %s' %
async_upnp_client.client.UpnpError: Error during async_call(), status: 500, body: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>716</errorCode>
<errorDescription>resource is not found</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>