I need two battery powered buttons that will change the change the state of a variable within a single node js script.
So what I'm currently planning is ordering two esp wifi units: https://shop.espruino.com/espruino-wifi
Then figuring out how to power them, figure out how wire up a push button and having them each make an HTTP post request to a server running the script when each button is pressed. The script will be monitoring the state of the variables and use the Twilio API to send me a text when they are at a desired state.
Is this the best solution? How hard would this be for someone with little to no electronics experience?
I'm not familiar with how to power the boards, it's via pins? Any recommended push buttons?
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.
I need two battery powered buttons that will change the change the state of a variable within a single node js script.
So what I'm currently planning is ordering two esp wifi units: https://shop.espruino.com/espruino-wifi
Then figuring out how to power them, figure out how wire up a push button and having them each make an HTTP post request to a server running the script when each button is pressed. The script will be monitoring the state of the variables and use the Twilio API to send me a text when they are at a desired state.
Is this the best solution? How hard would this be for someone with little to no electronics experience?
I'm not familiar with how to power the boards, it's via pins? Any recommended push buttons?