{"id":345,"date":"2017-10-26T03:35:35","date_gmt":"2017-10-26T03:35:35","guid":{"rendered":"http:\/\/www.cribbstechnologies.com\/?page_id=345"},"modified":"2017-10-26T03:38:46","modified_gmt":"2017-10-26T03:38:46","slug":"cheap-iot-buttons","status":"publish","type":"page","link":"https:\/\/www.cribbstechnologies.com\/index.php\/home-automation\/cheap-iot-buttons\/","title":{"rendered":"Cheap IOT Buttons &#8211; Amazon Dash Buttons Repurposed"},"content":{"rendered":"<p>[et_pb_section bb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221;][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;4_4&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<p>If you start down the road of home automation you&#8217;ll quickly discover that if you don&#8217;t do a bit of DIY, things get expensive pretty quickly. Somebody reverse engineered the <a href=\"http:\/\/a.co\/3lM7Lfk\">Amazon Dash buttons<\/a> to figure out how to detect when they&#8217;re broadcasting.\u00a0By default you press the button and it calls out to Amazon and orders whatever you&#8217;ve selected that you&#8217;d like to order using the button.<\/p>\n<p>Enter <a href=\"https:\/\/github.com\/maddox\/dasher\">Dasher<\/a>.<\/p>\n<p>It works by listening for ARP requests on your network and when it finds one it&#8217;s configured to know about it performs the associated action<\/p>\n<pre lang=\"json\">  {\r\n    \"name\": \"Bai Button\",\r\n    \"address\": \"{mac address of button}\",\r\n    \"interface\": \"eno1\",\r\n    \"timeout\": \"60000\",\r\n    \"url\": \"https:\/\/{hass instance}\/api\/services\/homeassistant\/turn_on\",\r\n    \"method\": \"POST\",\r\n    \"headers\": {\"x-ha-access\": \"{api password}\"},\r\n    \"json\": true,\r\n    \"body\": {\"entity_id\": \"input_boolean.flonase_taken\"}\r\n  }\r\n<\/pre>\n<p>Amazon recently came out with an IOT button but it&#8217;s bound to their AWS stuff and it costs $20! With a little bit of work the regular Dash Buttons work just as well.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[et_pb_section bb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221;][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;4_4&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] If you start down the road of home automation you&#8217;ll quickly discover that if you don&#8217;t do a bit of DIY, things get expensive pretty quickly. Somebody reverse engineered the Amazon Dash buttons to figure out how to detect when they&#8217;re broadcasting.\u00a0By default you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":39,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-345","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/comments?post=345"}],"version-history":[{"count":3,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages\/345\/revisions"}],"predecessor-version":[{"id":348,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages\/345\/revisions\/348"}],"up":[{"embeddable":true,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages\/39"}],"wp:attachment":[{"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/media?parent=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}