A Node.js backend for the wemos LED project, by Clever Cloud.
Uses websocket with node to send color codes to a wemos D1 mini connected to a multicolor LED strip.
Run the project with npm install
and npm start
.
- Login to Clever Cloud
- Create a new Node.js app, without add-on
- Push the project via git to the given clever cloud remote to start the deployment.
- Create a new domain name or copy the existing one
- Setup the wemos with the code you'll find here.
This software doesn't need configuration. But the wemos does.
As mentionned above, head up to wemos-ws-led project, and clone it locally.
Then change the WEBSOCKET_HOST
to the domain name of this project (could localhost or the clever cloud sub-domain). Set the port set to 80
, and configure a WPA2 wifi access with Internet with WIFI_SSID
WIFI_PASSWORD
.
You'll need the Arduino IDE to upload the code to the wemos.
Browse to the domain name, wait for a wemos to connect, and click within the window to send the color to the LED strip.