Dasshio - Amazon Dash Buttons Hass.io add-on

You can still use them configuring the SSID and the pass of your wifi without the Amazon app. The addon is working but will probably need some improvements regarding the multiple service calls with one button press. Please take a look at this comment https://github.com/danimtb/dasshio/issues/93#issue-512880054

Hello,
I have several dash buttonā€¦I try to configure them but when select the path http://192.168.0.1/?amzn_ssid=my_ssid&amzn_pw=my_password nothing happen.

I mean, the blue led stop flashing, Amazon ConfigureMe network disappear, but when I press the button nothing the light still off.

This is the conf:

{
  "timeout": 20,
  "buttons": [
    {
      "name": "WELLNESS",
      "address": "68:54:FD:31:64:BC",
      "domain": "light",
      "service": "toggle",
      "service_data": "{\"entity_id\":\"light.shelly_shsw_1_12be84\"}"
    }
  ]
}

When I press the button, the blu led blinks once, then the red light comes.

I canā€™t locate the button in my network, so I assume the settings doesnā€™t work.
My ssid contains ā€œ_ā€ like my_ssid while the password is a normal 24 characters made by letters and numbers.

Can you please help me?

It looks like you need to block an outgoing port for these to work now that amazon has officially discontinued support. The comment above yours has a link to a thread that talks about amazon bricking them on purpose.

I realise that I am bumping an old thread. However how do I get dasshio to use my systemā€™s IP address. Currently it appears to be making a request to http://hassio/homeassistant/api/ but my system is local and can only be accessed via http://192.168.1.11:8123/

I can see the code is trying to obtain the environment variable HA_BASE_URL and if not found defaults to using http://hassio/homeassistant

So how do I change either Dasshio or my HA system to work with each other?

Can this be used with a docker install of Home Assistant?

Canā€™t see why not. I couldnā€™t get the BASE_URL issue thing working, so instead I use the REST API to trigger my actions.

Very conscious this is mega old, but I just found a couple of dash buttons while sorting my loft out and wondered if I could put them to useā€¦ I tried adding the repository to HA Addons but I guess itā€™s not that kind of repository and/or hasnā€™t been updated for more recent versions of Home Assistant

Is there any simple way to use these devices now, or are they destined for recycling?
Thanks

1 Like

Donā€™t skip them just yet! :slightly_smiling_face:
I also recently found a few of these, and after a bit of experimentation have successfully connected them up. Iā€™ve only gone as far as toggling a light thus far, but the principle looks proven.

Iā€™m on my phone atm but maybe over the weekend will try to recap and share the steps I went through to get to this stage.

2 Likes

Iā€™ve got an HA Yellow running 11.2

I added the Dasshio repo: GitHub - danimtb/dasshio: Hass.io add-on to easily use Amazon Dash Buttons with Home Assistant
Navigate to Settings ā†’ Add-ons ā†’ Add-on store then choose Repositories from the kebabmenu at the top right.
Once the repo is added choose Dasshio and add it.

Iā€™m not sure if Amazon are still attempting to OTA ā€œbrickā€ the dash buttons, but before following the How to connect your Dash button to your Wifi I blocked traffic to dash-button-na.amazon.com at my router.

It took me a while to realise Iā€™d added the Add-on but not started it, so before doing the next steps make sure itā€™s running!

Edit the configuration, I did this via the UI and it took quite a few goes to get the syntax right, initially it wouldnā€™t save and gave an error message about something not existing, but I think thatā€™s because Iā€™d not started the Add-on so the config didnā€™t exist.
After adding two buttons the entries looked like this:

- name: DashButton1
  address: ac:63:be:75:af:6a
  domain: light
  service: toggle
  service_data: "{\"entity_id\": \"light.hallway_1_light\"}"
- name: Play-doh
  address: ac:63:be:22:1e:1b
  domain: light
  service: toggle
  service_data: "{\"entity_id\": \"light.blue_lamp_light\"}"

Saving prompted another restart, and then I was able to test. Thereā€™s a couple of seconds lag, but Iā€™m hoping this wonā€™t be annoying for my uses.
I hope this helps somebody and shows that as of December 2023 if youā€™ve still got a pile of Dash buttons, you can pretty trivially enable them.
Good luck.

Thanks James.
Do you have an overview or an idea how to send a telegram message with it?
I dont want to take the API way with URL
at the moment it is

- name: duracell
  address: 18:11:03:40:72:d1
  url: http://192.118.0.118:8123/api/services/telegram_bot/send_message
  headers: >-
    {"Authorization": "Bearer
    TOKEN",
    "content-type": "application/json"}
  body: "{\"message\": \"Hello!!!\"}"

Sorry, Iā€™ve no experience with the telegram integration (my overall HA expertise level is no more than beginner!). Iā€™d assume that if you can call this through the API then a combination of domain/service/data should make it work, but if youā€™re looking for other options I read earlier in the thread there were ways to call an ā€œexternalā€ URL, though itā€™s not something iā€™ve tried.