Page 1 of 1

How do I convert JSON into commandarray?

Posted: Saturday 01 October 2016 14:30
by BristolBaz
Hi,

Sorry, this is probably a stupid question but I am trying to change the colour of my milight/applamps bulbs from LUA script.

This is the JSON - which works perfectly

http://192.168.178.60:8080/json.htm?typ ... hite=false

but how to I translate that into my LUA script?

commandArray['UpdateDevice']='80|136|255'

Thanks,
Barry