Skip to main content

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)

Metadata

Release files for tradfricoap 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tradfricoap 0.1.0
File Size Uploaded Provenance
tradfricoap-0.1.0.tar.gz 12.2 kB Without provenance Details

Release files / tradfricoap-0.1.0.tar.gz

Download URL tradfricoap-0.1.0.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5834c487999ebfe2a5226cf7c1f5d5a930927a027b09f9cf3ac9f506d324f705
BLAKE2b-256 checksum
How to use checksums
aaeab9fcf462ed49daf347e7f7a092bb307830e3970b38c972cfa3ad24031b4c
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for tradfricoap 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page