Control Ikea Tradfri outlet

OctoPrint-Ikea-tradfri

Turn on your printer with Ikea Tradfri Outlet.

Requirements

  1. Ikea Tradfri Gateway
  2. Ikea Tradfri Outlet

Setup

Install libcoap

You need libcoap to communicate with your Ikea Gateway.

Requirements : autoconf automake libtool (sudo apt install autoconf automake libtool)

git clone --recursive https://github.com/obgm/libcoap.git
cd libcoap
git checkout dtls
git submodule update --init --recursive
./autogen.sh
./configure --disable-documentation --disable-shared --without-debug CFLAGS="-D COAP_DEBUG_FD=stderr"
make
sudo make install

Install plugin

Install manually using this URL:

https://github.com/ralmn/OctoPrint-Ikea-tradfri/archive/master.zip

Configuration

Follow setup wizard or go to OctoPrint settings:

  1. Indicate your gateway ip and your security code (found under your gateway)
  2. Save
  3. Select your outlet
  4. Save

Pictures

Navbar of plugin
Settings of plugin