-
-
Save fffonion/d4960503ff6782640286163d47a30080 to your computer and use it in GitHub Desktop.
bonjour je n'arrive pas a détermine ou je dois rentre le ssid et le pass dans le script merci
-1. Pense a récupérer l'adresse MAC du bouton cf. messages précédent et/ou le post sur le blog de sidoh (connexion au wifi amazon configure me et consulter le site 192.168.0.1 avec ton navigateur).
0. Blacklist l'accès à internet de ton bouton en utilisant son adresse MAC dans ton routeur
- Installe Python3.xx
- Modifie les lignes contenant r.content cf. messages précédents
- Ouvre le python shell
- Navigue dans le dossier de ton script
- Tappe setup.py "Ton SSID" "Ton pass" après les 3 chevrons (les " sont particulièrement important si ton SSID et/ou ton PASS contiennent des espaces)
Hi,
my Dash button (Firmware 60019520_EU) suddenly doesn't work anymore, from one day to the next it only lights up a blue light for about 10 seconds, and then flashes red. I doubt it was bricked by Amazon, because I use this button in the local intranet only to control some smart home devices, my Router does not allow the device to communicate with the internet. So I am not sure what actually bricked it.
The audio-hack didn't work, and also trying to access http://192.168.0.1/?amzn_ssid=SSID&amzn_pw=PASSWORD does not do anything at all, in fact, nothing happens in the browser when I call that URL.
When I access only http://192.168.0.1/, i can at least get the firmware version and MAC, serial, battery status, but that's all.
So my questions are:
1.) How could the device have become bricked? It has no internet access
2.) Is there any chance to unbrick?
Thanks!
Hi,
my Dash button (Firmware 60019520_EU) suddenly doesn't work anymore, from one day to the next it only lights up a blue light for about 10 seconds, and then flashes red. I doubt it was bricked by Amazon, because I use this button in the local intranet only to control some smart home devices, my Router does not allow the device to communicate with the internet. So I am not sure what actually bricked it.
The audio-hack didn't work, and also trying to access http://192.168.0.1/?amzn_ssid=SSID&amzn_pw=PASSWORD does not do anything at all, in fact, nothing happens in the browser when I call that URL.
When I access only http://192.168.0.1/, i can at least get the firmware version and MAC, serial, battery status, but that's all.
So my questions are:
1.) How could the device have become bricked? It has no internet access
2.) Is there any chance to unbrick?Thanks!
Hello.
My best bet is low battery.
Check the battery percentage in the webUI. The firmware erases the customer secret when the battery becomes to low (don't know the exact value). As the device is suposed to be trashed when it runs out if battery this is probably a safety feature to preserve your amazon account and wifi credential. From there if the audio hack doesn't work : there is no known recovery ...
To avoid this issue you have to swap the battery before it reaches the threshold -> that isnt causing a reset because the device isn't powered between press to save power.
I am a total noob with Python and faced similar issues as others here but finally it worked!
Firmware Version: 60019520_EU
On a windows machine I did the following:
- Install Python
Then open a Windows cmd line and go to the path of your python installation. Example:
C:\Users\user\AppData\Local\Programs\Python\Python38-32\
- install "requests" there:
python -m pip install requests or py -m pip install requests
Save the script from above as py file at this path under the name "setup.py". In the script replace the
r.content with r.content.decode('utf-8') in line 18 and line 25.
I´ve installed old amazon app apk version 18.4.0.100 wich has still the function to add new dash buttons.
I just tried the mentioned App version in the German region but no Dash menus or settings are visible to add a new button.
- 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.
bonjour je n'arrive pas a détermine ou je dois rentre le ssid et le pass dans le script merci