midea_ac_lan icon indicating copy to clipboard operation
midea_ac_lan copied to clipboard

[重要风险提示] 请立即备份文件、美的关闭设备Token接口导致本地控制失效的紧急通知

Open liuwang97 opened this issue 8 months ago • 35 comments

紧急提示

‼️ 所有使用midea_ac_lan的用户请立即执行以下操作:

  1. 立即备份 /config/.storage/midea_ac_lan 目录下的所有文件
  2. 严禁在HA执行以下操作:
    • ❌ 删除设备
    • ❌ 解绑设备
    • ❌ 重新安装HA
  3. 当前已存在设备Token的用户暂时不受影响

说明

美的近期已关闭获取设备Token的V1接口(midea_ac_lan插件依赖的核心接口),该变动将导致:

  • 新设备无法获取设备Token
  • 已解绑/删除的设备永久失去控制权
  • 现有设备Token成为唯一控制凭证

备份命令

# 通过SSH或者网页端进入HomeAssistant容器
docker exec -it homeassistant bash

# 备份关键文件(建议同时保存到云端)
cp -r /config/.storage/midea_ac_lan  

liuwang97 avatar Mar 21 '25 13:03 liuwang97

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [Important Risk Warning] Please back up the file immediately, and the emergency notification that Midea shuts down the device's Token interface will cause local control to fail

Emergency Tips

‼ ️ **All users who use midea_ac_lan should do the following immediately: **

  1. Back up all files in the /config/.storage/midea_ac_lan directory immediately
  2. **It is strictly forbidden to perform the following operations in HA:
    • ❌ Delete the device
    • ❌ Unbinding the device
    • ❌ Reinstall HA
  3. Users who currently have device tokens** are not affected for the time being**

illustrate

Midea has recently closed the V1 interface of the acquisition device Token (the core interface that the midea_ac_lan plug-in depends on), and this change will cause:

  • New device cannot obtain device token
  • Unbound/deleted devicesPermanently lose control
  • Existing device Token becomes Only Control Credentials

Backup command

# Enter the HomeAssistant container through SSH or web page
docker exec -it homeassistant bash

# Backup key files (it is recommended to save them to the cloud at the same time)
cp -r /config/.storage/midea_ac_lan  
      

Issues-translate-bot avatar Mar 21 '25 13:03 Issues-translate-bot

卧槽,刚重装ha,老ha还没删,配置文件能转移过来吗?

BlueFang avatar Mar 21 '25 14:03 BlueFang

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Damn, I just reinstalled Ha, but the old Ha has not deleted it yet. Can the configuration file be transferred?

Issues-translate-bot avatar Mar 21 '25 14:03 Issues-translate-bot

/config/.storage/midea_ac_lan

No such file or directory

BlueFang avatar Mar 21 '25 14:03 BlueFang

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Damn, I just reinstalled Ha, but the old Ha has not deleted it yet. Can the configuration file be transferred?

进入midea_ac_lan的“configure manually”菜单,将json文件中的条目手动输入并保存,即可成功添加设备。

BlueFang avatar Mar 21 '25 15:03 BlueFang

有新的方案吗?现在这个一点也用不了了😅

flower-wzh avatar Mar 23 '25 06:03 flower-wzh

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Is there a new solution? Now this is not useful at all 😅

Issues-translate-bot avatar Mar 23 '25 06:03 Issues-translate-bot

无了。。。

qww1991 avatar Mar 23 '25 06:03 qww1991

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


No more. . .

Issues-translate-bot avatar Mar 23 '25 06:03 Issues-translate-bot

老方案不知道现在还生效不,HA安装易微联插件,在易微联的APP里绑定美的账号,以前记得可以获取美的旗下小天鹅洗衣机的状态信息,貌似不能控制。

BlueFang avatar Mar 24 '25 16:03 BlueFang

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I don’t know if the old plan is still in effect now. HA installs the Yiweilian plug-in and binds a Midea account in Yiweilian’s APP. I remember that I could obtain the status information of Midea’s Little Swan washing machines, but it seems that I can’t control it.

