Reputation: 433
I am trying to connect Apple homekit to nodemcu board, I found a tutorial which works on my computer, but I am wonder if there is any way to load and run Node.JS on a NodeMCU board (ESP8266)?
Upvotes: 12
Views: 25964
Reputation: 1940
You can run Espruino on it. I have the HiLetgo NodeMCU ESP-12E Module and was easily able to load the firmware.
Some samples to try out
https://github.com/mertenats/NodeMCU-and-JavaScript
Upvotes: 29
Reputation: 2077
I think you're confusing nodemcu, which is a firmware for the ESP8266 boards that interprets the language lua, with the javascript runtime node.js, which runs on computers.
So, the answer is you cannot run node.js on an ESP8266.
Upvotes: 7