I am following this tutorial on the pi zero W to connect to Ikea Tradfri lights

Cannot connect using the following:

coap-client -m put -u "Client_identity" -k "1a2b3c4d5e6f7g8h" \
    -e '{ "3311": [{ "5850": 0 }] }' "coaps://"

following is the result:

v:1 t:CON c:PUT i:fac2 {} [ ]

but no light was turned off

I am very new to all this... Please, help.


Maybe this is the cure of your trouble....


It solved mine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.