xiaomi_cooker icon indicating copy to clipboard operation
xiaomi_cooker copied to clipboard

Add support for chunmi.cooker.normalcd1

Open nhnam100 opened this issue 3 years ago • 16 comments

Unsupported device found! Please create an issue at https://github.com/syssi/xiaomi_cooker/issues and provide the following data: chunmi.cooker.normalcd1

nhnam100 avatar Nov 12 '20 15:11 nhnam100

The status from xaiomi_miio_raw model: chunmi.cooker.normalcd1 firmware_version: 2.0.7_0007 hardware_version: esp32 properties:

  • all
  • unnamed6 all: 1 unnamed6: '0000000001'

nhnam100 avatar Nov 28 '20 04:11 nhnam100

Model chunmi.cooker.normalcd1 Firmware version 2.0.7_0007 Hardware version esp32 Properties all Sensor property unnamed6 Unnamed0 1 Unnamed1 0000000001 Unnamed2 0 Unnamed3 60 Unnamed4 00000e106073dfa9 Unnamed5 000000006073dfa9 Unnamed6 0b1e Unnamed7 1 Unnamed8 1 Unnamed9 32 Unnamed10 1 Unnamed11 2 Unnamed12 1 Unnamed13 0 Unnamed14 0 Unnamed15 1 Unnamed16 7 Unnamed17 0 Unnamed18 0 Unnamed19 0 Unnamed20 0 Unnamed21 0007570a Unnamed22 00000007 Unnamed23 0

nhnam100 avatar Apr 12 '21 05:04 nhnam100

This properties are used at the Mi Home App plugin of your device:

get_prop ['status', 'menu', 'phase', 'temp', 't_left', 't_pre', 't_cook', 'c_led', 'taste', 'version', 'mylove', 'e_code']

Supported methods:

set_cancel []
set_menu [menuData]
set_start [menuData]
set_taste [tasteValue1, tasteValue2]
get_temp_history []
set_factory_reset []
set_setting [en_push]
get_prop ['all']
get_prop [props]

syssi avatar Apr 12 '21 06:04 syssi

This properties are used at the Mi Home App plugin of your device:

get_prop ['status', 'menu', 'phase', 'temp', 't_left', 't_pre', 't_cook', 'c_led', 'taste', 'version', 'mylove', 'e_code']

Supported methods:

set_cancel []
set_menu [menuData]
set_start [menuData]
set_taste [tasteValue1, tasteValue2]
get_temp_history []
set_factory_reset []
set_setting [en_push]
get_prop ['all']
get_prop [props]

So, when will this cooker get supported? Thanks for your time.

djinnmoto191283 avatar Jun 07 '21 01:06 djinnmoto191283

Could you retrieve the properties from your device and provide a value per property?

syssi avatar Jun 07 '21 04:06 syssi

Could you retrieve the properties from your device and provide a value per property?

please tell me how to do that as I am very new to this!

djinnmoto191283 avatar Jun 07 '21 05:06 djinnmoto191283

Do you have a linux host around? Please install python-miio by pip3 install python-miio. This library provides a CLI tool called miiocli. Please ping me a soon you are able to execute miiocli.

syssi avatar Jun 07 '21 05:06 syssi

Do you have a linux host around? Please install python-miio by pip3 install python-miio. This library provides a CLI tool called miiocli. Please ping me a soon you are able to execute miiocli.

I think I successfully installed the miio python. What am I gonna do next?

djinnmoto191283 avatar Jun 07 '21 16:06 djinnmoto191283

Please provide the output of:

miiocli device --ip IPADDR --token TOKEN raw_command get_prop "['all']"

It should look like this:

$ miiocli device --ip 192.168.1.15 --token c5b52562c4109fc06490a2d392e175e7 raw_command get_prop "['all']"
Running command raw_command
['waiting', '0001', 'null', '23', '60', '-1', '60', '0204', '050415', '0003001a', '0a8f', 'ffffffffffff011effff0c0000001719']
$

syssi avatar Jun 07 '21 18:06 syssi

here you are:

[1, '0000000001', 11, 60, '00000de060bec0f1', '0000000060bec0f1', '1100', 1, 1, 31, 1, 2, 1, 0, 1, 1, 7, 1623039285, 1, 1623042485, 0, '0007570a', '00000009', 0] --> when I set the language of the cooker to English.

