Skip to main content

Controlling IKEA-Tradfri

Project description

tradfricoap

A module and command line utility for working with the Ikea Tradfri Gateway.

Installation

Requirements

tradfricoap uses py3coap for communicating with the gateway. Py3coap is available on PyPi and should be installed automaticly when installing tradfricoap. If no prebuild wheel of py3coap is available on PyPy, py3coap can be installed from source.

From PyPi

$ pip3 install tradfricoap

From source

$ git clone https://github.com/moroen/tradfricoap.git
$ cd tradfricoap
$ python3 setup.py install

Configuration

$ tradfri config gw IP KEY

Basic usage

./tradfri.py --help

List all devices

./tradfri list

Controll a light

./tradfri on <ID>
./tradfri off <ID>
./tradfri level <ID> <LEVEL> (Level: 0-254)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tradfricoap-0.1.0.tar.gz (12.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page