danimtb / dasshio

Hass.io add-on to easily use Amazon Dash Buttons with Home Assistant
Apache License 2.0
192 stars 63 forks source link

Dash button stopped working #93

Open FlaMike opened 4 years ago

FlaMike commented 4 years ago

I had a previously working Dash button. This morning I changed the config to change the button's action. Everything seemed to work fine for several button presses. I am running Hassio 0.99.2 on Ubuntu Server with a Docker installation and Dasshio 0.3.6. When I press the Dash button now, I get a solid blue LED.

I tired the following steps, but the button's behavior is still to present a solid blue LED. After several seconds the LED turns red, flashes several times, & then goes out. Do you have any suggestions how to get it working again? Thank you!

I did a long press on the button to get it in AP mode.
I connected to the resulting WiFi network.
I then entered the following URL in a browser on a tablet connected to the Dash button's network http://192.168.0.1/?amzn_ssid=SSID&amzn_pw=PASSWORD and replaced the SSID and PASSWORD with my network credentials.

danimtb commented 4 years ago

I tried the steps you posted starting from zero with a dash button and it worked fine. Not sure what the blue led means. Have you checked the IP is not blocked in your router?

FlaMike commented 4 years ago

On 10/28/19 12:33 PM, Daniel wrote:

I tried the steps you posted starting from zero with a dash button and it worked fine. Not sure what the blue led means. Have you checked the IP is not blocked in your router?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/danimtb/dasshio/issues/93?email_source=notifications&email_token=AJ3NIBDTKYW73JFSVNVUMKLQQ4O7ZA5CNFSM4JFOWBHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECNX2BA#issuecomment-547060996, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ3NIBFEPCGBTJMLUM5C423QQ4O7ZANCNFSM4JFOWBHA.

Thank you for your reply, Daniel.  The IP is not blocked on my router, hence my confusion.  The button had worked previously. All I did was change the service call action in Dasshio.  The new service call worked fine upon button press about 6 times, then boom, the blue light special.

Do you know if there is a way to do a "factory reset" on a Dash button?

Thanks!

danimtb commented 4 years ago

I don't know how to reset the button. I usually just reconfigure it again. As a workaround, opening the case of the button you will found a normal AA battery that you can swap with a new one. Maybe removing the battery and connecting it again makes the trick

capstan1 commented 4 years ago

@danimtb as far as I know this doesn't work with the dash buttons any more. If I use this command it connects exactly once to the WiFi, can't get the certificate from Amazon because the service shut down and resets itself. I get the exactly same behavior OP described. That's also what other people report. Don't know why it's working for you, maybe there are different versions?

danimtb commented 4 years ago

That could be the reason.

One thing you can try is to block internet access in the router. That way the buttons will not be reset by the request of the server. However, some people doing that reported that the awake time of the button is longer, so they consume more battery and stay connected to the wifi. This will require an earlier replacement of the battery and a longer timeout value in the Dasshio settings.

Hope you find it useful and thanks a lot for the info!

v-marinkov commented 4 years ago

My buttons stopped working as well. Some of them have a solid blue light for around 20 sec which then turn red, start blinking and turn off. Others have a solid red light for 3 seconds, start blinking and turn off.

I tried reconnecting them to my wifi the same way but this time blocking their internet access. No change.

Any ideas on how to proceed?

EDIT: The ones which I hadn't used in a few months work as expected. I did block internet access for them just before trying them though.

v-marinkov commented 4 years ago

Here are the firmware versions for: non-working 30017420_WS 50018520_WS 60019520_WS

WORKING with blocked internet access 30017420_EU 50018520_EU 60019520_EU

It's obvious the difference is in WS and EU. Quite a sissy move from Amazon to brick the buttons.

v-marinkov commented 4 years ago

Here are some good and some bad news. Our buttons don't work not because a given url is not accessible, but because Amazon bricked them on purpose. On the bright side, if you haven't used them in the last months and you block their internet access, they should continue to work as before.

Even better, on some bricked buttons you can perform a buffer overflow "attack" which revives them. The caveat is that their firmware has to be 3xxxx or 4xxxx. I managed to revive my 30017420_WS button but the 5xx and 6xx ones are still bricked.

Here is the source: https://blog.christophermullins.com/2019/12/20/rescue-your-amazon-dash-buttons/

danimtb commented 4 years ago

oh wow! Thanks a lot for the heads-up, impressive work done in that article. I guess there is not much we can do... 😞

Jackie78De commented 4 years ago

Hi,

my Dash button (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!

lcars79 commented 4 years ago

Hi all,

I have the same problem with the same firmware version (60019520_EU). I tought this is a battery problem so I have changed the battery but after them the same effect. The blue light and the red blinking after them.

The dash button was blocked by the internet the whole time, too.

:-(

sebadv commented 3 years ago

After reading this I've seen that the buttons (try to) connect to 'dash-button-eu-aws-opf.amazon.com' here. But I guess I'm lucky I've left them hidden for years. This subdomain doesn't resolve anymore ;-)

ljohnso16 commented 3 years ago

lmao i was just looking at ordering a few on ebay to use with HA lol so the brick server is now gone so the buttons wont be bricked?

kzaoaai commented 3 years ago

I had this already solved by blocking the domain in my router (or PiHole or AdGuard). Shame for the ones that already bricked and just light blue now.

sebadv commented 3 years ago

@ljohnso16 if they weren't used in the periode between Amazon pulling the plug of Dash-project and now, you should be good :-)

ljohnso16 commented 3 years ago

@ljohnso16 if they weren't used in the periode between Amazon pulling the plug of Dash-project and now, you should be good :-)

noice! ill def order a pack from ebay see if they are any good, its like $20 for 12 of um might be worth it to be able to trigger random automations with them