macOS installation added (#2551)
This commit is contained in:
parent
ee00391c7f
commit
dd9223e8ae
1 changed files with 18 additions and 1 deletions
|
@ -16,12 +16,29 @@ ha_release: 0.43
|
|||
|
||||
The `tradfri` component supports for the IKEA Trådfri (Tradfri) gateway. The gateway can control lights connected to it and Home Assistant will automatically discover its presence on your network.
|
||||
|
||||
For this to work, you need to install a modified lib-coap library:
|
||||
For this to work, you need to install a modified lib-coap library.
|
||||
|
||||
Linux:
|
||||
|
||||
```bash
|
||||
$ sudo apt-get install libtool
|
||||
$ sudo apt-get install autoconf
|
||||
|
||||
$ git clone --depth 1 --recursive -b dtls https://github.com/home-assistant/libcoap.git
|
||||
$ cd libcoap
|
||||
$ ./autogen.sh
|
||||
$ ./configure --disable-documentation --disable-shared --without-debug CFLAGS="-D COAP_DEBUG_FD=stderr"
|
||||
$ make
|
||||
$ sudo make install
|
||||
```
|
||||
|
||||
macOS:
|
||||
|
||||
```bash
|
||||
$ sudo brew install libtool
|
||||
$ sudo brew install autoconf
|
||||
$ sudo brew install automake
|
||||
|
||||
$ git clone --depth 1 --recursive -b dtls https://github.com/home-assistant/libcoap.git
|
||||
$ cd libcoap
|
||||
$ ./autogen.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue