PHP api to control Ikea smart lights (tradfri)
Inspired by
hvanderlaan/ikea-smartlight Python
see requirements.md
docker pull webproject/coap-client:latest
Generate API User and <COAP_API_KEY> (Shared Key)
docker run --rm --name coap-client webproject/coap-client -m post -u "Client_identity" -k "<COAP_GATEWAY_SECRET>" -e '{"9090":"php-api-user"}' "coaps://<COAP_GATEWAY_IP>:5684/15011/9063""
docker run --rm --name coap-client webproject/coap-client -m get -u "php-api-user" -k "<COAP_API_KEY>" "coaps://<COAP_GATEWAY_IP>:5684/.well-known/core"