Either I found a bug or I'm doing it wrong.
I have a GE link multilevel bulb and am turning it off by:
{
"mii":"781",
"cmd":"setdeviceindex",
"devid":"2",
"index":"1",
"value":"false"
}
I get the following output
{"mii":"781","commandtype":"setdeviceindex","success":"true","data":{"devid":"2","index":"1","value":"false"}}
{"commandtype":"SensorUpdate","data":{"2":{"2":{"index":"2","name":"SWITCH BINARY","value":"false"}}}}
{"commandtype":"SensorUpdate","data":{"2":{"1":{"index":"1","name":"SWITCH MULTILEVEL","value":"0"}}}}
and the light turns off
Then I send:
{
"mii":"782",
"cmd":"setdeviceindex",
"devid":"2",
"index":"1",
"value":"true"
}
and get
{"mii":"782","commandtype":"setdeviceindex","success":"true","data":{"devid":"2","index":"1","value":"true"}}
and the light stays off.
I have to go into the app turn the dimmer up then the light will turn on but if I set dimmer up through the websocket nothing happens.