Home Assistant Assist through Alexa (skill)

The error is:

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='your-home-assistant-external-url', port=443): Max retries exceeded with url: /api/conversation/process (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f793dcf8640>: Failed to establish a new connection: [Errno -2] Name or service not known'))

Because you aren’t setup the home_assistant_url configuration key.

@fabianosan , got one question for you is any way to remove the welcome message of the skill ?

that will help to send commands faster , not saying to replace your code, but for me to do it, as is an option that i think in my case would be faster

i was thinking to change the lambda

        now = datetime.now(timezone(timedelta(hours=-3)))
        current_date = now.strftime('%Y-%m-%d')
        speak_output = globals().get("alexa_speak_next_message")
        if last_interaction_date != current_date:
            # First run of the day
            speak_output = globals().get("alexa_speak_welcome_message")
            last_interaction_date = current_date
            
        return handler_input.response_builder.speak(speak_output).ask(speak_output).response

to

        speak_output = globals().get("alexa_speak_next_message")
            
        return handler_input.response_builder.speak(speak_output).ask(speak_output).response

im not familiar with lamda, not sure if this will work and to be honest i dont want to break it ( well i always can reload the lambda lol)

---- edit ----

i did it and works , but after changing it, i guess would have been easier to change the locale LOL

I just saw your message now.
Exactly what I was going to say.
Just leave the “alexa_speak_welcome_message” key with blank value, and it won’t say anything.

by configuration key do you mean the URL in config.cfg?

Its always had it… I tried both HTTP and HTTPS. The long lived token has also been the same for 2 weeks.

I just tried it again and have the same errors in the log. Are you sure its actually reading the config.cfg?

timestamp,message
1751548842504,"INIT_START Runtime Version: python:3.8.v96	Runtime Version ARN: arn:aws:lambda:us-east-1::runtime:d497dde01fa31f831f822d82b917a28bd4a9906f098d0866f36cd9589b2d9557
"
1751548843200,"START RequestId: 316ab68d-5b91-4c08-b99f-1fd94c57db9b Version: 2
"
1751548843367,"END RequestId: 316ab68d-5b91-4c08-b99f-1fd94c57db9b
"
1751548843367,"REPORT RequestId: 316ab68d-5b91-4c08-b99f-1fd94c57db9b	Duration: 166.96 ms	Billed Duration: 167 ms	Memory Size: 512 MB	Max Memory Used: 63 MB	Init Duration: 694.98 ms	
"
1751548843427,"START RequestId: 2b73771f-0a9b-4041-91cc-5105ce11ddcd Version: 2
"
1751548843450,"[ERROR]	2025-07-03T13:20:43.449Z	2b73771f-0a9b-4041-91cc-5105ce11ddcd	Error fetching prompt from HA state: HTTPSConnectionPool(host='your-home-assistant-external-url', port=443): Max retries exceeded with url: /api/states/input_text.assistant_input (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8105016be0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
"
1751548843450,"[DEBUG]	2025-07-03T13:20:43.450Z	2b73771f-0a9b-4041-91cc-5105ce11ddcd	Device: {'device_id': 'amzn1.ask.device.REDACTED,
 'persistent_endpoint_id': None,
 'supported_interfaces': {'alexa_advertisement': None,
                          'alexa_presentation_apl': {'runtime': {'max_version': '2024.3'}},
                          'alexa_presentation_aplt': None,
                          'alexa_presentation_html': None,
                          'app_link': None,
                          'audio_player': None,
                          'display': None,
                          'geolocation': None,
                          'navigation': None,
                          'video_app': None}}