Issues-translate-bot avatar Mar 24 '25 16:03 Issues-translate-bot

找不到 /config/.storage/midea_ac_lan 的可以看一下 /config/.storage/core.config_entries 文件,设备信息也可能在这个文件里面。

detecti1 avatar Mar 25 '25 15:03 detecti1

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


If you cannot find the /config/.storage/midea_ac_lan, you can check the /config/.storage/core.config_entries file, and the device information may also be in this file.

Issues-translate-bot avatar Mar 25 '25 15:03 Issues-translate-bot

实在搞不定的就装空调伴侣或者红外遥控器接入HA

SilenceCheung avatar Mar 26 '25 03:03 SilenceCheung

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


If you really can't handle it, install an air conditioner partner or infrared remote control to connect to the HA

Issues-translate-bot avatar Mar 26 '25 03:03 Issues-translate-bot

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


If you cannot find the /config/.storage/midea_ac_lan, you can check the /config/.storage/core.config_entries file, and the device information may also be in this file.

There is no folder /config/.storage. What's the situation

Issues-translate-bot avatar Mar 26 '25 05:03 Issues-translate-bot

找不到 /config/.storage/midea_ac_lan 的可以看一下 /config/.storage/core.config_entries 文件,设备信息也可能在这个文件里面。

/config/.storage 这个文件夹都没有啊。啥情况

如果你是 docker 内运行的,需要在 docker 容器里找,而不是宿主机上。

detecti1 avatar Mar 26 '25 05:03 detecti1

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


If you cannot find the /config/.storage/midea_ac_lan, you can check the /config/.storage/core.config_entries file, and the device information may also be in this file.

/config/.storage does not have this folder. What's the situation

If you are running in docker, you need to look for it in the docker container, not on the host.

Issues-translate-bot avatar Mar 26 '25 05:03 Issues-translate-bot

好家伙,赶紧备份一下。不知道后边还能用多久啊

rigel0212 avatar Mar 26 '25 05:03 rigel0212

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Good guy, hurry up and make a backup. I don't know how long it will last later

Issues-translate-bot avatar Mar 26 '25 05:03 Issues-translate-bot

老方案不知道现在还生效不,HA安装易微联插件,在易微联的APP里绑定美的账号,以前记得可以获取美的旗下小天鹅洗衣机的状态信息,貌似不能控制。

易微联的API key过期了,v1 api可以没办法申请,v2的能申请但是之前的插件得重新写

Qianli-Ma avatar Mar 26 '25 08:03 Qianli-Ma

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I don’t know if the old plan is still in effect now. HA installs the Yiweilian plug-in and binds a Midea account in Yiweilian’s APP. I remember that I could obtain the status information of Midea’s Little Swan washing machines, but it seems that I can’t control it.

Yiweilian's API key has expired. You can't apply for v1 API, but you can apply for v2, but you have to rewrite the previous plug-in.

Issues-translate-bot avatar Mar 26 '25 08:03 Issues-translate-bot

It has been restored and can be used

jinyuttt avatar Mar 27 '25 14:03 jinyuttt

已修复并可使用

可以正常使用了?

JoshuaXG avatar Mar 28 '25 04:03 JoshuaXG

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Repaired and available

Can it be used normally?

Issues-translate-bot avatar Mar 28 '25 04:03 Issues-translate-bot

我添加了两个设备,但.storage/midea_ac_lan中只有一个设备json

levkanm avatar Mar 29 '25 08:03 levkanm

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I added two devices, but there is only one device in .storage/midea_ac_lan json

Issues-translate-bot avatar Mar 29 '25 08:03 Issues-translate-bot

已修复并可使用

可以正常使用了?

yes

jinyuttt avatar Mar 30 '25 15:03 jinyuttt

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Repaired and available

Can it be used normally?

yes

Issues-translate-bot avatar Mar 30 '25 15:03 Issues-translate-bot

我这里一切正常,新买的冰箱在HA里能正常识别和添加。

hotyys avatar Apr 05 '25 01:04 hotyys