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 details)

Uploaded Source

File details

Details for the file tradfricoap-0.1.0.tar.gz.

File metadata

  • Download URL: tradfricoap-0.1.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.13

File hashes

Hashes for tradfricoap-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5834c487999ebfe2a5226cf7c1f5d5a930927a027b09f9cf3ac9f506d324f705
MD5 943b501d56bf8b4d1589ea4533ca404f
BLAKE2b-256 aaeab9fcf462ed49daf347e7f7a092bb307830e3970b38c972cfa3ad24031b4c

See more details on using hashes here.

Supported by

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