Traceback (most recent call last):
File "/usr/local/bin/amazon-dash", line 6, in <module>
catch(cli)()
File "/usr/local/lib/python3.5/dist-packages/amazon_dash/exceptions.py", line 91, in wrap
return fn(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 676, in main
_verify_python3_env()
File "/usr/local/lib/python3.5/dist-packages/click/_unicodefun.py", line 118, in _verify_python3_env
'for mitigation steps.' + extra)
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult http://click.pocoo.org/python3/for mitigation steps.
This system supports the C.UTF-8 locale which is recommended.
You might be able to resolve your issue by exporting the
following environment variables:
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
Click discovered that you exported a UTF-8 locale
but the locale system could not pick up from it because
it does not exist. The exported locale is "en_US.UTF-8" but it
is not supported
I’m using HASS events instead of RESTful URLs, so I can’t comment there, but the x-access-header shouldn’t be used anymore (at some point, it will go away). Instead, you should use a long-lived access token (generated in your HASS user configuration screen).
Hello everyone.
this is my first comment. I need your help. I’m stuck. I have raspberry with raspian + home assistant in a virtual environment. ([official guide(http://www.home-assistant.io/docs/installation/raspberry-pi/))
I followed the instruction to install the amazon-dash official guide but now I have some difficult to configure it.
If i trigg manualy the automation in home assistant it works. But I’m not able to check if the event start from amazon-dash to home assistant ( When I press the dash button). Where I can check in home assistant if event arrive? ( in the “home-assistant.log” there are not information about events). Do you see some error anywhere in my code?
EDIT—
I used the command terminal: amazon-dash debug and amazon-dash check-config (inside the folder of the file “amazon-dash.yml”. In my case was /etc ). I discover that there was a mistake formatting of the file “amazon-dash.yml” (my fault!) It’s a great tool! thanks Nekmo!