<commit_before># Milight

ruby-milight project

controller ruby-api for milight or limitless-led
(milight and limitless-led and easy-bulb is
 same bridge-box controllable products)

## API Document
http://www.limitlessled.com/dev/

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'ruby-milight'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install ruby-milight


# components
* local controller (working on LAN)
* gateway server (working on Internet)

components messaging each other.
use web-socket ??

---

# TODO
setup
---
* ?) connect bridge-box and setup wifi config
  or configure by Appli
* get bridge-box IP-Address (from LAN)
* configure this app (make or overwrite config file ?)

boot local-controller / env
---
* load config
  * get bridge-box network segment (24bit)
  * server url
* bulb controller
  * lib/bulb.rb
  * and tests
  * sample app
  * controll by groups<commit_msg>fix gem name and add badge to README<commit_after># Milight

[![Build Status](https://travis-ci.org/beco-ippei/ruby-milight.svg?branch=master)](https://travis-ci.org/beco-ippei/ruby-milight)
[![Coverage Status](https://coveralls.io/repos/github/beco-ippei/ruby-milight/badge.svg?branch=add_ci_settings)](https://coveralls.io/github/beco-ippei/ruby-milight?branch=add_ci_settings)

A ruby wrapper project for milight api.

controller ruby-api for milight or limitless-led
(milight and limitless-led and easy-bulb is
 same bridge-box controllable products)

## API Document
http://www.limitlessled.com/dev/

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'milight'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install milight


# components
* local controller (working on LAN)
* [may be not] gateway server (working on Internet)

components messaging each other.
use web-socket ??

---

# TODO
setup
---
* ?) connect bridge-box and setup wifi config
  or configure by Appli
* ~~get bridge-box IP-Address (from LAN)~~
* configure this app (make or overwrite config file ?)

boot local-controller / env
---
* load config
  * get bridge-box network segment (24bit)
  * server url
* bulb controller
  * lib/bulb.rb
  * and tests
  * sample app
  * controll by groups
{'fraction_non_alphanumeric': 0.10753635962979285, 'fraction_numerical': 0.0017628911414720142, 'mean_word_length': 3.819532908704883, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1905152', 'n_tokens_mistral': 762, 'n_tokens_neox': 709, 'n_words': 238}