Mi Air Fryer

Ok. I'll check that. What about Alexa commands ?
Does the home assistant integration allow Alexa commands ?

You'd be better off using the Home Assistant Device Bridge (once fully setup) to bring the device capabilities into Hubitat, then use Hubitat's Alexa integration. Home Assistant requires an extra service to get Alexa working and it's paid if I'm not mistaken. It's free on Hubitat.

2 Likes

ok that I understood.
But I am not sure how to control the fryer through Hubitat's alexa skill.
What commands could be used ?

I've installed HA and configured the device. Now I can see it on Hubitat. but what about Alexa commands ?

Install the Amazon Echo Skill app on your Hubitat hub, configure it, and then add the device shared from Home Assistant to the Amazon Echo Skill app.

This should make it available to Alexa. However, if you have any trouble, you might want to add something simple to the Amazon Echo Skill app, like a virtual switch for testing. See if you can turn the virtual switch on and off with your voice.

Felt I should say thank you, just did some research after seeing this thread as I bought a Proscenic T21 air fryer recently. Just found an extremely interesting article about replacing the built in WiFi board with an ESP32 and using tasmota to bring it into home assistant with all features enabled.

As an aside, integrated or not I've been seriously impressed - this thing has been an absolute game changer in the kitchen.

1 Like

I already have Echo Skill activated and I use it with several devices.
And now this device from HA is also available in Alexa.
But I still don'T know how to control it using voice commands.
Because HA bridge does not bring 1 device to Hubitat.
It brought several devices, one is named "careli.fryer.maf02" and another one named "Target Temperature" , "Target Time" ....
so which should be imported to Alexa and how to use voice commands ?

You are trying to help me with a solution and I really don't want to disturb you with my dummy questions. But I didn't understand the concept here..

