-
Notifications
You must be signed in to change notification settings - Fork 36
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
Bug(C3): Add current temperature in C3 - Heat Pump #387
Comments
Hi, please enable debug for Midea AC LAN integration, wait for this value to show up, disable debug and attach the log. Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub. Thanks |
HI, |
I am a user of a heat pump from the midea group (Polish brand Kaisai) and I am also very interested in adding additional entities for integration. |
sorry for the delay response. |
@fagallo replace(for C3 device in your issue code example)
with
in addition, there is still a thanks. |
@AndreasTUHU @michalszym we can add more entries for these devices. |
@wuwentao Operating Mode (heat/hot water) Unfortunately, I cannot change the language to English in my controller, so this is my poor translation. I'm not a programmer and I'm just starting out with home assistant, but if I can help in any way, I'll be happy to do so. |
@michalszym @AndreasTUHU please consider to report a new issue with this C3 device feature request.
then we can do it in a split issue and PR. thanks. |
@fagallo any update with the changes? @michalszym @AndreasTUHU could you help to test with this curren temperature chagnes and confirm it ? thanks |
@wuwentao What change ? There is a new version to test? |
@fagallo |
I've changed the line, in climate.py debug log attached. But to be honest, I don't know where can I find this temperature value. |
@fagallo sorry, I'm also not check it, just follow what you have said and checked.
if yes, you can just use tank_actual_temperature to instead of it. and we can close current issue and not change it. |
@wuwentao Later I can try the modify. Now I'm not at home. tank_actual_temperature I is a sensor that misure value of temperature of water tank for hot water. I'm not use it, in my case is not connected that sensor. current_temperature is value of temperature indoor at home. It's very interesting for automation in HA. Later try your code. |
@wuwentao EDIT: |
what you expected is HA can show your C3 device root temperature, not tank temperature, also not https://github.com/wuwentao/midea_ac_lan/blob/master/doc/C3.md in addition, from your upload modbus pdf, which one is the current temperature or indoor temerature as your expected ? |
I have reported that value of current temperature, that must be the temperature of room is null, and in the code is set to return "none". I don't know If is a new feature or a bug . I have reported this. I think that a climate entity (thermostat) works that I have a current temperature (room temperature) and a target temperature. When room reach target , the controller is set to off. Tank temperature it's something else. And it was already visible value in HA. I have not a tank because I not use for domestic hot water but only home heating (fancoil). Now with the modify code I have a thermostat in home assistant for heating that have a current temperature set to value of domestic hot water. it's completely wrong. I was hoping someone else would be able to get the value. I repeat a thermostat entity must have a target and current temperature and the latter is the room temperature and in the code Is set to none. thank you all the same |
@fagallo @AndreasTUHU thanks all for your info. @fagallo just ignore the old code , as current_temperature can display as every temperature value from your device, in fact, there is more temperature values for it, so it can be room and also can be tank, and georgezhao2010 just ignore it and set it to none (per my understand) finaly, could you provide your device SN? if this is a midea device builtin feature, we can got it from your device SN, thanks. and I only got a C3 device SN via #404 from current code, we can found there is a |
@wuwentao I think this is 0000C3310171H120F2626410155617NY. if it helps you, the heat pump can work in two modes: Water_mode and Room_mode. In first mode, in the controller, you set the temperature of water; in the second you set desired room temperature. In my case I operate in second mode (room). At #404 photo "page 3/9" Ta ROOM Temperature is "--". I think he have set water mode. In my case at page 3/9 Ta ROOM Temperature in this moment is 22. This is the value that need in room temperature mode. |
thanks, with this info and screenshot, I think I have fullly understand what you expecte: target room temperature. in fact, this value is available in C3 device lib side, unfortunely, it not add to HA. we need to add a new entry for it, below is the test method:
this code also add a dhw_target_temp for test purpose, as it's the same format as root_target_temp |
@wuwentao No. I'm sorry, but I don't think you understand. Maybe it's because of my bad English. "Room temperature" is actual temperature in the room (in my house). My control is set to room_temparture_mode. Exapmple: This is the value necessary to do automation on thermostat ( example: if is cold that the target temp set Heat Pump On or if hot that target temp do nothing). The value of you code is correctly load in home assistant but not are the value requested. I can't test DHW because , how already said, I don't have domestic water with heat pump. I hope I was clear in my explanation. Thanks |
@fagallo unfortunately, I don't think current C3 device have current root temperature. maybe you have an addition extra sensor to got it? or any info to got this current room temperature? for midea Meiju app(only in China local, and Smarthome for global maketing), like 0xAC device, it can provide current room temperature with hardware sensor, and can't provide outdoor temperature, and midea use wifi/internet and geolocation to got current outdoor temperature, and display this value in Meiju app, but can't show it in 0xAC device, like this outdoor temperature feature, just got it from internet and not from midea device. |
@fagallo any updates? |
Hi @wuwentao , |
@wuwentao |
thanks for your info and screenshot. I'm still have a new question: in addition, please check this link:
refer to based on your modbus name, maybe we can check some attrs named |
based on your screenshot, there is a from the lua script, it maybe
I'm not sure, these args not support in current C3 device, as this should be c3 device temperature and may not a real room temperature. per my understand, C3 device location temperature should not our living room, we can use external temperature sensor and got this value from HA, and use HA automation to control your C3 device start/stop. for your reference, I'm using this mode for my vaillant gas water heater device, and I have multiple room, I'm using water distributor, easy room should have one controller,and I can control every room temperature with external temperature sensor. |
No. I haven't an external controller (such thermostat). Only Midea controller for C3 device. You can see this video https://www.youtube.com/watch?v=rBru56N9yAc .It's the same controller. You can notice that at the top right there are some small holes, presumably for the temperature sensor. |
We can test ?? |
We can test ?? |
@fagallo
in addition ,it should be the feature requirement for #404 how to change it, below is the detail steps:
finally, if you want to check debug log output with your device display name and value, especially for your current room temperature value( you can check all your device params value with debug log output name and params value. |
@fagallo any updates for latest changes? |
latest v0.6.6 should include most of the debug info, you can use latest release to test with your device. please share your debug log with your device, thanks. |
Device type and model (or SN)
Heat Pump Wi-Fi Controller 171H120F (0)
The detail description of new feature
This part of code in climate.py seems incomplete.
Line 566
@Property
def current_temperature(self) -> float | None:
"""Midea C3 Climate current temperature."""
return None
Current temperature value is present in HA and is "null" . The sensor is not present.
Current temperature is indoor temperature value in heat pump controller.
The text was updated successfully, but these errors were encountered: