HouseOnFire
-HOF-

Vision

With HouseOnFire (HOF) having a party at your house will be easier and funnier. HouseOnFire will assist you in the whole process of planning and hosting any kind of party, with the minimal effort. It suits users that want to have fun, from teenagers to adults and can be installed directly in your home.

With the HOFApp – the mobile application provided by HouseOnFire – everyone will use his personal profile where to set his preferences about music and group his friends by lists, such as high school mates or football team. When you're planning the party, you only have to choose the list of friends you want to invite and eventually integrate it. Thanks to the app, the system will analyze the data and suggest playlists to be played during the night.

After the planning part, HouseOnFire will assist you during the party by sensing the environments and modulating lights, volume and type of music, recognizing the most typical moments of the party, such as the “Happy Birthday”. You will have to worry about little more than having fun.

You will have two rooms, one to chat and the other to dance. In the dancing room, HOF will be able to understand the right moment to raise the volume to the top and lower the lights, through the careful analysis of your guests movement. In the chatting room, it will help creating a relaxed atmosphere, analysing the different tones between music and people words. It will also help you send your friends home late at night, lowering the music to calm people down, and you will avoid paying a huge fine for disturbing your neighbor.

HOF will be as a friend always listening to you. When hearing given keywords or phrases, it will assist you, acting as you wish. It will sing “Happy Birthday” with you at birthday parties and play the music you want when asking for a specific song.

HouseOnFire is certainly the best solution to organize a house party, allowing you to relax and enjoy the night with your friends without the worries and responsibility that too often bother the owner.

Purpose and Scope

The goal of the system is to help organizing and managing a house party. A mobile application allows the user to collect guests data and to interact with the intelligent core. During the party, the system controls the atmosphere in the environments, setting music and lights and adapting its behaviour based on data collected through bluetooth sensors and microphones.

The system is supposed to control two environments: one for dancing and the other for chatting. In the dancing room there are speakers for music, bluetooth sensors and wireless controlled lights. In the chatting room there are speakers for music and a microphone.

AmI Main Steps

Sensing

The system is able to sense if someone is dancing, in the dancing room, and if the participants are talking, in the chatting room. It can detect presence of movement and volume of talking in order to actively adjust playlists, music and lights levels.

Reasoning

After the user decides the participants to the party, either individually or from a saved list, according to previously organized parties, the system memorizes the choise, and based on their preferences it creates different music playlists for the party, from which the user can choose. During the party, the system actively changes music and lights, according to data collected through sensing. Furthermore it is able to distinguish music pattern from human voice.

Acting

If the system detects the presence of someone, moving in the dance room, it will lower the intensity of lights and turn up the volume of music. On the other hand, if it hears people talking in the chatting room, it will lower the volume and increase the lights, according to intensity and quality of conversation.

Interacting

The system can be controlled either by smartphone, or simply talking to it, being able to recognize some basic-keywords, for example the user can ask for a specific song, or just to skip one, as long as it is present in his database.

AmI Features

Sensitive

It senses the environment measuring the noise and the movements of the people in the rooms.

Adaptive

According to the users’ preferences, it is able to organize the perfect party, so that each party will be the best possible one and each time different from the previous one.  

Ubiquitous

It can be applied in every house and the app can be easily installed in your smartphone.

Responsive

It is able to adjust the volume of the music and the intensity of lights

Transparent

The system is provided with a set of small sensors, that can be installed in the environment without being perceived.

Intelligent

It can act in different ways according to the data it collects and the information it already has.

Project Features

# Feature Priority
1 During the party, the system creates a dynamical playlist based on users' preferences 1
2 During the party, owner can modify playlist by choosing to play a specific song 1
3 It detects noise in order to warn the owner when loudness goes beyond the allowed threshold 1
4 It regulates the noise threshold based on time, in order not to bother neighborhood 1
5 It changes color and intensity of lights according to the music 1
6 Movement detection when someone enters the dancing room in order to switch on music and lights and compute playlist 1
7 The system is entirely controllable by the owner through mobile application 1
8 It detects the loudness of the speech in the chatting environment in order to set the music to a pleasant volume 2
9 Emission of grey sounds in order to isolate the two environments from each other 2
10 At midnight the system wishes happy birthday to birthday guys 2
11 In the mobile application each user sets his preference about music and groups his friends according to lists 2
12 The owner chooses the list of friends he wants to invite 2
13 It recognizes vocal keywords as commands, such as playing a specific song 3
14 House owner directly controls lights 3

Architecture

System architecture

  • Ambient Sensors
    - 2 beacons (one per room)
    - microphone (for raspberry) to detect voice and noise ( chatting room)
  • Music Server (unique)
  • Speakers (both rooms)
  • Server (data storage, web interface generation, intelligence, unique)
  • User Device able to connect to the internet (guests and owner): Android smartphone
  • Wireless controllable lights (dancing room)
  • Data sensors collection software ( microphone,  beacons)
  • Music Server software: songs database
  • Mobile application: interface collecting users data and offering control over the music flow
  • Data storage: stores users information
  • Intelligent core: data analysis, creation of a playlist, lights and speakers control
  • Gateway connected to the internet
  • Local Gateway connected to the internet
  • Wireless sensors (Hue Bulbs) connected to local gateway
  • Wireless sensors (beacons) communicating through Bluetooth
  • User device connected to internet
  • Central server: public IP address and fixed port, connected to the gateway

Selected Components

Hardware

Off-The-Shelf (OTS) 

Philips Hue Bulbs 
Bluetooth Estimote Beacons x 2 
USB Microphone for Raspberry Pi 
Raspberry Pi x 2 
Active Speakers x 2 

Software

Music library 
Pycharm (Python code development)
Android Studio (mobile application based on Java)
MariaDB database
Google Text-To-Speech package for Python
PyAudio package for Python (noise detection)
Pygame package for Python (speakers control)

Open Issues

 ✓
Unknown computational power requirement needed by the system
 ✓
Beacon detection to track people movement at the party: development of Mobile Application scanning Beacons in background
 ✓
Reading next song from server and simultaneously playing another song
  ✗
Volume update in Mobile Application: when changed by the central intelligence
 ✗
Noise alert in Mobile Application: graphical display of alert
  ✗
How the system can distinguish between the noise of the music from the one of people chatting
  ✗
Possibility of generating grey sounds

Team Members

Marco Tasca

s226619
@MarcTasca
s226619@studenti.polito.it
SW developer and Electronic designer

Chiara Relandini

s223881
@chiararelandini
chiara.relandini@gmail.com
SW and HW developer

Flavia Cecchi

s223892
@FlaviaCecchi
flavia.cecchi@studenti.polito.it
SW developer and Electronic designer

Matteo Savi

s223390
@96teo96
s223390@studenti.polito.it
Mechanical designer

Made with Pingendo Free   Pingendo logo