rospogrigio / localtuya

local handling for Tuya devices
GNU General Public License v3.0
2.95k stars 562 forks source link

Cecotec ReadyWarm Crystal heater #744

Open marcoahp opened 2 years ago

marcoahp commented 2 years ago

The heater works fine, I can power on and off and change temperature, but I can't change the power level and neither the child lock status. The lock status is status number two with values true and false, and the power level is number seven with values high and low. But I can't set this values in the Local Tuya integration. I've managed to add two identities to see the status of child lock and power level, but I can't change the status.

This is the specification and properties of the device from iot.tuya.com: { "result": { "category": "qn", "functions": [ { "code": "switch", "desc": "{}", "name": "开关", "type": "Boolean", "values": "{}" }, { "code": "lock", "desc": "{}", "name": "童锁", "type": "Boolean", "values": "{}" }, { "code": "temp_set", "desc": "{\"unit\":\"℃\",\"min\":5,\"max\":40,\"scale\":0,\"step\":1}", "name": "目标温度C", "type": "Integer", "values": "{\"unit\":\"℃\",\"min\":5,\"max\":40,\"scale\":0,\"step\":1}" } ], "status": [ { "code": "switch", "name": "开关", "type": "Boolean", "values": "{}" }, { "code": "lock", "name": "童锁", "type": "Boolean", "values": "{}" }, { "code": "temp_set", "name": "目标温度C", "type": "Integer", "values": "{\"unit\":\"℃\",\"min\":5,\"max\":40,\"scale\":0,\"step\":1}" }, { "code": "temp_current", "name": "当前温度C", "type": "Integer", "values": "{\"unit\":\"℃\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}" } ] }, "success": true, "t": ------------------ }

adrianipopescu commented 2 weeks ago

I'm in the same boat as you, trying to learn how to configure the thing