Skip to content

Commit

Permalink
Merge pull request #23 from mdavids/patch-1
Browse files Browse the repository at this point in the history
Small typo in turn on/off lightbulb
  • Loading branch information
hvanderlaan authored Nov 8, 2017
2 parents e0a400e + a705ff0 commit 9109eaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ coap-client -m post -u "Client_identity" -k "<key>" -e '{"9090":"IDENTITY"}' "co
./coap-client -m get -u "IDENTITY" -k "<psk>" "coaps://<hup>:5684/15001/65537"

# turn on tradfri lightbulb
./coap-client -m put -u "IDENTITY" -k "<psk>" -e '{ "3311" : [{ "5850" : 1 ]} }' "coaps://<hup>:5684/15001/65537"
./coap-client -m put -u "IDENTITY" -k "<psk>" -e '{ "3311" : [{ "5850" : 1 }] }' "coaps://<hup>:5684/15001/65537"
# turn off tradfri lightbulb
./coap-client -m put -u "IDENTITY" -k "<psk>" -e '{ "3311" : [{ "5850" : 0 ]} }' "coaps://<hup>:5684/15001/65537"
./coap-client -m put -u "IDENTITY" -k "<psk>" -e '{ "3311" : [{ "5850" : 0 }] }' "coaps://<hup>:5684/15001/65537"
```

### output
Expand Down

0 comments on commit 9109eaf

Please sign in to comment.