tuya-local icon indicating copy to clipboard operation
tuya-local copied to clipboard

Request support for [Modena Water Heater ES-15-SKY]

Open tazkirap opened this issue 1 year ago • 2 comments

Log Message

{"updated_at": 1718202951.595257, "1": false, "10": 31, "101": 2, "103": 50, "104": 50, "105": 75, "106": 75, "107": 0, "108": 49, "109": 0, "110": 30, "111": 6, "112": 18, "113": 30, "114": false, "118": false, "119": false}

Information about DPS mappings

{
  "result": {
    "model": "{\"modelId\":\"000002fmb9\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":1,\"accessMode\":\"rw\",\"code\":\"switch\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power2\"},\"name\":\"开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":10,\"accessMode\":\"ro\",\"code\":\"add_electricity\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_battery\",\"trigger\":\"direct\"},\"name\":\"耗电量\",\"typeSpec\":{\"type\":\"value\",\"max\":10000,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"度\"}},
{\"abilityId\":101,\"accessMode\":\"rw\",\"code\":\"FUNCTION_MODE\",\"description\":\"\",\"name\":\"模式\",\"typeSpec\":{\"type\":\"value\",\"max\":10,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":102,\"accessMode\":\"rw\",\"code\":\"SetTemp3kw\",\"description\":\"\",\"name\":\"3KW设置温度\",\"typeSpec\":{\"type\":\"value\",\"max\":75,\"min\":30,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":103,\"accessMode\":\"rw\",\"code\":\"SetTemp2kw\",\"description\":\"\",\"name\":\"2KW模式设置温度\",\"typeSpec\":{\"type\":\"value\",\"max\":75,\"min\":30,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":104,\"accessMode\":\"rw\",\"code\":\"SetTemp1kw\",\"description\":\"\",\"name\":\"1KW模式设置温度\",\"typeSpec\":{\"type\":\"value\",\"max\":75,\"min\":30,\"scale\":0,\"step\":1,\"unit\":\"C\"}},
{\"abilityId\":105,\"accessMode\":\"rw\",\"code\":\"SetTempOrderI\",\"description\":\"\",\"name\":\"预约I设置温度\",\"typeSpec\":{\"type\":\"value\",\"max\":75,\"min\":30,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":106,\"accessMode\":\"rw\",\"code\":\"SetTempOrderII\",\"description\":\"\",\"name\":\"预约II设置温度\",\"typeSpec\":{\"type\":\"value\",\"max\":75,\"min\":30,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":107,\"accessMode\":\"ro\",\"code\":\"default\",\"description\":\"1:E1 2:E3  3:FR \",\"name\":\"故障\",\"typeSpec\":{\"type\":\"value\",\"max\":10,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":108,\"accessMode\":\"ro\",\"code\":\"CuntTemp\",\"description\":\"当前NTC温度\",\"name\":\"当前设备NTC实时水温度\",\"typeSpec\":{\"type\":\"value\",\"max\":100,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":109,\"accessMode\":\"rw\",\"code\":\"Cubage\",\"description\":\"1:15L  2;25L\",\"name\":\"容量设置\",\"typeSpec\":{\"type\":\"value\",\"max\":10,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":110,\"accessMode\":\"rw\",\"code\":\"TimerMinOrderI\",\"description\":\"预约I分钟设置\",\"name\":\"预约I分钟设置\",\"typeSpec\":{\"type\":\"value\",\"max\":255,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":111,\"accessMode\":\"rw\",\"code\":\"TimerHourOrderI\",\"description\":\"预约I小时设置\",\"name\":\"预约I小时设置\",\"typeSpec\":{\"type\":\"value\",\"max\":255,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":112,\"accessMode\":\"rw\",\"code\":\"TimerHourOrderII\",\"description\":\"预约ii小时设置\",\"name\":\"预约II小时设置\",\"typeSpec\":{\"type\":\"value\",\"max\":255,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":113,\"accessMode\":\"rw\",\"code\":\"TimerMinOrderII\",\"description\":\"预约II小时设置\",\"name\":\"预约II分钟设置\",\"typeSpec\":{\"type\":\"value\",\"max\":255,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":114,\"accessMode\":\"ro\",\"code\":\"HeatFlag\",\"description\":\"加热标志  0;不加热  1:加热\",\"name\":\"加热标志\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":115,\"accessMode\":\"rw\",\"code\":\"reserve1\",\"description\":\"\",\"name\":\"预留字节1\",\"typeSpec\": {\"type\":\"value\",\"max\":255,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":116,\"accessMode\":\"rw\",\"code\":\"reserve2\",\"description\":\"\",\"name\":\"预留字节2\",\"typeSpec\":{\"type\":\"value\",\"max\":255,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":117,\"accessMode\":\"rw\",\"code\":\"reserve3\",\"description\":\"\",\"name\":\"预留字节3\",\"typeSpec\":{\"type\":\"value\",\"max\":255,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":118,\"accessMode\":\"rw\",\"code\":\"morning\",\"description\":\"\",\"name\":\"晨约\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":119,\"accessMode\":\"rw\",\"code\":\"afternoon\",\"description\":\"\",\"name\":\"午后\",\"typeSpec\":{\"type\":\"bool\"}}]}]}"
  },
  "success": true,
  "t": 1718201641907,
  "tid": "049bac0628c611efb9130e1a774ae1f3"
}

Product ID

sbno8dlqbq1kjlku

Information about how the device functions

https://www.modena.com/id_en/manual-book-download/26722

tazkirap avatar Jun 12 '24 14:06 tazkirap

Sorry, I can't make enough sense of the dps info to make a useful config. The way it uses integers for everything and is lacking documentation on the meanings makes this difficult to meaningfully support.

make-all avatar Aug 09 '24 11:08 make-all

IMG_0401 IMG_0402 IMG_0404

I just explore that dpid 108 is relate with current temperature ( I try in localtuya plugins ) I hope it will help you.

tazkirap avatar Aug 20 '24 08:08 tazkirap

Had a go at implementing a config for this. It will not be perfect, as there was too much to guess, and it obviously does not match up with the brief details in the manual.

make-all avatar Oct 28 '24 14:10 make-all

Really appreciate with your effort, and I'm also agree that was too much to guess. Hopefully, it will runnning the basic setting.

Thank you so much for your effort :)

tazkirap avatar Oct 29 '24 12:10 tazkirap

Dear @make-all ,

I just notice that you add many dps in tthis modena yaml, but I only found 1 entities that relate with this device like in this screenshot below. also, its not detect as "modena" or "water heater"

Image

Any suggest for that?

tazkirap avatar Jan 19 '25 05:01 tazkirap

I would need another log message like the one at the top of the request to see why it is not matching. The device might need to be on, and in the same mode as when the request was originally made to match. Or if you try again with the latest version of tuya-local and using the cloud assisted config flow, it should match by the product id regardless of whether the device is reporting all the same data points.

make-all avatar Jan 23 '25 10:01 make-all