Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Xiaomi Mi Smart Electric Rice Cooker #282

Closed
syssi opened this issue Mar 28, 2018 · 0 comments
Closed

Support for Xiaomi Mi Smart Electric Rice Cooker #282

syssi opened this issue Mar 28, 2018 · 0 comments

Comments

@syssi
Copy link
Collaborator

syssi commented Mar 28, 2018

get_prop '["func", "menu", "stage", "temp", "t_func", "t_precook", "t_cook", "setting", "delay", "version", 
get_prop '[{"all"}]'
"favorite"]'
get_temp_history '[]'
miIO.info '[]'
set_func '["nowarn"]'
set_func '["ack"]'
# stopCook
set_func '["end02"]' # if (model == COOKER_MODEL_PRESS1 && firmwareVersion >= 39) OR (model == COOKER_MODEL_NORMAL2 && firmwareVersion >= 22) OR (model == COOKER_MODEL_NORMAL3 && firmwareVersion >= 9) OR (model == COOKER_MODEL_PRESS2) OR (model == COOKER_MODEL_NORMAL1) OR (model == COOKER_MODEL_NORMAL4) OR (model == COOKER_MODEL_NORMAL5)
set_func '["end"]' # else

set_start '["cookingProfileHexdata"]'
set_interaction '["new String[]{setting + "," + shutLedDelay + "," + lidOpenTimeout + "," + lidOpenTimeoutAlarmTime"]'
set_menu '["hexdata"]' -> CookingActivity.this.recipe.getProfile().toHexData()
$ mirobo info
chunmi.cooker.normal2 v1.2.8 ([MAC]) @ [IP] - token: [TOKEN]

$ mirobo raw_command get_prop '[“func”, “menu”, “stage”, “temp”, “t_func”, “t_precook”, “t_cook”, “setting”, “delay”, “version” ]'
Sending cmd get_prop with params [‘func’, ‘menu’, ‘stage’, ‘temp’, ‘t_func’, ‘t_precook’, ‘t_cook’, ‘setting’, ‘delay’, ‘version’]
[‘waiting’, ‘0001’, ‘null’, ‘22’, ‘60’, ‘-1’, ‘60’, ‘1407’, ‘05060f’, ‘00030017’, ‘0100’, ‘13281323ffff011effff010000001617’]

$ mirobo raw_command get_prop '[“all” ]'
Sending cmd get_prop with params [‘all’]
[‘waiting’, ‘0001’, ‘null’, ‘22’, ‘60’, ‘-1’, ‘60’, ‘1407’, ‘05060f’, ‘00030017’, ‘0100’, ‘13281323ffff011effff010000001617’]

https://community.home-assistant.io/t/xioami-cooker-integration/34273/31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant