philips_hue_client

Crates.iophilips_hue_client
lib.rsphilips_hue_client
version0.4.3
sourcesrc
created_at2016-11-30 20:11:12.46388
updated_at2016-12-03 06:28:21.950082
descriptionRust library for Philips Hue lights
homepagehttps://github.com/andete/philips_hue_client
repositoryhttps://github.com/andete/philips_hue_client
max_upload_size
id7418
size29,636
Joost Yervante Damad (andete)

documentation

README

philips_hue_client

<<<<<<< HEAD Build Status

Build Status AppVeyor Build Status

9f30d2a3cdd49154f5929f6e3d3d4b231e60aef0

Library for interacting with the Hue API in order to manipulate Hue lights.

The goal of this library is to provide a easy way of interacting with the Hue API.

Current features

  • Discover bridge by querying the Philips Hue website
  • Find all lights connected to a bridge
  • Simple actions on the lights (e.g. turn on and off and setting the colour)

Building

When building, you might encounter problems with OpenSSL. You may have to manually tell Rust where OpenSSL is located through environment variables. Have a look at the README of rust-openssl for more help.

On macOS

export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include
export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib

On Windows

set OPENSSL_INCLUDE_DIR=C:\OpenSSL\include
set OPENSSL_LIB_DIR=C:\OpenSSL\lib
set OPENSSL_LIBS=ssleay32:libeay32

Install OpenSSL-1_0_1u from http://slproweb.com/products/Win32OpenSSL.html. Make sure to install it in the same directory as written in the environment variables (in the case of this example: C:\OpenSSL\).

Commit count: 0

cargo fmt