Open fplanjer opened 8 months ago
same here, unable to add it with localtuya Value 23 seems temp settin Value 22 seems current temp, but i cannot get them inside HA i found this in tuya explorer, maybe this helps?
{ "result": { "properties": [ { "code": "Power", "custom_name": "", "dp_id": 1, "time": 1697784511847, "value": true }, { "code": "TempSet", "custom_name": "", "dp_id": 2, "time": 1697798115534, "value": 23 }, { "code": "TempCurrent", "custom_name": "", "dp_id": 3, "time": 1697798463532, "value": 22 }, { "code": "Timer", "custom_name": "", "dp_id": 10, "time": 1697712794436, "value": "0" }, { "code": "Countdown", "custom_name": "", "dp_id": 11, "time": 1697719517625, "value": 0 } ] }, "success": true, "t": 1697798757065, "tid": "d992d65c6f3511eeab9046acc027565a" }
Hmm, you have different datappoint id's from me. I used tinytuya to retrieve the datapoints. You also do not seem to have datapoint 11m, which seems to have a ralation to the HVAC setting. I think you are correct about the temp settings.
I'm having difficulties configuring an intrared panel with LocalTuya The datapoints I get are:
"mapping": { "1": { "code": "switch", "type": "Boolean", "values": {} }, "2": { "code": "temp_set", "type": "Integer", "values": { "unit": "\u00b0C", "min": 0, "max": 37, "scale": 0, "step": 1 } }, "3": { "code": "temp_current", "type": "Integer", "values": { "unit": "\u00b0C", "min": -20, "max": 50, "scale": 0, "step": 1 } }, "11": { "code": "work_state", "type": "Enum", "values": { "range": [ "heating" ] } }, "19": { "code": "countdown_set", "type": "Enum", "values": { "range": [ "cancel", "1h", "2h", "3h", "4h", "5h", "6h" ] } }, "20": { "code": "countdown_left", "type": "Integer", "values": { "unit": "min", "min": 0, "max": 1440, "scale": 0, "step": 1 } } }
I tried many different DataPoint mappings in the config, but only get the temperature to work. Turning on also works, but I cannot get turning the device off to work.
I suspect I need to set the correct HVAC Mode DP, HVAC Mode Set, HVAC Cureetc Action DP and HVAC Currect Action Set.
Please advise how these should be configured