My Midea ACs become unavailable frequently

I have installed the Midea Smart AC integration following all the instructions required for this custom integration. The integration auto discovers my ACs and everything works hunky dory initially. However, after a few hours, all of them become “Unavailable” and everything stops.

I have tried reloading the configuration but then it fails. I have to remove the devices and re-add them via auto discovery. They get added again just fine but after a few hours again become unavailable. I have tried this a few time and have no success on making them work consistently.

I have written automations for all the devices and when they are discovered, the automations work just fine but once the devices become unavailable, eveyrthing stops.
Please help :frowning:
Not sure if it is the wifi or the EU-SK105 wifi dongle in the Midea ACs.

From the integration documentation:

Did you do this?
Wild guess: the IP address of the AC changes every x hours.

Thank you for your reply. I haven’t done this step. Is there any documentation on how can I set up a static IP address? I use a Deco mesh system from TP-link. I can see the devices on the TP-link app but do no see the option to set a static IP Address.

UPDATE: I set Static IP Addresses for my AC and they seemed to be working fine now.

Thank you for your tip @koying.