"
1751548843452,"[DEBUG]	2025-07-03T13:20:43.452Z	2b73771f-0a9b-4041-91cc-5105ce11ddcd	ha_dashboard_url: https://YOUR-HOME-ASSISTANT-EXTERNAL-URL/lovelace?kiosk
"
1751548843463,"END RequestId: 2b73771f-0a9b-4041-91cc-5105ce11ddcd
"
1751548843463,"REPORT RequestId: 2b73771f-0a9b-4041-91cc-5105ce11ddcd	Duration: 36.60 ms	Billed Duration: 37 ms	Memory Size: 512 MB	Max Memory Used: 63 MB	
"
1751548857206,"START RequestId: 73133389-2801-465b-b28b-59ae725ee8e7 Version: 2
"
1751548857224,"[INFO]	2025-07-03T13:20:57.224Z	73133389-2801-465b-b28b-59ae725ee8e7	Query received from Alexa: turn on espresso machine
"
1751548857224,"[DEBUG]	2025-07-03T13:20:57.224Z	73133389-2801-465b-b28b-59ae725ee8e7	HA request url: https://YOUR-HOME-ASSISTANT-EXTERNAL-URL/api/conversation/process
"
1751548857224,"[DEBUG]	2025-07-03T13:20:57.224Z	73133389-2801-465b-b28b-59ae725ee8e7	HA request data: {'text': 'turn on espresso machine', 'language': 'pt-BR', 'agent_id': 'conversation.chatgpt'}
"
1751548857247,"[ERROR]	2025-07-03T13:20:57.230Z	73133389-2801-465b-b28b-59ae725ee8e7	Error processing response: HTTPSConnectionPool(host='your-home-assistant-external-url', port=443): Max retries exceeded with url: /api/conversation/process (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8102d832e0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Traceback (most recent call last):
  File ""/var/task/urllib3/connection.py"", line 174, in _new_conn
    conn = connection.create_connection(
  File ""/var/task/urllib3/util/connection.py"", line 72, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File ""/var/lang/lib/python3.8/socket.py"", line 930, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ""/var/task/urllib3/connectionpool.py"", line 716, in urlopen
    httplib_response = self._make_request(
  File ""/var/task/urllib3/connectionpool.py"", line 404, in _make_request
    self._validate_conn(conn)
  File ""/var/task/urllib3/connectionpool.py"", line 1061, in _validate_conn
    conn.connect()
  File ""/var/task/urllib3/connection.py"", line 363, in connect
    self.sock = conn = self._new_conn()
  File ""/var/task/urllib3/connection.py"", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8102d832e0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ""/var/task/requests/adapters.py"", line 439, in send
    resp = conn.urlopen(
  File ""/var/task/urllib3/connectionpool.py"", line 802, in urlopen
    retries = retries.increment(
  File ""/var/task/urllib3/util/retry.py"", line 594, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='your-home-assistant-external-url', port=443): Max retries exceeded with url: /api/conversation/process (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8102d832e0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ""/var/task/lambda_function.py"", line 202, in process_conversation
    response = requests.post(ha_api_url, headers=headers, json=data, timeout=7)
  File ""/var/task/requests/api.py"", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File ""/var/task/requests/api.py"", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File ""/var/task/requests/sessions.py"", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File ""/var/task/requests/sessions.py"", line 655, in send
    r = adapter.send(request, **kwargs)
  File ""/var/task/requests/adapters.py"", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='your-home-assistant-external-url', port=443): Max retries exceeded with url: /api/conversation/process (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8102d832e0>: Failed to establish a new connection: [Errno -2] Name or service not known'))"
1751548857247,"[INFO]	2025-07-03T13:20:57.247Z	73133389-2801-465b-b28b-59ae725ee8e7	Response generated: Sorry, I couldn't process your request.
"
1751548857247,"[DEBUG]	2025-07-03T13:20:57.247Z	73133389-2801-465b-b28b-59ae725ee8e7	Ask for further commands enabled: True
"
1751548857249,"END RequestId: 73133389-2801-465b-b28b-59ae725ee8e7
"
1751548857249,"REPORT RequestId: 73133389-2801-465b-b28b-59ae725ee8e7	Duration: 42.45 ms	Billed Duration: 43 ms	Memory Size: 512 MB	Max Memory Used: 63 MB	
"
1751548879491,"START RequestId: 63ae5b75-4612-40b1-a7d1-5c9045acfcc8 Version: 2
"
1751548879494,"[INFO]	2025-07-03T13:21:19.494Z	63ae5b75-4612-40b1-a7d1-5c9045acfcc8	Query received from Alexa: turn on playroom shade group
"
1751548879494,"[DEBUG]	2025-07-03T13:21:19.494Z	63ae5b75-4612-40b1-a7d1-5c9045acfcc8	HA request url: https://YOUR-HOME-ASSISTANT-EXTERNAL-URL/api/conversation/process
"
1751548879494,"[DEBUG]	2025-07-03T13:21:19.494Z	63ae5b75-4612-40b1-a7d1-5c9045acfcc8	HA request data: {'text': 'turn on playroom shade group', 'language': 'pt-BR', 'agent_id': 'conversation.chatgpt'}
"
1751548879499,"[ERROR]	2025-07-03T13:21:19.499Z	63ae5b75-4612-40b1-a7d1-5c9045acfcc8	Error processing response: HTTPSConnectionPool(host='your-home-assistant-external-url', port=443): Max retries exceeded with url: /api/conversation/process (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8102d83a00>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Traceback (most recent call last):
  File ""/var/task/urllib3/connection.py"", line 174, in _new_conn
    conn = connection.create_connection(
  File ""/var/task/urllib3/util/connection.py"", line 72, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File ""/var/lang/lib/python3.8/socket.py"", line 930, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ""/var/task/urllib3/connectionpool.py"", line 716, in urlopen
    httplib_response = self._make_request(
  File ""/var/task/urllib3/connectionpool.py"", line 404, in _make_request
    self._validate_conn(conn)
  File ""/var/task/urllib3/connectionpool.py"", line 1061, in _validate_conn
    conn.connect()
  File ""/var/task/urllib3/connection.py"", line 363, in connect
    self.sock = conn = self._new_conn()
  File ""/var/task/urllib3/connection.py"", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8102d83a00>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ""/var/task/requests/adapters.py"", line 439, in send
    resp = conn.urlopen(
  File ""/var/task/urllib3/connectionpool.py"", line 802, in urlopen
    retries = retries.increment(
  File ""/var/task/urllib3/util/retry.py"", line 594, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='your-home-assistant-external-url', port=443): Max retries exceeded with url: /api/conversation/process (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8102d83a00>: Failed to establish a new connection: [Errno -2] Name or service not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ""/var/task/lambda_function.py"", line 202, in process_conversation
    response = requests.post(ha_api_url, headers=headers, json=data, timeout=7)
  File ""/var/task/requests/api.py"", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File ""/var/task/requests/api.py"", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File ""/var/task/requests/sessions.py"", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File ""/var/task/requests/sessions.py"", line 655, in send
    r = adapter.send(request, **kwargs)
  File ""/var/task/requests/adapters.py"", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='your-home-assistant-external-url', port=443): Max retries exceeded with url: /api/conversation/process (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8102d83a00>: Failed to establish a new connection: [Errno -2] Name or service not known'))"
1751548879499,"[INFO]	2025-07-03T13:21:19.499Z	63ae5b75-4612-40b1-a7d1-5c9045acfcc8	Response generated: Sorry, I couldn't process your request.
"
1751548879499,"[DEBUG]	2025-07-03T13:21:19.499Z	63ae5b75-4612-40b1-a7d1-5c9045acfcc8	Ask for further commands enabled: True
"
1751548879504,"END RequestId: 63ae5b75-4612-40b1-a7d1-5c9045acfcc8
"
1751548879504,"REPORT RequestId: 63ae5b75-4612-40b1-a7d1-5c9045acfcc8	Duration: 12.42 ms	Billed Duration: 13 ms	Memory Size: 512 MB	Max Memory Used: 63 MB	
"

No, your language file .lang, inside locale folder.

I dont see anything in the instructions about moding the .lang with a “configuration key”?

the only mention of local file is… " If desired, change the default skill responses in the /locale/en-US.lang"

this is what is in that file…

echo_screen_welcome_text=Welcome to Home Assistant!
echo_screen_click_text=Click the button below to open your dashboard
echo_screen_button_text=Open Home Assistant

alexa_speak_welcome_message=Welcome to the Home Assistant voice assistant! How can I help?
alexa_speak_next_message=Hello again, how can I assist now?
alexa_speak_question=Anything else?
alexa_speak_help=How can I help you?
alexa_speak_exit=See you later!;Bye;If you need me, I'm here;Ok, I'm off;Cheers;It's all good;Thanks, see ya.;I'm off, thanks.
alexa_speak_error=Sorry, I couldn't process your request.
alexa_speak_timeout=Home Assistant took too long to respond. Simplify the command and try again!
alexa_speak_open_dashboard=Opening Home Assistant

keywords_to_open_dashboard=open dashboard; open home assistant
keywords_to_close_skill=no;nothing;just that;thanks

Download the zip file.
Open it and locate the language file of .lang, edit the file writing a space in the value of the key: alexa_speak_welcome_message= , save, close and update your AWS lambda.

I’m not following. What ZIP file? Doesnt everything get set during Import, per the install instructions? Nothing in the instructions mentions editing the lang file

I did this and it did not fix anything, same error. the key looks like this…

alexa_speak_welcome_message= Welcome to the Home Assistant voice assistant! How can I help?

the log looks like it is not using the config file to get the URL… otherwise why would it keep showing… HA request url: https://YOUR-HOME-ASSISTANT-EXTERNAL-URL/api/conversation/process

This looks like a huge bug to me… does anyone have this actually working? Does there log have a real URL or this placeholder?


2025-07-03T23:13:29.953Z
INIT_START Runtime Version: python:3.8.v96	Runtime Version ARN: arn:aws:lambda:us-east-1::runtime:d497dde01fa31f831f822d82b917a28bd4a9906f098d0866f36cd9589b2d9557

INIT_START Runtime Version: python:3.8.v96 Runtime Version ARN: arn:aws:lambda:us-east-1::runtime:d497dde01fa31f831f822d82b917a28bd4a9906f098d0866f36cd9589b2d9557
2025-07-03T23:13:30.643Z
START RequestId: 82c4aea4-c519-4c48-b323-6fb89b74f9cc Version: 2
2025-07-03T23:13:30.794Z
END RequestId: 82c4aea4-c519-4c48-b323-6fb89b74f9cc
2025-07-03T23:13:30.794Z
REPORT RequestId: 82c4aea4-c519-4c48-b323-6fb89b74f9cc Duration: 150.45 ms Billed Duration: 151 ms Memory Size: 512 MB Max Memory Used: 63 MB Init Duration: 689.81 ms
2025-07-03T23:13:30.863Z
START RequestId: 82b95d09-690c-436e-853c-42bcecb75d65 Version: 2
2025-07-03T23:13:30.881Z
[ERROR] 2025-07-03T23:13:30.880Z 82b95d09-690c-436e-853c-42bcecb75d65 Error fetching prompt from HA state: HTTPSConnectionPool(host='your-home-assistant-external-url', port=443): Max retries exceeded with url: /api/states/input_text.assistant_input (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2685105be0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
2025-07-03T23:13:30.881Z
[DEBUG] 2025-07-03T23:13:30.881Z 82b95d09-690c-436e-853c-42bcecb75d65 Device: {'device_id': 'amzn1.ask.device.AMA4G3WTQAZRUEHFPGMBODC5XDHT53LKGYIDX7WLWZAU3GX6X75HID6YS36F2LGKGDES3X4RBW3P3O3UYSTFSZQHI34SPBVSR3U6ZP32FKHGKJPO5ZZUMXDAZ3UHEFYEFMYKQ4LJVV6SULI6MYY7SXSSVTVY5SPUJLYJ2HWPGOFP7HGWFIB2Q5CVEAPYERZULWB3JVYFAXRGBIWL', 'persistent_endpoint_id': None, 'supported_interfaces': {'alexa_advertisement': None, 'alexa_presentation_apl': {'runtime': {'max_version': '2024.3'}}, 'alexa_presentation_aplt': None, 'alexa_presentation_html': None, 'app_link': None, 'audio_player': None, 'display': None, 'geolocation': None, 'navigation': None, 'video_app': None}}
2025-07-03T23:13:30.883Z
[DEBUG] 2025-07-03T23:13:30.883Z 82b95d09-690c-436e-853c-42bcecb75d65 ha_dashboard_url: https://YOUR-HOME-ASSISTANT-EXTERNAL-URL/lovelace?kiosk
2025-07-03T23:13:30.893Z
END RequestId: 82b95d09-690c-436e-853c-42bcecb75d65
2025-07-03T23:13:30.893Z
REPORT RequestId: 82b95d09-690c-436e-853c-42bcecb75d65 Duration: 29.85 ms Billed Duration: 30 ms Memory Size: 512 MB Max Memory Used: 63 MB
2025-07-03T23:13:42.208Z
START RequestId: 395e9048-962c-41a5-8656-8cb485047413 Version: 2
2025-07-03T23:13:42.217Z
[INFO] 2025-07-03T23:13:42.217Z 395e9048-962c-41a5-8656-8cb485047413 Query received from Alexa: turn on espresso machine
2025-07-03T23:13:42.218Z
[DEBUG] 2025-07-03T23:13:42.218Z 395e9048-962c-41a5-8656-8cb485047413 HA request url: https://YOUR-HOME-ASSISTANT-EXTERNAL-URL/api/conversation/process
2025-07-03T23:13:42.218Z
[DEBUG] 2025-07-03T23:13:42.218Z 395e9048-962c-41a5-8656-8cb485047413 HA request data: {'text': 'turn on espresso machine', 'language': 'pt-BR', 'agent_id': 'conversation.chatgpt'}
2025-07-03T23:13:42.254Z
[ERROR] 2025-07-03T23:13:42.234Z 395e9048-962c-41a5-8656-8cb485047413 Error processing response: HTTPSConnectionPool(host='your-home-assistant-external-url', port=443): Max retries exceeded with url: /api/conversation/process (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2682e722e0>: Failed to establish a new connection: [Errno -2] Name or service not known')) Traceback (most recent call last): File "/var/task/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/var/task/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/var/lang/lib/python3.8/socket.py", line 930, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/task/urllib3/connectionpool.py", line 716, in urlopen httplib_response = self._make_request( File "/var/task/urllib3/connectionpool.py", line 404, in _make_request self._validate_conn(conn) File "/var/task/urllib3/connectionpool.py", line 1061, in _validate_conn conn.connect() File "/var/task/urllib3/connection.py", line 363, in connect self.sock = conn = self._new_conn() File "/var/task/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f2682e722e0>: Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/task/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/var/task/urllib3/connectionpool.py", line 802, in urlopen retries = retries.increment( File "/var/task/urllib3/util/retry.py", line 594, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='your-home-assistant-external-url', port=443): Max retries exceeded with url: /api/conversation/process (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2682e722e0>: Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/task/lambda_function.py", line 202, in process_conversation response = requests.post(ha_api_url, headers=headers, json=data, timeout=7) File "/var/task/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/var/task/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/var/task/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/var/task/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/var/task/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='your-home-assistant-external-url', port=443): Max retries exceeded with url: /api/conversation/process (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2682e722e0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
2025-07-03T23:13:42.254Z
[INFO] 2025-07-03T23:13:42.254Z 395e9048-962c-41a5-8656-8cb485047413 Response generated: Sorry, I couldn't process your request.
2025-07-03T23:13:42.254Z
[DEBUG] 2025-07-03T23:13:42.254Z 395e9048-962c-41a5-8656-8cb485047413 Ask for further commands enabled: True
2025-07-03T23:13:42.256Z
END RequestId: 395e9048-962c-41a5-8656-8cb485047413
2025-07-03T23:13:42.256Z
REPORT RequestId: 395e9048-962c-41a5-8656-8cb485047413 Duration: 47.97 ms Billed Duration: 48 ms Memory Size: 512 MB Max Memory Used: 63 MB

I confused it with the other user’s question, your case has nothing to do with the language file or zip file, sorry!

Restart to your first post regarding URL!!!

You image shows that you configured the URL:

After any changes in the code or config, you need to Save, wait finish, Deploy, wait finish, go do Build tab, click in Build skill.

You did it?

thank you, I got it working. It didn’t deploy all the files before. That was not obvious in the web page.

Any chance you are able to make it so the skill does not need to be started? Other home automation skills done need that (Tapo, Homeseer, etc). The first version of the Homeseer skill you’d say “Alexa, Ask Homeseer to Turn on the kitchen light” but the version they released 3 years ago you just said “Alexa, turn on the Kitchen Light”
But we never had to say “Start Homeseer”

Something missing in the instruction is to Enabling conversation starter with prompt from Home Assistant you need de HAC integration Alexa media player, as the new Alexa devices integration require removing the AMP, and Alexa devices don’t have yet media players

Good news! Finally…
I update this step in the installation instructions to make it less subjective.

I’m searching how to enable this mode, maybe in the future I’ll enable something like “Alexa, ask Assist to enable Kitchen light”.

This is only possible importing the devices into Alexa App, and you can do it through using the Home Assistant skill.

The goal of this project here is integrate the Home Assistant “assistant” Assist through the Alexa mic/speaker, because the Alexa “assistant” can’t be replaced by HA assistant (Assist).

1 Like

Sorry, I did not understood exactly.

for this to work

Enabling conversation starter with prompt from Home Assistant

you need to setup with a media player *the alexa you want to target* → the media_player entity ID of your Alexa device

the only integration that allow media player on alexa is (Alexa Media Player) the new Alexa Devices Integration needs to remove the AMP

in your docs you never talk about Alexa media player integration for the conversation starter prompt in the future AMP will disappear as will be replaced with the new one

I understood.
When I released this skill, the oficial Alexa integration did not yet exist, the only way to do it with Alexa Media Player, but I’ll write a line with this warn.

Thank you!

Add two new features to AWS hosted version:

  • Added ASK feature support: hability to do commands without start the skill, ex.: “Alexa, ask home assistant to turn off office light”.

  • Added option to disable greeting question: Hability to disable start greeting phrase.

Please, feel free to test and give feedback.

Next days I’ll merge to Alexa hosted!

2 Likes

Thanks for this! FYI, your UPDATE.md is 404. i believe i figured out how to update the lambda function though - just re-upload the zip file and deploy again. However, when i do that, and then set the environment variable supress_greeting = True , it still speaks the greeting. It didn’t go away until i edited the en-US.lang the remove alexa_speak_welcome_message and alexa_speak_next_message.

doing that, then i get the quiet launch.

There’s another curious thing i don’t understand, though. It might be that I’m not understanding correclty how the prompt script works. Right now i have the script launching from an automation when an NFC tag is scanned. it does that, but i don’t have anything specific filled out in the prompt script. The curious thing is that when the skill is opened, and HA Assistant is listening, whatever i say seems to be intercepted by Alexa. I have an automation in HA listening for “lumos” (or things that sound like that), which works when spoken directly into HA Assistant, but when spoken to the Echo Dot, Alexa responds “you already light up the room” - so it seems like even though things seem to be launching correctly, my utterance never makes it past Alexa.

Do you have any idea what might be going on?

i been testing the new suppress_greeting , but i notice that the skill close after that invocation , dont let me ask anything

return handler_input.response_builder.response

i try changing to
return handler_input.response_builder.speak(" ").ask(" ").response
if i try this the skill keep open but dont find any device ( very strange)

so i change it to for test diferent ways

 return handler_input.response_builder.speak("Hi").ask(" ").response

or

 sound = '<audio src="soundbank://soundlibrary/musical/amzn_sfx_bell_short_chime_01"/>'
 return handler_input.response_builder.speak(sound).ask("¿Sigues ahí?").response

this way the skill keep open after invocation, and find my devices

why do you think the original handler_input.response_builder.response dont work for me?

after you upload the zip file did you deploy?

check your lamba code on line 138
do you see

if suppress_greeting:

make sure your variable is write correctly

Screenshot 2025-07-12 at 03-08-36 HomeAssistantAssistSkill Functions Lambda

Try to review the installation instruction again, review the configuration, maybe missing something: HomeAssistantAssistAWS/doc/en/INSTALLATION.md at main · fabianosan/HomeAssistantAssistAWS

You need to ensure that your automation script is filling the input_text helper in Home Assistant before calling the skill.

I updated the prompt script to accept alexa device as field.