make-all / tuya-local

Local support for Tuya devices in Home Assistant
MIT License
1.31k stars 512 forks source link

MADIMACK ECO 16KW INVERTER HEAT PUMP #1431

Closed wholly1971 closed 8 months ago

wholly1971 commented 10 months ago

Log Message

This error originated from a custom integration.

Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:97
Integration: Tuya Local (documentation, issues)
First occurred: December 17, 2023 at 12:15:02 PM (2 occurrences)
Last logged: 8:05:56 PM

Device matches None with quality of 0%. DPS: {"updated_at": 1702779299.2215989, "101": false, "102": "heating", "104": 32, "105": "boost", "106": "c", "107": 0, "108": 29, "109": 0, "110": 40, "111": 18, "112": 29, "113": 32, "114": 32, "115": 34, "116": 0, "117": 29, "118": 33, "119": 37, "120": 39, "121": 480, "122": false, "123": false, "124": "oc_0"}
Device matches None with quality of 0%. DPS: {"updated_at": 1703066752.7406576, "101": false, "102": "heating", "104": 32, "105": "boost", "106": "c", "107": 0, "108": 30, "109": 0, "110": 40, "111": 18, "112": 27, "113": 28, "114": 30, "115": 26, "116": 0, "117": 30, "118": 29, "119": 29, "120": 32, "121": 480, "122": false, "123": false, "124": "oc_0"}

Information about DPS mappings

