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

Don't understand how to customize my chunmi.pre_cooker.mini1 #2373

Open
LeVraiRoiDHyrule opened this issue Feb 18, 2025 · 5 comments
Open

Don't understand how to customize my chunmi.pre_cooker.mini1 #2373

LeVraiRoiDHyrule opened this issue Feb 18, 2025 · 5 comments

Comments

@LeVraiRoiDHyrule
Copy link

LeVraiRoiDHyrule commented Feb 18, 2025

Hi,

I have just set up my chunmi.pre_cooker.mini1 with Miiot.
I only have the following controls:

Image

I have found this : https://home.miot-spec.com/spec/chunmi.pre_cooker.mini1
There is apparently a lot more controls available. But I don't understand how to add them.
I have read #100 (comment), but I still don't understand how options from the specs should be set up in the customization fields. I tried to find examples, with no luck.

Could someone help me to add all the available controls to the device ?
Thanks in advance for your help

@al-one
Copy link
Owner

al-one commented Feb 19, 2025

'chunmi.pre_cooker.mini1': {
'button_actions': 'cancel_cooking',
'select_actions': 'start_cook',
'binary_sensor_properties': 'cover_state,cook_finish_flag',
'sensor_properties': 'status,left_time,temperature,cook_time,taste,cook_status,press_status,error_code',
'switch_properties': 'finish_push',
},

@LeVraiRoiDHyrule
Copy link
Author

Thanks for your answer.

I have configured it as you said, and there is now more options. But it looks like there is still options from https://home.miot-spec.com/spec/chunmi.pre_cooker.mini1 that are not in the customization template. For example, set-menu, cooking-start and others. For example, I can't find what is the setting to configure pressure time, that I can configure from the Mi Home app. I don't know how to make that setting available to home assistant.

@al-one
Copy link
Owner

al-one commented Feb 19, 2025

The parameter structure of these actions is unknown.

@LeVraiRoiDHyrule
Copy link
Author

But taste is present in https://home.miot-spec.com/spec/chunmi.pre_cooker.mini1, doesn't it mean that we know how it works ?

Do I have a chance to find the missing settings by trial and error ?

@al-one
Copy link
Owner

al-one commented Feb 19, 2025

The taste property has a list of values.

{
    "iid": 2,
    "type": "urn:chunmi-spec:property:taste:00000002:chunmi-mini1:1",
    "description": "taste",
    "format": "uint8",
    "access": [
        "read",
        "notify"
    ],
    "unit": "none",
    "value-list": [
        {
            "value": 0,
            "description": "嚼劲"
        },
        {
            "value": 1,
            "description": "适中"
        },
        {
            "value": 2,
            "description": "软糯"
        },
        {
            "value": 255,
            "description": "无口感菜谱"
        }
    ]
}

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

2 participants