[重要风险提示] 请立即备份文件、美的关闭设备Token接口导致本地控制失效的紧急通知
紧急提示
‼️ 所有使用midea_ac_lan的用户请立即执行以下操作:
- 立即备份
/config/.storage/midea_ac_lan目录下的所有文件 - 严禁在HA执行以下操作:
- ❌ 删除设备
- ❌ 解绑设备
- ❌ 重新安装HA
- 当前已存在设备Token的用户暂时不受影响
说明
美的近期已关闭获取设备Token的V1接口(midea_ac_lan插件依赖的核心接口),该变动将导致:
- 新设备无法获取设备Token
- 已解绑/删除的设备永久失去控制权
- 现有设备Token成为唯一控制凭证
备份命令
# 通过SSH或者网页端进入HomeAssistant容器
docker exec -it homeassistant bash
# 备份关键文件(建议同时保存到云端)
cp -r /config/.storage/midea_ac_lan
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: **
- Back up all files in the
/config/.storage/midea_ac_landirectory immediately - **It is strictly forbidden to perform the following operations in HA:
- ❌ Delete the device
- ❌ Unbinding the device
- ❌ Reinstall HA
- 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
卧槽,刚重装ha,老ha还没删,配置文件能转移过来吗?
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?
/config/.storage/midea_ac_lan
No such file or directory
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文件中的条目手动输入并保存,即可成功添加设备。
有新的方案吗?现在这个一点也用不了了😅
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 😅
无了。。。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
No more. . .
老方案不知道现在还生效不,HA安装易微联插件,在易微联的APP里绑定美的账号,以前记得可以获取美的旗下小天鹅洗衣机的状态信息,貌似不能控制。
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.
找不到 /config/.storage/midea_ac_lan 的可以看一下 /config/.storage/core.config_entries 文件,设备信息也可能在这个文件里面。
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.
实在搞不定的就装空调伴侣或者红外遥控器接入HA
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
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_entriesfile, and the device information may also be in this file.
There is no folder /config/.storage. What's the situation
找不到
/config/.storage/midea_ac_lan的可以看一下/config/.storage/core.config_entries文件,设备信息也可能在这个文件里面。/config/.storage 这个文件夹都没有啊。啥情况
如果你是 docker 内运行的,需要在 docker 容器里找,而不是宿主机上。
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_entriesfile, 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.
好家伙,赶紧备份一下。不知道后边还能用多久啊
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
老方案不知道现在还生效不,HA安装易微联插件,在易微联的APP里绑定美的账号,以前记得可以获取美的旗下小天鹅洗衣机的状态信息,貌似不能控制。
易微联的API key过期了,v1 api可以没办法申请,v2的能申请但是之前的插件得重新写
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.
It has been restored and can be used
已修复并可使用
可以正常使用了?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Repaired and available
Can it be used normally?
我添加了两个设备,但.storage/midea_ac_lan中只有一个设备json
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
已修复并可使用
可以正常使用了?
yes
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Repaired and available
Can it be used normally?
yes
我这里一切正常,新买的冰箱在HA里能正常识别和添加。