Skip to content

DukeSmartHome/smarthome-lighting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Home Lighting App

Desktop Screenshot

Usage

  • to run the lighting server, you will first need to install Node.js

  • to develop with the app:

    • $ npm install to install all dependencies
    • $ npm run backend to test/develop for the Node.js backend
    • $ npm run frontend to test/develop for the React frontend
  • for serving in production:

    • $ npm run build to build the frontend into a static site
    • use a process manager such as pm2 to serve the app
    • with pm2:
      • $ npm install pm2 -g
      • $ pm2 start app.js

Features

Version 2.0 (Fall 2018):

  • live status of the lights
  • dark mode
  • a refreshed UI
  • under-the-hood updates to React and ES6

Version 1.0 (Spring 2016):

  • Written for Node.js
  • Uses socket.io for real-time updates
  • Responsive frontend interface
  • Integrated with the CLIPSAL lighting controllers in the Duke Smart Home

About

A Node.js framework for controlling the CLIPSAL lighting systems in the Duke Smart Home.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •