...there you go... never go with requirements that include a solution (hint)... which in this case is Wifi...
Wifi has much higher power requirements (500ma+ on calibration when establishing connection with access point).
Amazon Echo Buttons use Blue Tooth (BLE, Blue Tooth Low Energy?) which can run on way much lower power, just check out the Espruino puck.js: the Espruino puck.js is what you are looking for...
You still need something that connects you to Wifi to talk to your node.js server... I assume... except your server is so close and supports BLE,... or another Wifi connected device that runs BLE and can communicate with your button device... such as your Alexa station does... Any Wifi and BLE enabled device - such as a running lap top / BLE HID - can do what Alexa station does in combination with a Espruino puck.js.
Puck.js comes with one built in physical button... if you can live with a short press for detecting press of logical button 1 and a longer press for press of logical button 2, you are just fine (think about Adam L Morse, who had one button communicated a whole character set...)
With Espruino puck.js you may not even have to touch any hardware from the inside...
If your server is not able to do BLE and you do not want to have a general purpose device between puck and server, take another puck to be the base station, connect it up to a few $ ESP8266 and you most likely have what you are looking for...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
...there you go... never go with requirements that include a solution (hint)... which in this case is Wifi...
Wifi has much higher power requirements (500ma+ on calibration when establishing connection with access point).
Amazon Echo Buttons use Blue Tooth (BLE, Blue Tooth Low Energy?) which can run on way much lower power, just check out the Espruino puck.js: the Espruino puck.js is what you are looking for...
You still need something that connects you to Wifi to talk to your node.js server... I assume... except your server is so close and supports BLE,... or another Wifi connected device that runs BLE and can communicate with your button device... such as your Alexa station does... Any Wifi and BLE enabled device - such as a running lap top / BLE HID - can do what Alexa station does in combination with a Espruino puck.js.
Puck.js comes with one built in physical button... if you can live with a short press for detecting press of logical button 1 and a longer press for press of logical button 2, you are just fine (think about Adam L Morse, who had one button communicated a whole character set...)
With Espruino puck.js you may not even have to touch any hardware from the inside...
If your server is not able to do BLE and you do not want to have a general purpose device between puck and server, take another puck to be the base station, connect it up to a few $ ESP8266 and you most likely have what you are looking for...