Closed Riqk99 closed 5 years ago
I just checked my home setup but this works fine. Just some things you can try:
coap-client -m get -u "$USERNAME" -k "$PRESHARED_KEY" "coaps://$GATEWAYIP:5684/15001"
It worked! But I found out it only works on individual lights and not on the groups.
Still, thanks for the help and quick reply!
When I use a command like this:
coap-client -m put -u "USER" -k "KEY" -e '{ "3311": [{ "5850": 1 }] }' "coaps://192.168.2.1:5684/15004/195019"
The response is always just:
v:1 t:CON c:PUT i:8894 {} [ ] decrypt_verify(): found 24 bytes cleartext decrypt_verify(): found 4 bytes cleartext
And nothing happens.... Getting the data from my light does work:
{"9001":"NAME","9002":1542748695,"9003":195019,"9039":226934,"5850":1,"5851":0,"9108":0,"9018":{"15002":{"9003":[65579,65581,65580]}}}
Does somebody have an idea to try?