cflurin / xiaomi-mqtt

A Bridge between the Xiaomi Mi Smart Home Gateway and the Mqtt broker.
Apache License 2.0
50 stars 14 forks source link

Cannot set gateway rgb #16

Open khorchanov opened 2 years ago

khorchanov commented 2 years ago

Hello,

Thanks for this wornderful tool.

I have the error below when setting rgb on my gateway :

xiaomi/from {"cmd":"write_ack","sid":"*****","data":{"error":"Invalid key"}}

My request is :

{ "cmd": "write", "model": "gateway", "sid": "****", "data": { "rgb": "1000FF00" } }

I tried to add the gateway's token, and this does not solve my problem