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

Amazon Dash button Not working updating Home Assistant 0.102.2 #95

Closed ceaswaran closed 1 year ago

ceaswaran commented 4 years ago

Hi, Suddenly I observe my Dash button Not working after updating Home Assistant 0.102.2 My Dasshio version is 0.3.8 My Dasshio Home Assitant Config is as follows:

{
  "timeout": 20,
  "buttons": [
    {
      "name": "Gillette",
      "address": "XX:E1:XX:XX:XX:XX",
      "domain": "switch",
      "service": "toggle",
      "service_data": "{\"entity_id\": \"switch.all_light\"}"
    }
  ]
}

I dont see my Light toggle? I see Amazon button connecting to wifi (bluelight) Please help to resolve

JesCR commented 4 years ago

Hi. I think that this is not working anymore. My two dash buttons stop working too.

danimtb commented 4 years ago

Hi!

I have not updated to the latest version of home assistant yet but I don't think it is related to that. My bet is in the line of @JesCR comment and probably Amazon servers are making the button disconnect as they have discontinued physical buttons.

However, I think connecting the button like via this method https://github.com/danimtb/dasshio#how-to-connect-your-dash-button-to-your-wifi and then banning internet access to the button in your router would prevent the button from disconnecting.

ceaswaran commented 4 years ago

Hi!

I have not updated to the latest version of home assistant yet but I don't think it is related to that. My bet is in the line of @JesCR comment and probably Amazon servers are making the button disconnect as they have discontinued physical buttons.

However, I think connecting the button like via this method https://github.com/danimtb/dasshio#how-to-connect-your-dash-button-to-your-wifi and then banning internet access to the button in your router would prevent the button from disconnecting.

One point to be noted is after trying this wifi connection method https://github.com/danimtb/dasshio#how-to-connect-your-dash-button-to-your-wifi I dont see the mac address of my Amazon dash listed by my router as connected device. (Fing app)

danimtb commented 4 years ago

The button only connects to the wifi during 10 seconds or so when you press the button

0rn0lf commented 4 years ago

@ceaswaran depending on your router you could check the DHCP lease table. It should show all IP's used in the last days