Hi, nodejsers!
First of all, I very new in nodejs and microcontrollers, but my problem is: What I need to use for communication between nodejs app (on digital ocean droplet) and microcontroller(with openwrt inside) ? Maybe I need to use sockets ? What is the best way?
General problem:
In my nodejs app web(html) view I need a button, when I click on button microcontroller must do some hardware work.