[REST] # about $ curl -X GET http://192.168.1.45/api/about -H 'API-Key: zebrazebra' {"app_name":"AiLight","app_version":"0.5.0","build_date":"Sep 4 2017","build_time":"09:57:54","memory":1048576,"free_heap":30160,"cpu_frequency":80,"manufacturer":"Ai-Thinker","model":"RGBW Light","device_ip":"192.168.1.45","mac":"2C:3A:E8:0D:FD:63"} # status $ curl -X GET http://192.168.1.45/api/light -H 'API-Key: zebrazebra' {"state":"ON","brightness":255,"white_value":0,"color_temp":0,"color":{"r":128,"g":0,"b":128},"gamma":true} # PATCH gamma does not work $ curl -X PATCH http://192.168.1.45/api/light -H 'API-Key: zebrazebra' -H 'Content-Type: application/json' -d '{"gamma":false}' {"state":"ON","brightness":255,"white_value":0,"color_temp":0,"color":{"r":128,"g":0,"b":128},"gamma":true} # PATCH other settings (white_value in this case) succeeds $ curl -X PATCH http://192.168.1.45/api/light -H 'API-Key: zebrazebra' -H 'Content-Type: application/json' -d '{"white_value":1}' {"state":"ON","brightness":255,"white_value":1,"color_temp":0,"color":{"r":128,"g":0,"b":128},"gamma":true}petefoo@mooby:~/alexa/mqtt/v2$ [MQTT] # publish gamma set Deck-24-BB6799/set {"gamma":true} # response remains false Deck-24-BB6799 {"state":"ON","brightness":255,"white_value":0,"color_temp":0,"color":{"r":128,"g":0,"b":128},"gamma":false} # publish other settings (white_value in this case) Deck-24-BB6799/set {"white_value":1} # response reflects change Deck-24-BB6799 {"state":"ON","brightness":255,"white_value":1,"color_temp":0,"color":{"r":128,"g":0,"b":128},"gamma":false}