Created
September 28, 2019 22:32
-
-
Save fffonion/d4960503ff6782640286163d47a30080 to your computer and use it in GitHub Desktop.
Setting up dash button without Amazon App
- Long press the dash button until LED light blinks in blue
- Connect to Wifi with SSID "Amazon ConfigureMe"
- Waiting for connection...
- Connected!
Traceback (most recent call last):
File "D:\setup-dashbutton.py", line 60, in
wait_for_device()
File "D:\setup-dashbutton.py", line 26, in wait_for_device
serial = re.findall('Serial Number[^/]+>([A-Z0-9_]+)</td', content, re.DOTALL)[0]
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2800.0_x64__qbz5n2kfra8p0\lib\re.py", line 240, in findall
return _compile(pattern, flags).findall(string)
TypeError: cannot use a string pattern on a bytes-like object
File "D:\setup-dashbutton.py", line 26, in wait_for_device
You may need to append .decode('utf-8')
to line 25.
I am on FW version 60019520_EU
and it worked.
The problem in my case was that I had to url encode the SSID and password because it contained spaces and special characters.
Note: Don't forget to block internet access for your dash buttons otherwise they will get an OTA update and brick themselves.
Seems like my button is connection to the wireless network but isn't able to acquire a DHCP lease - odd.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just tried the mentioned App version in the German region but no Dash menus or settings are visible to add a new button.