-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FSD40THR风扇控制错误 #321
Comments
Title: FSD40THR fan control error HA version2024.9.2 Integrated version0.5.9 Integrated version that worked normally before0.5.9 Equipment type and modelActual model: FSD40THR, HA display model: Fan 56011CB4 (0) App usedBeautiful Mercure Detailed description of the problemBefore version 0.5.9, the switch control was normal. In version 0.5.9, the switch became a momentary switch and turned off immediately after clicking on it. The shaking head control is also abnormal and the shaking head cannot be turned on. The shaking head control is not normal in all versions. Mode selection also works incorrectly in all versions. Product SN:0000FA51156011CB43C161102252D3J8 The logs |
问题大概看了看,应该还是超时导致的问题,控制命令没有发送成功,我明后天先修复一下 |
After a rough look at the problem, it seems that it is still a problem caused by timeout. The control command was not sent successfully. I will fix it tomorrow. |
是否可以在发布之前,先协助测试一下是否解决了问题? 具体的测试方法:
如果认为流程太麻烦,实在搞不定就算了,随后等review/approve以后,发布新版再测试吧。 |
Can you help test whether the problem is solved before publishing? Specific test methods:
If you think the process is too cumbersome and you really can't figure it out, forget it. Then wait for review/approval and release a new version before testing. |
好的,我会配合测试 |
OK, I will cooperate with the test |
https://github.com/rokam/midea-local/blob/20488c7bb7fd7e747d54ad4541e9ff63349b1d61/midealocal/device.py |
https://github.com/rokam/midea-local/blob/20488c7bb7fd7e747d54ad4541e9ff63349b1d61/midealocal/device.py |
@xiasi0 如果还有其他error log,也请帮忙提供一下完整的debug log,这个问题是修改其他bug引入的,希望能一并解决其他问题。 |
@xiasi0 If there are other error logs, please help provide a complete debug log. This problem was introduced by modifying other bugs. I hope other problems can be solved together. |
不行呢。f0b25dc271aa7de45746d76165e3c7b76d078cf3这个739行的复制进去重启后集成直接挂了加载不上去集成,这是开启调试的内核完整日志
|
It doesn’t work. After copying the 739 line of f0b25dc271aa7de45746d76165e3c7b76d078cf3 and restarting, the integration directly hangs and cannot be loaded. This is the complete log of the kernel with debugging enabled. After re-copying 20488c7bb7fd7e747d54ad4541e9ff63349b1d61, line 690 cannot be restored, and the integration is still hung and cannot be loaded. This is the complete log of 690 lines. |
完了卸载重新安装也不行了,集成都添加不了了😂😂😂😂 |
@xiasi0 这个错误应该是粘贴时格式出问题了。 另外,你这个错误的核心原因是粘贴的py文件有点问题,应该删除一下内容,重新粘贴,重启即可。 或者你试试下载这个raw的文件源码,然后替换文件的方案也行。 |
@xiasi0 This error should be caused by a formatting problem when pasting. In addition, the core reason for your error is that there is something wrong with the pasted py file. You should delete the content, paste it again, and restart. |
我再试试哈,先别走哈@wuwentao😁 |
I'll try again, don't leave yet @wuwentao😁 |
这里会缓存你设备的配置信息,你可以删除里面的xxx.json,然后重新添加就可以了。 |
|
不用进容器吧 |
No need to put it in a container |
抱歉,我过不去墙,能不过就不过。抱歉哈🤣 |
Sorry, I can't get over the wall. If I can, I can't. Sorry 🤣 |
|
|
不用着急,慢慢试试就行,目前已通过其他人测试,确认这个修改已经解决了AC设备,C3设备等问题,等你最终的FA设备测试结果。 |
@xiasi0 If the addition is unsuccessful, I will look at it later. First, solve the problem of status synchronization: I simply added a Test method:
|
现在风扇开关不会出现打开后立马关闭的情况(但是前端卡片无法使用不会同步任何风扇状态,也不能控制开关)。然后就是在设备页面点击开或者关左下角都会出现参数报错。请查看
|
@xiasi0 |
@xiasi0 |
好的,马上尝试重新修改 |
OK, try to modify it again immediately |
测试从0.5-2没有延迟明显改善。是否还需要增加数值? |
Tested from 0.5-2 with no noticeable improvement in latency. Do I still need to increase the value? |
1:03 |
1:03 |
@xiasi0 多谢反馈,那就是time.sleep(1)是否就行?降低到0.8或者0.5不行? |
@xiasi0 Thanks for the feedback. Is time.sleep(1) sufficient? Can't it be lowered to 0.8 or 0.5? |
不是的,我测试0.5、0.8、1、1.5、2四个数值。均没有明显改善。 |
No, I tested four values: 0.5, 0.8, 1, 1.5, and 2. There was no significant improvement. |
这个时间是什么意思?没看懂,是说30秒自动刷新了? |
What does this time mean? I don’t understand. Does it mean it refreshes automatically in 30 seconds? |
我点击开关后风扇立即打开,但是同步到HA实体需要等到1分钟后才会显示开启状态。 |
The fan turns on immediately after I click the switch, but it takes 1 minute to synchronize to the HA entity before it shows the on status. |
状态刷新默认是30秒自动刷新一次,如果超过30秒那不对,那就不正常了。 如果time.sleep(2)还不行,那还再看看其他办法。 |
By default, the status refresh is automatically refreshed every 30 seconds. If it exceeds 30 seconds, it is wrong and abnormal. If time.sleep(2) doesn't work, then look at other methods. |
好的。谢谢 |
OK Thanks |
昨天添加不上去的柜机可以添加上去了。但是跟风扇一样存在延迟。 |
The cabinets that could not be added yesterday can be added. But there is a delay just like the fan. |
可以用discord了。买了一个月流量包 |
You can use discord now. I bought a one month data package |
我这测试风扇类开关是没有延迟了。可以关闭了 |
When I tested the fan switch, there was no delay. Can be closed |
HA版本
2024.9.2
集成版本
0.5.9
之前可正常使用的集成版本
0.5.9
设备类型及型号
实际型号:FSD40THR,HA显示型号:Fan 56011CB4 (0)
使用的App
美的美居
问题详细描述
0.5.9版本之前开关控制还正常,0.5.9版本中开关变成了瞬时开关点击打开后立马就关闭了。摇头控制也不正常不能打开摇头,摇头控制在所有版本中都不正常。模式选择在所有版本中也不正常。产品的SN:0000FA51156011CB43C161102252D3J8
希望您有时间能修复一下!谢谢
The logs
home-assistant_midea_ac_lan_2024-09-23T02-48-54.705Z.log
The text was updated successfully, but these errors were encountered: