Make Tradfri discoverable (#7128)

* Make Tradfri discoverable

* Fix lint errors

* Fix bugs and clean up calls to light_control

* Add more color util tests

* Add coap client to dockerfile
This commit is contained in:
Paulus Schoutsen 2017-04-16 14:37:39 -07:00 committed by GitHub
parent 75242e67a7
commit 951af6c76d
11 changed files with 188 additions and 46 deletions

View file

@ -0,0 +1,14 @@
#!/bin/sh
# Installs a modified coap client with support for dtls for use with IKEA Tradfri
# Stop on errors
set -e
apt-get install -y --no-install-recommends git autoconf automake libtool
git clone --depth 1 --recursive -b dtls https://github.com/home-assistant/libcoap.git
cd libcoap
./autogen.sh
./configure --disable-documentation --disable-shared
make
make install

View file

@ -12,7 +12,7 @@ PACKAGES=(
apt-get install -y --no-install-recommends ${PACKAGES[@]}
# Clone the latest code from GitHub
git clone https://github.com/openalpr/openalpr.git /usr/local/src/openalpr
git clone --depth 1 https://github.com/openalpr/openalpr.git /usr/local/src/openalpr
# Setup the build directory
cd /usr/local/src/openalpr/src