OK, I just have to chime in here. As a volunteer firefighter in a rural community, I cannot fathom any good reason to remotely (i.e., via an app or automation device) control an air fryer (or any other cooking device outside of perhaps a crock pot, and I'm admittedly not thrilled with those). Automating an air fryer is just a bad idea.

Air fryers make flammable things, sometimes with lots of grease in them, very hot. And while the fact that those things are contained in a vessel probably lowers that risk, I'd bet that it doesn't reduce it to anywhere near zero. And if we stop and think about it, is remote control / automation of an air fryer really necessary, or even all that helpful? Doesn't an air fryer already make the cooking process a lot faster? At the very least, this sounds like an invitation for lots of smoke events setting off alarms, even if there is no active fire (but people like me still need to go investigate).

I'm all for automation. And we have an air fryer that we use almost every day. But there's no way on earth I think those two things should be combined. At the very least, it's going to cause unnecessary smoke events. At worst, it's going to cause loss of property or even life. So, please: Just. Say. No.

7 Likes

I must say; I really disagree with you. First of all, you are just writing with a very few understanding on the subject. And you don't even know under which conditions I use the air fryer.

First of all, nowadays there are many other connected devices at home which may cause a fire. My internet router gets near 100C degrees and it continuously runs. I have a server running 7/24 at home. It can explode.
Combined with a water leak, every electronic device at home is a danger. And a water leak can occur anytime.
I have a 3D printer which sometimes works over a full day (24 hours) to complete a project. It reaches 200-250C degrees when running.

For all of these, I have a controlled house. I have water leak detectors at all bathrooms and kitchen. I have 2 smoke detectors on the same floor and a gas detector in the kitchen.

Xiaomi Air Fryer does not make smoke just so you know (you say it would make smoke even if there is no active fire)

And lastly, I do not plan to start/run Air fryer when I am not at home.
I am just looking for a way to start a program on the air fryer without walking to the kitchen.
Say watching a movie with the family and want to start it when we get hungry.

So please: just say "Yes to automation"

1 Like

I want to go back to the subject/problem:

I already have Echo Skill activated and I use it with several devices.
And now this device from HA is also available in Alexa.
But I still don'T know how to control it using voice commands.
Because HA bridge does not bring 1 device to Hubitat.
It brought several devices, one is named "careli.fryer.maf02" and another one named "Target Temperature" , "Target Time" ....
so which should be imported to Alexa and how to use voice commands ?

You are trying to help me with a solution and I really don't want to disturb you with my dummy questions. But I didn't understand the concept here..

What does the “ careli.fryer.maf02” entity in HA do? Can you switch it ON and OFF in Home Assistant from that entity?

My apologies but I’m not at all familiar with your air fryer, and I’m getting ready to move across the country. My HA computer and my HE hubs were taken offline two days ago in preparation for our move.

careli.fryer.maf02 is the main switch and it can start/stop cooking with on/off commands.
So if I import this to Alexa and change its name, I will be able to turn on/off using it.
However, I am already able to do that with Mi Home skill.
I am looking for a way to control other functions of the device.

moving to another place is a difficult process. I wish you gıo through it easily.
And I am sorry to take your time with my questions. Please feel free to ignore me. Maybe you can answer after you complete the move process...

Thanks and no worries. I’m answering because I want to, not because I feel obligated. All good.

You’ll only ever be able to do more than what the HA integration allows, and only if it creates an entity that is compatible with one of the existing Generic Component devices available on HE.

One thing that comes to mind would be to setup an automation on HE so when you leave, the air fryer would automatically shut off in case you forget and leave it on. But honestly, none of these things are all that useful for an Air Fryer anyway, in my personal opinion. It is one of those appliances that typically is going to cook so fast, that there’s little to no chance you’re not going to be there for the whole process anyway. Seems like a feature just for the sake of a feature. Just my personal opinion though. Maybe something I’m not considering that would be very helpful.

1 Like

My main uses are preheating from another room, changing temperature to crisp things towards the end and notifying me to shake during cooking. Also keeping track of timing (eg notifying me when the cycle finishes).

A mixture of pain medication and mobility issues make an integrated cooking facility very useful. A measure of caution is always helpful but the benefits certainly outweigh the relatively minor risk in my case.

1 Like

Good points. Are you using the same air fryer? The op’s doesn’t seem to have those capabilities. At least not with the HA integration.

I'm using a Proscenic T21, it's currently managed using a branded app via their servers but having done some research after seeing this thread I'll be converting it to Tasmota (hardware swap, replace the WiFi board with an ESP32) which will enable full local control via home assistant.

1 Like

thanks for your response.

Actually, what I need is an Alexa command to do these (with priority order):

  1. ask for remaining cooking time
  2. ask to pause cooking (with original Mi home integration, I am able to start/stop but I need a pause)
  3. ask to change target cooking temperature
  4. ask to change target cooking time

These can be adjusted through HA. But up to now "target cooking time" and "remaining cooking time" was not created on Hubitat. I need to figure out a way to force it updated maybe.

Also, at first when you told me to install HA and do the integration through it, I had thought that it would create a "Air Fryer" device on Hubitat (and Alexa) that I would be able to control all features through it.
Now I understand that I will receive several entities from HA and will only be able to control them individually as separate devices. That's interesting.

Please tell me if I understood correct or not...

Btw, happy new year to all the Hubitat community :smiley:

Happy New Year!

You understand correctly now. The way this integration works is it creates a device on your Hubitat hub for a matching Home Assistant equivalent to one of the Hubitat Generic Component drivers, in other words, for this to work, the device you want to import has to creat an “entity” on Home Assistant, and there has to be a Generic Component driver of that entity type on HE.

“Air Fryer” would be too generic of an entity, since it would only describe what the device is, not the individual capabilities of the device.

I've played a little bit with the HA
I even integrated it directly with Alexa using AWS Lambda service and a custom Alexa skill.
But finally I decided to remove HomeAssistant.
It's entity based structure is not good for me.
Even if I directly integrate it with Alexa (removing Hubitat from the flow) I have to use separate virtual devices to control each feature (target temp, target duration, remaining duration, status of device, recipe ID)
A normal kitchen appliance integration shouldn't be like this. There are robust and good Alexa integrations where Alexa identifies the device as a kitchen appliance and controls all features through a single device name.
(eg. set target temperature 200 on air fryer)

1 Like

Well that’s good you found a solution that works for you.

If you want HE to control one of the features, you could do it via the Alexa integration and a small bit of code on HE that makes a switch act like a contact or motion sensor. This can trigger an Alexa routine when your virtual “contact” closes.

Alexa routines now allow you to create custom actions. In other words, anything you would say to trigger a device can be initiated from a routine instead.