glenndehaan / ikea-tradfri-coap-docs

How can you communicate to your ikea tradfri gateway/hub through coap-client
MIT License
189 stars 21 forks source link

Wrong string interpolation of TF_USERNAME #9

Closed 0xlee closed 4 years ago

0xlee commented 4 years ago

Thank you for sharing your work!!

The string interpolation of $TF_USERNAME in section Authenticate of README does not work because of it is wrapped by a single quote.

It should like following: % coap-client -m post -u "Client_identity" -k "$TF_GATEWAYCODE" -e "{\"9090\":\"$TF_USERNAME\"}" "coaps://$TF_GATEWAYIP:5684/15011/9063"

glenndehaan commented 4 years ago

Good find. I have updated the docs.