mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
macOS installation added (#2551)
This commit is contained in:
parent
ee00391c7f
commit
dd9223e8ae
@ -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.
|
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
|
```bash
|
||||||
$ sudo apt-get install libtool
|
$ sudo apt-get install libtool
|
||||||
$ sudo apt-get install autoconf
|
$ 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
|
$ git clone --depth 1 --recursive -b dtls https://github.com/home-assistant/libcoap.git
|
||||||
$ cd libcoap
|
$ cd libcoap
|
||||||
$ ./autogen.sh
|
$ ./autogen.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user