Skip to content

Commit

Permalink
Prepare for 0.2.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
chendo committed Mar 29, 2014
1 parent cd47517 commit 1be525d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion README.md
Expand Up @@ -4,6 +4,11 @@

This is an **unofficial** JSON RESTful API service for controlling LIFX devices. This API adds some reliability that the [LIFX gem](https://github.com/LIFX/lifx-gem) does not include.

## Features

* Mostly synchronous, apart from setting colour
* Supports MDNS

## Requirements

* Ruby 2.0+
Expand All @@ -22,7 +27,6 @@ This is an **unofficial** JSON RESTful API service for controlling LIFX devices.
* Start a slow sunrise effect:
* `curl -XPUT http://localhost:56780/lights/all/color?hue=35&saturation=0.37&brightness=0.65&duration=10m -d ''`


## API

* `selector` is either:
Expand All @@ -48,6 +52,17 @@ To view documentation and play with the API, start the API server locally, then
You should see something like this:
![Swagger screenshot](doc.png)

## Changelog

#### 0.2.1

- Duration now supports minute and hour suffixes e.g. "12h" for 12 hours thanks to @Bluebie
- MDNS support! Enables easy discovery of a LIFX HTTP instance on the LAN.

#### 0.2.0

- First gem release

## License

MIT. See [LICENSE](LICENSE)
2 changes: 1 addition & 1 deletion lib/lifx-http/version.rb
@@ -1,3 +1,3 @@
module LIFXHTTP
VERSION = "0.2.0"
VERSION = "0.2.1"
end

0 comments on commit 1be525d

Please sign in to comment.