JIAOYUE 650 API Command question


#1

If I use {“id”:1,“method”:“set_power”,“params”:[“on”,“smooth”,500,2]} while the lamp is already on then the lamp does not switch to normal mode, how can I switch from night mode to normal mode when the lamp is already on ?


#2

It should switch to sunlight mode, if not, it should be a bug. We will look into it.


#3

Please use {“id”:1,“method”:“set_power”,“params”:[“on”,“smooth”,500,1]}, 2 means color mode.


#4

@salexes

Exactly, try that param.


#5

Thank you! How can I check in which mode it currently is via api ?