Hack the Amazon Dash button to control a SmartThings switch

Working!!

Found my issue - I missed Bearer

headers = {“Authorization”: “Bearer a4xxxx8-a0ad-42aa-8f00-ff2da468802e”}

Also to answer my own question, there was no need to make changes in the smartthings mobile App

To add a 2nd dash I assume I create a new smartapp plus modify the if statement in the listen.py

As a better solution I have ordered a load of buttons and sensors from here.

https://www.gearbest.com/smart-light-bulb/pp_257679.html