This application leverages the Philip's Hue API to set the hue and brightness of a user's smart lights based on the flow of traffic received from the IoT Inspector API. To mock the Philip's Hue smart lights, we will use an emulator to reproduce similar behaviors.
- Git
- Node.js and npm Node ^14.16.1
- MongoDB - Keep a running daemon with
mongod
- First, clone and setup the IoT Inspector API and run the local webserver. Follow the README.md provided on the repository.
- Next, clone and setup the Hue Emulator to mock the smart lights for this application.
- Finally, clone this application.
- Run
npm install
to install server dependencies. - Run
mongod
in a separate shell to keep an instance of the MongoDB Daemon running - Run
npm start
to start the development server.