-
Notifications
You must be signed in to change notification settings - Fork 27
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
Feature(CD):Add Water Tank Level Display for Swan 2 Heat Pump #425
Feature(CD):Add Water Tank Level Display for Swan 2 Heat Pump #425
Comments
@hexCut please edit current issue OR pos new info.
in addition, I will provide a command line tool to display these info in next release. it still not available now. |
CD Heat Pump Water Heater CC.md 2024-12-18 09:23:46.828 DEBUG (MainThread) [midealocal.discover] Found a supported device: {'device_id': 153931628204291, 'type': 205, 'ip_address': '192.168.20.167', 'port': 6444, 'model': 'RSJ000CB', 'sn': '0000CD311RSJ000CB2618B100053MY44', 'protocol': 3} |
add some debug code in this PR: midea-lan/midea-local#345 brief step:
after your device works well(start about 3-5 minutes), try to upload full debug log file to current github issue and I will check the detail. how to change it, below is the detail steps:
after device reboot 3-5 minutes, download full debug log to your PC and upload this log file to current github issue you can also search this value in debug log with |
…rotocol (#345) 1. add set customize option: `lua_protocol`, default is auto, user can manual set it to `old` or `new`, I'm not sure whether we will have more than two options, just use a str option for future. > for `auto` mode, use subtype and model to process current github issue known device. 3. add `water_level` attribute, current only can display the raw value in debug log, I'm not sure the 4 level range now. 4. add more attributes in debug log output, we can add it in future. fix: wuwentao/midea_ac_lan#347 wuwentao/midea_ac_lan#420 wuwentao/midea_ac_lan#425
please check with latest v0.6.6 release, it should include the please upload your debug log file output and your app value, confirm the diff, once it works well, we can add these debug attrs to midea_ac_lan, and you can add it to HA, thanks |
hank you for the update. I’m not entirely sure how to perform the test with the midealocal library. However, if you are willing to integrate it into a beta version of midea_ac_lan, I can test it right away. Let me know how to proceed. Thanks! |
latest v0.6.6 should include these debug info, you can install it and enable debug log, check and confirm it with debug log an d your app value, then we can add it to midea_ac_lan in next release with expected value and display mode. |
Thank you for the update. Below is the debug log from midealocal:
The water_level is currently 0, which seems accurate and consistent with the Smart Home app at this time. Once the tank is full (approximately in 6 hours), I’ll confirm the maximum value. According to the documentation, the maximum value should be 4. Let me know if this helps or if you would like further details. Thanks so much for your work. |
I can confirm that the water level is working correctly. Now is full: 4
|
@hexCut thanks. |
Yes, that’s correct. 0/4 indicates the tank’s fill level, as you can see from the screenshot I attached to this issue—the tank image on the right side. In my opinion, the return values you have should be sufficient. I’m not sure how you want to integrate them into Home Assistant, but the data looks ready to use. |
@hexCut PR is ready, you can manual replace |
All is working perfectly! Thank you very much! |
Device type and model (or SN)
SWAN2 153931628204291
The detail description of new feature
When using the Swan 2 heat pump (Midea/Clivet), in addition to displaying the water temperature, it would be helpful to display the water tank level. Currently, the water tank level is measured in 4 levels, as shown in the attached screenshot.
This feature would enhance the user experience by providing a more complete view of the system’s status directly from the integration.
Proposed Enhancement:
• Add functionality to retrieve and display the water tank level.
• Use the 4-level measurement standard available in the device’s API or system.
The text was updated successfully, but these errors were encountered: