Giter Site home page Giter Site logo

wemos-ws-led-backend's Introduction

Wemos websocket LED Backend

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.

Installation

Local Setup

Run the project with npm install and npm start.

On Clever Cloud

  1. Login to Clever Cloud
  2. Create a new Node.js app, without add-on
  3. Push the project via git to the given clever cloud remote to start the deployment.
  4. Create a new domain name or copy the existing one
  5. Setup the wemos with the code you'll find here.

Configuration

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.

Usage

Browse to the domain name, wait for a wemos to connect, and click within the window to send the color to the LED strip.

wemos-ws-led-backend's People

Contributors

cnivolle avatar divarvel avatar urcadox avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.