{
  "result": {
    "model": "{\"modelId\":\"000004kb7r\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":101,\"accessMode\":\"rw\",\"code\":\"switch1\",\"description\":\"\",\"extensions\":{\"attribute\":\"1\"},\"name\":\"开关\",\"typeSpec\":{\"type\":\"bool\",\"typeDefaultValue\":false}},
{\"abilityId\":102,\"accessMode\":\"rw\",\"code\":\"mode1\",\"description\":\"\",\"name\":\"模式\",\"typeSpec\":{\"range\":[\"auto\",\"heating\",\"cold\"],\"type\":\"enum\",\"typeDefaultValue\":\"auto\"}},
{\"abilityId\":103,\"accessMode\":\"rw\",\"code\":\"child_lock1\",\"description\":\"\",\"name\":\"童锁开关\",\"typeSpec\":{\"type\":\"bool\",\"typeDefaultValue\":false}},
{\"abilityId\":104,\"accessMode\":\"rw\",\"code\":\"temp_set1\",\"description\":\"\",\"name\":\"温度设置\",\"typeSpec\":{\"max\":104,\"min\":-22,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-22,\"unit\":\"\"}},
{\"abilityId\":105,\"accessMode\":\"rw\",\"code\":\"work_mode\",\"description\":\"\",\"name\":\"工作模式\",\"typeSpec\":{\"range\":[\"power\",\"boost\",\"silence\",\"perfect\"],\"type\":\"enum\",\"typeDefaultValue\":\"power\"}},
{\"abilityId\":106,\"accessMode\":\"rw\",\"code\":\"temp_unit_convert1\",\"description\":\"\",\"name\":\"温标切换\",\"typeSpec\":{\"range\":[\"f\",\"c\"],\"type\":\"enum\",\"typeDefaultValue\":\"f\"}},
{\"abilityId\":107,\"accessMode\":\"ro\",\"code\":\"fault1\",\"description\":\"\",\"extensions\":{\"scope\":\"fault\"},\"name\":\"故障告警\",\"typeSpec\":{\"label\":[\"E1\",\"E2\",\"E3\",\"E4\",\"E5\",\"E6\",\"E7\",\"E8\",\"E9\",\"EA\",\"EB\",\"ED\",\"P0\",\"P1\",\"P2\",\"P3\",\"P4\",\"P5\",\"P6\",\"P7\",\"P8\",\"P9\",\"PA\",\"F1\",\"F2\",\"F3\",\"F4\",\"F5\",\"F6\",\"F7\"],\"maxlen\":30,\"type\":\"bitmap\",\"typeDefaultValue\":0}},
{\"abilityId\":108,\"accessMode\":\"ro\",\"code\":\"temp_current1\",\"description\":\"\",\"name\":\"当前温度\",\"typeSpec\":{\"max\":250,\"min\":-22,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-22,\"unit\":\"\"}},
{\"abilityId\":109,\"accessMode\":\"ro\",\"code\":\"compressor_strength\",\"description\":\"\",\"name\":\"压缩机强度\",\"typeSpec\":{\"max\":150,\"min\":0,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":0,\"unit\":\"%\"}},
{\"abilityId\":110,\"accessMode\":\"ro\",\"code\":\"temp_top\",\"description\":\"\",\"name\":\"温度上限\",\"typeSpec\":{\"max\":104,\"min\":-22,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-22,\"unit\":\"\"}},
{\"abilityId\":111,\"accessMode\":\"ro\",\"code\":\"temp_bottom\",\"description\":\"\",\"name\":\"温度下限\",\"typeSpec\":{\"max\":104,\"min\":-22,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-22,\"unit\":\"\"}},
{\"abilityId\":112,\"accessMode\":\"ro\",\"code\":\"temp_coiler\",\"description\":\"\",\"name\":\"外盘管温度\",\"typeSpec\":{\"max\":250,\"min\":-22,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-22,\"unit\":\"\"}},
{\"abilityId\":113,\"accessMode\":\"ro\",\"code\":\"temp_venting\",\"description\":\"\",\"name\":\"排气温度\",\"typeSpec\":{\"max\":250,\"min\":-22,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-22,\"unit\":\"\"}},
{\"abilityId\":114,\"accessMode\":\"ro\",\"code\":\"temp_effluent\",\"description\":\"\",\"name\":\"出水温度\",\"typeSpec\":{\"max\":250,\"min\":-22,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-22,\"unit\":\"\"}},
{\"abilityId\":115,\"accessMode\":\"ro\",\"code\":\"temp_around\",\"description\":\"\",\"name\":\"外环境温度\",\"typeSpec\":{\"max\":250,\"min\":-22,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-22,\"unit\":\"\"}},
{\"abilityId\":116,\"accessMode\":\"ro\",\"code\":\"fault2\",\"description\":\"\",\"extensions\":{\"scope\":\"fault\"},\"name\":\"故障代码\",\"typeSpec\":{\"label\":[\"F8\",\"F9\",\"Fb\",\"Fa\",\"OFF\"],\"maxlen\":5,\"type\":\"bitmap\",\"typeDefaultValue\":0}},
{\"abilityId\":117,\"accessMode\":\"ro\",\"code\":\"temp_inflow\",\"description\":\"\",\"name\":\"进水温度\",\"typeSpec\":{\"max\":250,\"min\":-22,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-22,\"unit\":\"\"}},
{\"abilityId\":118,\"accessMode\":\"ro\",\"code\":\"temp_return\",\"description\":\"\",\"name\":\"回气温度\",\"typeSpec\":{\"max\":250,\"min\":-22,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-22,\"unit\":\"\"}},
{\"abilityId\":119,\"accessMode\":\"ro\",\"code\":\"temp_coiler_inside\",\"description\":\"\",\"name\":\"内盘管温度\",\"typeSpec\":{\"max\":250,\"min\":-22,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-22,\"unit\":\"\"}},
{\"abilityId\":120,\"accessMode\":\"ro\",\"code\":\"temp_radiator\",\"description\":\"\",\"name\":\"散热器温度\",\"typeSpec\":{\"max\":250,\"min\":-22,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-22,\"unit\":\"\"}},
{\"abilityId\":121,\"accessMode\":\"ro\",\"code\":\"expansion_valve\",\"description\":\"\",\"name\":\"电子膨胀阀开度\",\"typeSpec\":{\"max\":560,\"min\":0,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":0,\"unit\":\"P\"}},
{\"abilityId\":122,\"accessMode\":\"ro\",\"code\":\"power_w\",\"description\":\"0 :  不显示功率        1 :  显示功率\",\"name\":\"功率显示\",\"typeSpec\":{\"type\":\"bool\",\"typeDefaultValue\":false}},
{\"abilityId\":123,\"accessMode\":\"ro\",\"code\":\"cool_enable\",\"description\":\"0 : 单温模式          1 : 双温模式\",\"name\":\"制冷使能\",\"typeSpec\":{\"type\":\"bool\",\"typeDefaultValue\":false}},
{\"abilityId\":124,\"accessMode\":\"ro\",\"code\":\"oc_mode\",\"description\":\"oc_0 : 无超频模式       oc_1 : 超频模式1        oc_2 : 超频模式2\",\"name\":\"超频模式\",\"typeSpec\":{\"range\":[\"oc_0\",\"oc_1\",\"oc_2\"],\"type\":\"enum\",\"typeDefaultValue\":\"oc_0\"}},
{\"abilityId\":125,\"accessMode\":\"ro\",\"code\":\"power\",\"description\":\"功率\",\"name\":\"功率\",\"typeSpec\":{\"max\":5000,\"min\":0,\"scale\":3,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":0,\"unit\":\"KW\"}}]}]}"
  },
  "success": true,
  "t": 1703067086556,
  "tid": "22a52f9c9f2011ee987e1ab7f84032e6"
}

101 POWER - OFF / ON 102 103 104 TEMP SET - VALUE 105 MODE - BOOST / SILENT 106 temp_unit_convert - C / F 108 CURRENT TEMP - VALUE 109 COMPRESSOR - VALUE (percenTage)

{ "result": { "properties": [ { "code": "switch1", "custom_name": "", "dp_id": 101, "time": 1702700584501, "value": false }, { "code": "mode1", "custom_name": "", "dp_id": 102, "time": 1702775585543, "value": "heating" }, { "code": "child_lock1", "custom_name": "", "dp_id": 103, "time": 1700459959270, "value": false }, { "code": "temp_set1", "custom_name": "", "dp_id": 104, "time": 1702775585669, "value": 32 }, { "code": "work_mode", "custom_name": "", "dp_id": 105, "time": 1702692672803, "value": "boost" }, { "code": "temp_unit_convert1", "custom_name": "", "dp_id": 106, "time": 1700459964069, "value": "c" }, { "code": "fault1", "custom_name": "", "dp_id": 107, "time": 1700459965228, "value": 0 }, { "code": "temp_current1", "custom_name": "", "dp_id": 108, "time": 1702782555223, "value": 30 }, { "code": "compressor_strength", "custom_name": "", "dp_id": 109, "time": 1702700589822, "value": 0 }, { "code": "temp_top", "custom_name": "", "dp_id": 110, "time": 1700459964093, "value": 40 }, { "code": "temp_bottom", "custom_name": "", "dp_id": 111, "time": 1702775585545, "value": 18 }, { "code": "temp_coiler", "custom_name": "", "dp_id": 112, "time": 1702784292087, "value": 33 }, { "code": "temp_venting", "custom_name": "", "dp_id": 113, "time": 1702784605803, "value": 34 }, { "code": "temp_effluent", "custom_name": "", "dp_id": 114, "time": 1702782719346, "value": 34 }, { "code": "temp_around", "custom_name": "", "dp_id": 115, "time": 1702785095618, "value": 36 }, { "code": "fault2", "custom_name": "", "dp_id": 116, "time": 1700459965339, "value": 0 }, { "code": "temp_inflow", "custom_name": "", "dp_id": 117, "time": 1702782555194, "value": 30 }, { "code": "temp_return", "custom_name": "", "dp_id": 118, "time": 1702784562675, "value": 35 }, { "code": "temp_coiler_inside", "custom_name": "", "dp_id": 119, "time": 1702783017119, "value": 39 }, { "code": "temp_radiator", "custom_name": "", "dp_id": 120, "time": 1702781591107, "value": 41 }, { "code": "expansion_valve", "custom_name": "", "dp_id": 121, "time": 1702700623273, "value": 480 }, { "code": "power_w", "custom_name": "", "dp_id": 122, "time": 1700459964534, "value": false }, { "code": "cool_enable", "custom_name": "", "dp_id": 123, "time": 1700459964601, "value": false }, { "code": "oc_mode", "custom_name": "", "dp_id": 124, "time": 1700459964418, "value": "oc_0" }, { "code": "power", "custom_name": "", "dp_id": 125, "time": 1700459959270, "value": 0 } ] }, "success": true, "t": 1702785365557, "tid": "33e898fb9c9011ee8ae5e673203d0211" }

{ "result": { "active_time": 1700459959, "category": "qn", "create_time": 1700459959, "custom_name": "", "icon": "smart/icon/ay1551752806119kbikX/6df433de0c484354e080489cc4b458d7.png", "id": "", "ip": "159.196.13.143", "is_online": true, "lat": "-26.7400", "local_key": "", "lon": "153.0600", "model": "", "name": "Inverter pool Heat pump", "product_id": "kwrvh8zwvbbyp086", "product_name": "夸克热泵", "sub": false, "time_zone": "+10:00", "update_time": 1702528885, "uuid": "66c18d5bbbd93423" }, "success": true, "t": 1702772977168, "tid": "5bd2854c9c7311ee987e1ab7f84032e6"

Information about how the device functions

wholly1971 commented 10 months ago

Just redownloaded and tried to add the unit

this is the error message

This error originated from a custom integration.

Logger: custom_components.localtuya.climate Source: custom_components/localtuya/pytuya/init.py:255 Integration: LocalTuya (documentation, issues) First occurred: 2:54:17 PM (4 occurrences) Last logged: 2:54:17 PM

[bf8...esf] Entity None is requesting unknown DPS index 111 [bf8...esf] Entity None is requesting unknown DPS index 110 [bf8...esf] Entity climate.pool_control is requesting unknown DPS index 111 [bf8...esf] Entity climate.pool_control is requesting unknown DPS index 110

What would be the best way forward please?

wholly1971 commented 10 months ago

It seems as no values are available until you turn the unit on.

I have managed to get the unit to turn on as a switch (in another tuya software).