Error: XiaomiGateway: unable to write command - Invalid key
Posted: Friday 21 August 2020 19:11
Hi there.
I've recently created a simple web page where I call domoticz API to control my Xiaomi smart home. The domoticz server runs on a raspberry pi and the smart home configuration consists of xiaomi getaway, YeeLight bulbs and a couple of temperature sensors.
It has been working perfectly about two weeks, but then the connection to getaway became unstable. The Temp + Humidity + Baro sensor stopped to push its values and Toggle command starts randomly returning the "Error sending switch command". Besides, when there are no errors, the light sometimes does not turn on.
Here is the log:
Raspberry OS: 10 (buster)
Domoticz version: 2020.2
I would appropriate if someone can help me to localize the problem
I've recently created a simple web page where I call domoticz API to control my Xiaomi smart home. The domoticz server runs on a raspberry pi and the smart home configuration consists of xiaomi getaway, YeeLight bulbs and a couple of temperature sensors.
It has been working perfectly about two weeks, but then the connection to getaway became unstable. The Temp + Humidity + Baro sensor stopped to push its values and Toggle command starts randomly returning the "Error sending switch command". Besides, when there are no errors, the light sometimes does not turn on.
Here is the log:
- Spoiler: show
Raspberry OS: 10 (buster)
Domoticz version: 2020.2
I would appropriate if someone can help me to localize the problem