georgezhao2010 / midea_ac_lan

Auto-configure and then control your Midea M-Smart devices (Air conditioner, Fan, Water heater, Washer, etc) via local area network.
MIT License
1.37k stars 231 forks source link

Unknown error when installing #467

Open frfsst opened 6 months ago

frfsst commented 6 months ago

HA core version

Last

Intergration version

Last

Device type and model

No device

Used App

No app

The description of problem

Installing the app trough HACS results in unknow error, install manually results in the same kind of errore

The logs

Unknown error

drewstopherlee commented 6 months ago

It's a typo in the download URL. The release it tries to download is ...download/v0.3.22/mieda_ac_lan.zip instead of ...download/v0.3.22/midea_ac_lan.zip.

frfsst commented 6 months ago

Ok, I download the midea_ac_lan folder and put it under custom component but when I try to install the component I get another error, and I can’t install the component, do you think you can came out with a fix? Any solution please?

willoxxxx commented 6 months ago

I have the same issue

drewstopherlee commented 6 months ago

So, since there's 6 duplicate PRs that, if merged, would fix the issue LOL, here's what I did to get it working (note: I am running Home Assistant OS and executed these commands using the Advanced SSH & Web Terminal add-on):

  1. Navigate to the /homeassistant/custom_components directory cd /homeassistant/custom_components
  2. Download the midea_ac_lan.zip from the Releases page. wget https://github.com/georgezhao2010/midea_ac_lan/releases/download/v0.3.22/midea_ac_lan.zip -O midea_ac_lan.zip
  3. Extract the zip folder unzip -d ./midea_ac_lan/ midea_ac_lan.zip
  4. Clean up the downloaded .zip file rm midea_ac_lan.zip
  5. Restart Home Assistant!