Skip to content

Best IoT App Overall - 2nd Place - Submission for Honolulu AT&T Hackathon 2018

Notifications You must be signed in to change notification settings

ba5eem/atthackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AT&T Hackathon - Mar. 2018 - IoT

Google DevLeague PhilipsHue AT&T

  • Best IoT App Overall - 2nd Place - Submission for Honolulu AT&T Hackathon 2018

MoodLighting Team

Demo UI Screenshot:

About

  • Are you in denial about how crappy you're feeling? Do you never realize when you're actually feeling good about or something or life in general? MoodLighting will let you know how you're doing when you're just not sure and just want to be at home with whatever the hell kind of feelings you're having. MoodLighting will also create the ambience to match how you feel.

Approach

  • MoodLighting was made with React, Google Vision API & YouTube API. Images are captured in intervals from video capture. The Google Vision API provide the user's emotion analysis. The user's emotion will determine and change the color of their light bulb and browser experience.

MVP

  • User should be able to capture an image of their face through their browser using React WebCam. The user's light bulb should change to the color associated with each mood.

Stretch Goals Met

  • Youtube Videos customized from your current emotional status

Stretch Goals

  • User will be able to customize their light preferences to reflect their matching moods. They will also have the option to further prompt the light to change to assist in adjusting their mood. For example, if the light turns red because they are angry, they have the option to change the light to their designated "calm" color such as blue. Additional prompts and APIs would allow the user to order their favorite Starbucks concoction or comfort meal, play their favorite mood associated songs, or show them some cat pics.

Getting Started

npm install 
npm start

How to connect to your Philips HUE Light, a quick on/off example:

const app = require('express')();
const axios = require('axios');

//Follow the steps here to get your unique username:
//https://www.developers.meethue.com/documentation/getting-started

const username = process.env.USERNAME;
const url = `http://192.168.0.2/api/${username}/lights/2/state`;

app.get('/on', (req, res) => {
	axios.put(url, {"on":true})
	.then(elem => {
		res.json('Light is ON: ');
	})
})

app.get('/off', (req, res) => {
	axios.put(url, {"on":false})
	.then(elem => {
		res.json('Light is OFF: ');
	})
})

app.listen(9000);

About

Best IoT App Overall - 2nd Place - Submission for Honolulu AT&T Hackathon 2018

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published