Skip to content

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

License

Notifications You must be signed in to change notification settings

moroen/tradfricoap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published