Install pytradfri
masterInstallation depends on whether your application is synchronous or asynchronous.
Asynchronous Applications (Recommended)
For async applications, install the library with the [async] extra:
pip install pytradfri[async]Synchronous Applications
For sync applications, you must first install libcoap using the provided script:
./script/install-coap-client.shThen install the base package via pip.
Security Note: Do not store the security code printed on the gateway permanently in your application. Use the Pre-Shared Key (PSK) for communication.
pip install pytradfri[async]