Philips HUE

From Technologia Incognita
Jump to: navigation, search
TechInc Inventory
Description Three RGB led lights and a base station
Make Philips
Model Hue LED lamp - Starter Pack
Manufacturer Link https://www.meethue.com/
Category AudioVideo
Operational Status Working
Super Users User:the_JinX
Received at 2013/12/21
Acquisition Details Loan
Owner User:the_JinX

Philips hue connected bulbs and bridge let you to take full control of your lighting. Whatever you want to do with your lighting, hue can.

Base Station is in the server room.

For API documentation:

http://developers.meethue.com/

URL for API:

http://10.0.20.32/api/0123456789abdcef0123456789abcdef/

IP: 10.0.20.32

So the philps HUE is cloud controlled and that sucks so i added an iptables rule on our firewall (/root/iptables/blockhue.sh) that blocks the thing from talking to philips. The philips app and website will only work when you are on the techinc network :).

See also: Huelights

HuePl

HuePl is a CLI script to control the lights.

http://www.floodgap.com/software/huepl/

% wget http://www.floodgap.com/software/huepl/huepl.txt -O ~/bin/huepl
% chmod a+x ~/bin/huepl
% echo 10.0.20.32 0123456789abdcef0123456789abcdef > ~/.hueplkey
% huepl for 1 2 3 do on
% huepl for 1 2 3 do white
% huepl for 1 2 3 do bri 64
% huepl lights
light 1     on true     bri 64   colormode hs   hs 0 0
light 2     on true     bri 64   colormode hs   hs 0 0
light 3     on true     bri 64   colormode hs   hs 0 0