- Wed Apr 01, 2015 11:41 am
#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