salamanderforex said:
1- Is Wifi good enough for this? Should this be a USB interface? Though I like the Wifi option as button can be moved around.
You could use USB interface, but I've found WiFi to be better, moving around buttons & keeping things wireless is nice.
WiFi is plenty fast (100MB/s) for your use case, which is sending a few bytes whenever you hit the button, and a few more when you check for a signal.
salamanderforex said:
2- How is ESP module powered? If it's Wifi and mobile specially.
You can power with a micro USB cable, or you can power with LiPO batteries. If your code is clean, a couple of AA batteries should last about a few months for a charge (depending on update frequency).
salamanderforex said:
3- How is this different from an Arduino for example?
ESP comes with built in WiFi and Bluetooth, and is cheaper.
salamanderforex said:
4- How would the off the shelf button press the button(?) On ESP? (Remember I want something that can take abuse.
If you want something that can really take abuse, you could use an industrial button:
https://bikerglen.com/blog/usb-big-red-button
ESP takes signal on one of it's input pins, basically hook the button up to those pins. When the ESP gets that pin activated you just send some JSON to a web server running on your desktop.
You can attach the LED to another pin, and check the server over WiFi for current system status. If the system status says light on, then just turn on the light from the ESP.
salamanderforex said:
5- I am looking for many buttons like 10. Is ESP still the best option?
Yep, ESP is very cheap, and if you have a good circuit layout, you can get a factory to basically build them all for you to a high level of production quality (if you want to sell them)
salamanderforex said:
6- LED needs power too...maybe use AA batteries? Is that feasible or will run out of power quickly? These buttons will be ON 24/7.
Yep, I've made ESP projects using 4xAA which run for more than 6 months. LED takes a toll on power use, but if it's not on all the time should be ok.
salamanderforex said:
7- I am wondering if there is already some sort of ready made button for these things? (Not a trading keyboard because I can't slap that).
I'm not sure, if you make it though people will probably buy it from you.
salamanderforex said:
8- I am also wondering if using TWS I can use hot-keys with ESP for example OR a big mouse that looks like a ball that I can slap? Or hot-keys are not made for this?
Hot keys would maybe be a better solution, if you can find a simple USB button, like that big "RETURN" key I saw a while ago
https://www.aliexpress.com/item/32963539887.html.
ESP is if you're not afraid to take a project, and it's pretty simple once you know the basics.
If you have no programming experience then this is going to be a bit of a tricky project. (The LED part is more difficult than the trade part)..,
In this case I'd suggest finding someone on a makers site who would be able to build it for you. Price is probably significantly higher though.