<commit_before># smarthome

## Introduction

Last Revision : 17 January 2015

SmartHome ([check the video](https://www.youtube.com/watch?v=0_fc6otGhpU)) is a service built for fun. This is the first version which allow you to add dynamically actions
and control any IoT devices who run at least one REST API service.

The first version was built in less than 5 hours using Polymer. Tests were made on Philips Hue.

## database.json

The file "database.json" contain all informations needed in order to make the system work properly. 
In order to add/edit actions, you just need to modify the JSON. 

Initial structure : 
...
{
  "trigger sentence":
  {
    "method": "PUT",
    "url": "http://xxx.xxx.xx.xx/api/",
    "body":"{\"on\":true}",
    "speech": {
      "onActivation": "Turning on the lights",
      "onError": "An error occured"
    }
  }
}
...

## TO DO :

Lot of improvments will come in few days in order to make the plateform smarter.
<commit_msg>Edit readme<commit_after># smarthome

## Introduction

Last Revision : 17 January 2015

SmartHome ([check the video](https://www.youtube.com/watch?v=0_fc6otGhpU)) is a service built for fun which allow you to add dynamically actions and control any IoT devices who run at least one REST API service.

The first version was built in less than 5 hours using Polymer. Tests were made on Philips Hue.

## TO DO :

Lot of improvments will come in few days in order to make the plateform smarter.

{'fraction_non_alphanumeric': 0.08940852819807428, 'fraction_numerical': 0.012379642365887207, 'mean_word_length': 3.648562300319489, 'pattern_counts': {'":': 8, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7331030', 'n_tokens_mistral': 456, 'n_tokens_neox': 425, 'n_words': 199}