Skip to content
Discussion options

You must be logged in to vote

@afgcons There are two "ZbLight" keys in the root object, second one is the string "Done". I guess that is the reason.

echo '{"ZbLight":{"0x69B1":{"Device":"0x69B1","Name":"69B1_CredenzaN","Reachable":true,"Power":1,"Dimmer":50,"Hue":113,"Sat":254,"X":10040,"Y":3116,"CT":0,"ColorMode":2,"RGB":"1FFF00","RGBb":"063200","Light":-1}},"ZbLight":"Done"}'  |  jq '.ZbLight'
"Done"

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@emanuele6
Comment options

@afgcons
Comment options

@wader
Comment options

Answer selected by afgcons
@itchyny
Comment options

@afgcons
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants