Xiaomi / Careli air fryers widget [miio]

A Main UI widget for the Xiaomi / Careli air fryers in the miio binding. It shows the Mi Home cloud recipes of your fryer as tiles and starts the selected recipe with one button. You can switch preheat on and set a delayed start before you press Start cooking.

Supported models:

Model Name
careli.fryer.maf02 Mi Smart Air Fryer (3.5L)
careli.fryer.maf05a Xiaomi Smart Air Fryer Pro 4L

Features

  • Header with the fryer status and the minutes left (optional)
  • Search box to filter the recipes
  • Recipe tiles with time, temperature and a matching food emoji
  • Detail panel with preheat and a “start in … min” delay
  • Sends the same start command as the Mi Home app, so nothing starts by accident when you tap a tile

Requirements

  • The miio binding with the Cloud Connector Thing logged in. The recipes channel reads the recipe list from the Mi Home cloud.
  • Items linked to the fryer’s recipes and start_cook channels. Optionally, items linked to the status and left_time channels.

Configuration

Parameter Description
Title Card title (default “Air Fryer Cookbook”)
Recipes item Item linked to the recipes channel
Start cooking item Item linked to the start_cook channel
Model careli.fryer.maf02 or careli.fryer.maf05a
Status item Optional, item linked to the status channel
Left time item Optional, item linked to the left_time channel

The recipe list is read once. Send a REFRESH command to the recipes item to read it again.

How it works

The widget builds the start_cook JSON in the same format as the Mi Home app:

  • maf02: ["A7795",11,180,0,0,1] (recipe, time, temperature, delay, food quantity, preheat)
  • maf05a: ["C7795","u0064u0065u006du006f",11,180,0,0,1] (the app always sends the encoded name demo)

Preheat is 1 (off) or 2 (on). Food quantity is 0, which is what the app sends for cloud recipes.

Tested with the maf02. The maf05a format follows the Mi Home app; please report back if it works on your fryer.

Simple variant: if you prefer a plain list where a tap starts the recipe right away, use miio-fryer-recipes-widget-simple.yaml.

Screenshots

Changelog

Version 0.1

  • initial release

Resources

https://verpaalen.com/openhab/miio-fryer-cookbook-widget.yaml