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:
parent
75242e67a7
commit
951af6c76d
11 changed files with 188 additions and 46 deletions
14
virtualization/Docker/scripts/coap_client
Executable file
14
virtualization/Docker/scripts/coap_client
Executable 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
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue