xiaomi_cooker
xiaomi_cooker copied to clipboard
Adding/finding recipes
Hi,
would really love to use the add-on, but don't know how I can add specific recipes I'm using currently (for instance basmati)?
Thank you!
Could you tell me the model of your cooker? The recipes are model specific.
It's a IHFB01CM Looking for recipes for jasmine and basmati
These are all recipes which are hardcoded into the android app (model normal1/normal2). Additional recipes can be retrieved from a remote server.
[
"010088010001000028000012000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280a003c00089178320600001e8278666e041000826e00690fff96666e0469100082826e0069100069005a00000000000000b267",
"01010908000c000600000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280a0f270300915573000000008278736e001000756e0028050075826e002810ff75276e0228100069005a00000000000000b9bf",
"010224001e001e001e010540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280a003c000f91416e080000008278736e001000756e00690f0c75506e0669100082826e08691000690250040000000000005fc3",
"010326001e0100000a010540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280a003c001e9155730e0000008278736e001000756e00690a0075826e006910ff756e6e0869100069005a000000000000000878",
"0003e2011e040000280080000190551c0601001e00000000000001b8551c0601002300000000000001e0561c0600002e000000000000ffff571c0600003000000000000000280a0082001e914e730e01001e82ff736e0610ff756e02690a1e75826e0269100f75826e0269100069005a0000000000000000cb",
"00040c180018000001000045000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280a0082001e914e730801001e82ff736e0610ff756e02690a0f75826e0169101e75826e0169100069005a000000000000001ba2",
"0001e101000000000000800200a000690301037300000c5a020000eb006b0401037400000d5a0400012d006e0501037400000e5a0401ffff00700601047600000e5a0401052d0a123c0a1e91ff820e01ff05ff78826eff10ff786e02690f0dff826eff691000ff826eff69100069ff5aff00000000000091cc",
"0001e101000000000000800200a00069030103730000085a020000eb006b040103740000095a0400012d006e0501037400000a5a0401ffff00700601047600000c5a0401052d0a0f3c0a1e91ff820e01ff05ff78826eff10ff786e02690f0dff826eff691000ff826eff69100069ff5aff00000000000081e9",
"0001e101000000000000800200a00069030103730000065a020000eb006b040103740000075a0400012d006e050103740000085a0401ffff00700601047600000a5a0401052d0a0c3c0a1e91ff820e01ff05ff78826eff10ff786e02690f0dff826eff691000ff826eff69100069ff5aff000000000000348f",
"0002e100280000000000800200d20069030103730000075a0200012d006b040103740000075a02000182006e050003740000095a0401ffff0070060004760000095a040100280a063c0d1e91ff820e01ff05ff78826eff10ff786e02690f0dff826eff69100082826eff69100069ff5aff0000000000009ede",
"0001e101000000000000800200a000690301037300000c5a020000eb006b0401037400000d5a0400012d006e0401047600000e5a0401ffff00700601047600000e5a0401052d0a123c0a1e91ff820e01ff05ff78826eff10ff786e02690f0dff826eff691000ff826eff69100069ff5aff0000000000008b71",
"0001e101000000000000800200a00069030103730000085a020000eb006b040103740000095a0400012d006e0401047600000a5a0401ffff00700601047600000c5a0401052d0a0f3c0a1e91ff820e01ff05ff78826eff10ff786e02690f0dff826eff691000ff826eff69100069ff5aff0000000000009b54",
"0001e101000000000000800200a00069030103730000065a020000eb006b040103740000075a0400012d006e040104760000085a0401ffff00700601047600000a5a0401052d0a0c3c0a1e91ff820e01ff05ff78826eff10ff786e02690f0dff826eff691000ff826eff69100069ff5aff0000000000002e32",
"0002e100280000000000800200d20069030103730000075a0200012d006b040103740000075a02000182006e050003740000095a0401ffff0070060004760000095a040100280a063c0d1e91ff820e01ff05ff78826eff10ff786e02690f0dff826eff69100082826eff69100069ff5aff0000000000009ede",
"0104E1010A0000000000800200A00069030102780000085A020000EB006B040102780000085A0400012D006E0501027D0000065A0400FFFF00700601027D0000065A0400052D0A0F3C0A1E91FF820E01FF05FF78826EFF10FF786E02690F1EFF826EFF691400FF826EFF69100069FF5AFF00000000000042A7"
]
Recipe number 7, 8, 9, 10, 5 and 6 are assigned to buttons (riceId: 1). In case of riceId 2 the recipes 11, 12, 13, 14, 5 and 6 are applied. Does this help already? It's a bit hard to identify the name of each recipe.
I have found my records from the past again: https://github.com/rytilahti/python-miio/blob/master/miio/data/cooker_profiles.json
Please use the recipes from the MODEL_NORMAL1
section.
Thank you, that kind of helps. Any information on how the other recipes can be retrieved from the remote server?
You could try to use mitmproxy to capture some traffic. What do you think?
Unfortunately, that's beyond my skillset. ;-) Thank you for the plugin, though!
It looks like the custom recipes feature was removed from the MiHome app (if the german Xiaomi Cloud is used).Do you see more feature if you use the chinese server?
Yes -
Server: China / Language: English: There are a couple more recipes (also for "Thai rice") Server: China / Language: Chinese: Huge variety of recipes, camera function (for scanning bar codes) is also available.
The device has to be re-registered if the country is switched.