[1, '0000000001', 11, 60, '00000de060bec20f', '0000000060bec20f', '1100', 1, 1, 30, 1, 2, 1, 0, 1, 1, 7, 1623039285, 1, 1623042485, 0, '0007570a', '00000009', 0] --> when I set the language of the cooker to Chinese.

As in Chinese, you get more kinds of Rice to choose apart from 4 kinds in English. I hope this help. Let me know if you need anything else! Slightly different, right?

[2, '0000000001', 7, 60, '000005ce60becbce', '0000000060becbce', '1100', 1, 1, 102, 1, 2, 1, 0, 1, 1, 7, 1623114633, 0, 1623042485, 0, '0007570a', '00000009', 0] -->when it's cooking rice in English language. I'm not sure it makes any differences to you but just posting here for the sake of running command 👯

djinnmoto191283 avatar Jun 08 '21 01:06 djinnmoto191283

from my cooker - chinese version [1, '0000000001', 0, 60, '00000e1060bee2f2', '0000000060bee2f2', '0b1e', 1, 1, 30, 1, 2, 1, 0, 0, 1, 7, 0, 0, 0, 0, '0007570a', '00000007', 0]

nhnam100 avatar Jun 08 '21 03:06 nhnam100

from my cooker - chinese version [1, '0000000001', 0, 60, '00000e1060bee2f2', '0000000060bee2f2', '0b1e', 1, 1, 30, 1, 2, 1, 0, 0, 1, 7, 0, 0, 0, 0, '0007570a', '00000007', 0]

khác nhau chút đỉnh hè? nồi bạn nồi lớn hay nồi nhỏ? Xài app Mi Home hiện tiếng Anh hay tiếng Trung?

djinnmoto191283 avatar Jun 08 '21 04:06 djinnmoto191283

from my cooker - chinese version [1, '0000000001', 0, 60, '00000e1060bee2f2', '0000000060bee2f2', '0b1e', 1, 1, 30, 1, 2, 1, 0, 0, 1, 7, 0, 0, 0, 0, '0007570a', '00000007', 0]

khác nhau chút đỉnh hè? nồi bạn nồi lớn hay nồi nhỏ? Xài app Mi Home hiện tiếng Anh hay tiếng Trung?

Nổi nhỏ, dùng app tiếng Anh nhưng server ở CN; (small cooker with Eng ver App with Chinese server).

nhnam100 avatar Jun 08 '21 06:06 nhnam100

from my cooker - chinese version [1, '0000000001', 0, 60, '00000e1060bee2f2', '0000000060bee2f2', '0b1e', 1, 1, 30, 1, 2, 1, 0, 0, 1, 7, 0, 0, 0, 0, '0007570a', '00000007', 0]

khác nhau chút đỉnh hè? nồi bạn nồi lớn hay nồi nhỏ? Xài app Mi Home hiện tiếng Anh hay tiếng Trung?

Nổi nhỏ, dùng app tiếng Anh nhưng server ở CN; (small cooker with Eng ver App with Chinese server).

thử đổi app sang tiếng Trung (server vẫn CN) thử xem, sẽ thấy có nhiều gạo để chọn đó! Hoặc xài Mi Home Mod để xài server SG cho nhanh, server CN chậm khủng khiếp!

djinnmoto191283 avatar Jun 08 '21 07:06 djinnmoto191283

from my cooker - chinese version [1, '0000000001', 0, 60, '00000e1060bee2f2', '0000000060bee2f2', '0b1e', 1, 1, 30, 1, 2, 1, 0, 0, 1, 7, 0, 0, 0, 0, '0007570a', '00000007', 0]

khác nhau chút đỉnh hè? nồi bạn nồi lớn hay nồi nhỏ? Xài app Mi Home hiện tiếng Anh hay tiếng Trung?

Nổi nhỏ, dùng app tiếng Anh nhưng server ở CN; (small cooker with Eng ver App with Chinese server).

thử đổi app sang tiếng Trung (server vẫn CN) thử xem, sẽ thấy có nhiều gạo để chọn đó! Hoặc xài Mi Home Mod để xài server SG cho nhanh, server CN chậm khủng khiếp! tôi biết sẽ có nhiều loại gạo hơn nhưng tôi quan tâm đến tích hợp vào HA nhiều hơn là chạy rời.

nhnam100 avatar Jun 08 '21 07:06 nhnam100

hi. any progress on this?

biGdada avatar Jul 22 '21 10:07 biGdada