Device Support Request: Xiaomi Smart Air Fryer 4.5L (xiaomi.fryer.maf14)
Closed this issue · 5 comments
Device model
xiaomi.fryer.maf14
Device name
Xiaomi Smart Air Fryer 4.5L
Does the device require a MiCloud connection?
No (to the best of my knowledge). It seems to function locally without requiring MiCloud.
Anything special about the device?
• The plugin currently recognizes the device as an Unknown air fryer device.
• The device was successfully created, but no specific functionalities (e.g., start, stop, set temperature) are available yet.
• The temperature is displayed but is off and not correctly shown.
I would greatly appreciate it if support for this model could be added. Please let me know if I can provide additional details, logs, or other device-specific data to assist with development.
The device seems to be very similar to the careli.fryer.maf02
. Can you try to manually set the model to that device in the config and see if that fixes some of your issues?
Thank you for your swift response and for the suggestion to manually set the model to careli.fryer.maf02
.
After several attempts, the temperature display now seems to be working correctly. Interestingly, it doesn’t seem to matter whether I set the model to xiaomi.fryer.maf14
or careli.fryer.maf02
– both seem to behave identically in this regard.
However, I am currently unable to set the cooking time. Would it be possible to add this functionality for this model?
At the moment, the plugin displays the following features:
- On/Off Switch: functional
- Temperature: Now works correctly
- Light Switch: Visible, but non-functional
- Modes: Available for selection, though I’m not using them
Here is my current configuration:
{
"name": "Fritteuse",
"ip": "192.168.178.xxx",
"token": "xxx",
"deviceId": "xxx",
"model": "xiaomi.fryer.maf14",
"pollingInterval": 10,
"deepDebugLog": false,
"silentLog": false,
"deviceEnabled": true,
"buzzerControl": false,
"ledControl": false,
"childLockControl": false,
"modeControl": false
}
The target temperature should be also visible as alight bulb.
Thank you for clarification!
Now I understand that the light switch is used to control the time. Under these conditions, everything seems to be working as expected. I really appreciate your detailed response and all the effort you put into maintaining this plugin.
To improve the understanding for future users, it might be helpful to add a short explanation to the README about how the time control is mapped as a dimmable light switch?
Mapping Device Functions to HomeKit
The homebridge-miot
plugin uses various HomeKit elements to enable the control of MIoT devices. Since HomeKit does not natively support all device types, certain functionalities are mapped as follows:
- Time Control: For devices like air fryers, the cooking time is represented as a dimmable light switch. The "brightness" level corresponds to the duration in minutes. For example, setting the light to 50% brightness would represent 50 minutes of cooking time.
This mapping allows users to control specific features of their devices through the HomeKit interface, even if the device type is not natively supported.
Thanks again for your great work!
Good to hear that it works now! And thanks for the suggestion and text, i have added that to the README.