aboutsummaryrefslogtreecommitdiff
path: root/readme.md
blob: 4370efbc238ea3a061be3c07e59ff89cca1c04d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# homeassistant-livingcolors

this is a home assistant plugin that implements support for the Gen 1 Philips
LivingColors lights. it requires a cc2500 module to handle the communication
with the lamp. i'm using and testing on a raspberry pi 3b+, but with some
technical knowledge it should be portable to other pi's and/or other IoT
computers.

you'll have to use an arduino with
[this](http://www.knutsel.org/wp-content/uploads/2010/04/a_LiCo_Control_A1.zip)
arduino sketch, and
[this](http://www.knutsel.org/wp-content/uploads/2012/02/LivingColors.zip)
library to intercept messages from the original remote. more instructions on
how to do this are
[here](http://www.knutsel.org/2010/04/11/using-the-cc2500-arduino-shield/).
you'll only need to use this to get your lamp's address, and verify that your
cc2500 module works by changing your lamp's color.

if this repository gets enough stars i might try to port the arduino sketch
code so the raspberry pi can sniff the remote's messages too, but i'm really
lazy and this is more of a personal janky solution. pr's are welcome!

## used libraries

these are imported using git submodules (clone using `git clone --recursive`):

- [icli](https://github.com/v3io/icli)
- [rpiCC2500](https://github.com/RGassmann/rpiCC2500)

ported libraries and example code:

- [LivingColors](http://www.knutsel.org/wp-content/uploads/2012/02/LivingColors.zip)
	(arduino library)
- [LiCo_Control_A1](http://www.knutsel.org/wp-content/uploads/2010/04/a_LiCo_Control_A1.zip)
	(arduino sketch)