Chat freely about anything...

User avatar
By jonsmirl
#13185 Waiting for the esp8266 version of this...
https://www.amazon.com/oc/dash-button

General help
http://www.amazon.com/gp/help/customer/ ... =201706050

How to get it onto a secure network.
http://www.amazon.com/gp/help/customer/ ... =201746340

Batteries should last forever. When the button is not pushed the device is not powered. To order you push the button and the LED goes red, keep holding and wait for it to go green to acknowledge the order receipt. Setup mode flashes blue.
User avatar
By Vitoa
#13196 Seems a very interesting and simple ioT stuff with atractive design.
The pricincle is not to much complex.
One switch thant enables wake up and do some function, for example connect to some host that stores that value on database.
The host will not order until it reach some amount of needed items. For example once reach 10 or minimum order allowed by your online supermarket that delivers at home.
Now you must know how to order in your online supermarket, this is more complicated, because need to know the GET requests used when posting a online order. You can contact technical suppost for ask for API requests to do order online (dont know if they are able to tell this level of tech detail..)

RGB led in modules can be used to tell information. For example slow blink RED network down or low bat, blue slow blinking means pending order, green slow blinking means level ok .
When replace by new item, long press in button to go from blue to green blink

The host could be other esp8266 that is connected to main power allways online to receive data and store values, once reach some threshold it sends request to online store through wireless router connected to web.
All modules run nodemcu firmware with simple script handling interrupts and posting request functions.

More complexs ways could be used, but I think this is the basic way
User avatar
By jonsmirl
#13348 Amazon button is using ultrasonics to get the protected network password in. ESP should be able to initially come up as a open web server and push the credentials in that way? Or you could turn the phone into an open hot spot and push the credentials the other direction. Can this be done securely?

A generic version of this might make a good product to sell. Instead of ordering from Amazon the generic button could be programmed to just hit whatever URL you point it at.