georgezhao2010 / midea_ac_lan

Auto-configure and then control your Midea M-Smart devices (Air conditioner, Fan, Water heater, Washer, etc) via local area network.
MIT License
1.28k stars 202 forks source link

Leaving /returning water temp from midea heat pump #364

Open kri5to opened 9 months ago

kri5to commented 9 months ago

Device type and model (or SN)

Midea Thermal artic heat pump

The description of new feature

Hello Is it possible to add two parameters from heat pump. It would be really beneficial to see and use leaving water temperature and returning water temperature. It would open alot of possibilities to fine tune heat pump automation.

georgepauna commented 9 months ago

Yes, I would also like to have this info, please +1

endigarnek commented 8 months ago

Yes, good idea :)

kristolain commented 8 months ago

+1 Good idea.

xipset commented 8 months ago

Hi, and Flow in l/h or m3/h, and COP...

Perfect-Web commented 8 months ago

that would be perfect

endigarnek commented 8 months ago

Would do well to: compressor operating frequency and generated power

port: /dev/serial/by-id/usb-DAC_SYSTEM_DC043_USB_-_4xUART_DC6TPN7V-if02-port0
stopbits: 1
sensors:
  - name: P_MaxOut
    slave: 1
    address: 1238
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    state_class: measurement
    unique_id: P_MaxOut
    device_class: temperature
    scale: 0.1

  - name: P_WPInt
    slave: 1
    address: 1198
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    state_class: measurement
    unique_id: P_WPInt
    device_class: duration

  - name: Freqency
    slave: 1
    address: 2072
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    state_class: measurement
    unique_id: P_freq
    device_class: frequency

  - name: P_TA
    slave: 1
    address: 2048
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16

    unique_id: P_TA
    device_class: temperature        
    scale: 0.1
  - name: Speed
    slave: 1
    address: 2074
    input_type: holding
    state_class: measurement

count: 2

    offset: 0
    precision: 0
    data_type: int16
    state_class: measurement
    unique_id: P_speed

  - name: Temp. Wejsciowa
    slave: 1
    address: 2045
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    scale: 0.1
    state_class: measurement
    unique_id: P_Tin
    device_class: Temperature

  - name: Temp. Wyjsciowa
    slave: 1
    address: 2046
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    scale: 0.1
    state_class: measurement
    unique_id: P_Tout

  - name: Temp. Limit
    slave: 1
    address: 2013
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    scale: 0.1
    state_class: measurement
    unique_id: P_Tlim

  - name: Temp. com.
    slave: 1
    address: 2014
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    scale: 0.1
    state_class: measurement
    unique_id: P_Tcomp 
haute12345 commented 8 months ago

Would do well to: compressor operating frequency and generated power

port: /dev/serial/by-id/usb-DAC_SYSTEM_DC043_USB_-_4xUART_DC6TPN7V-if02-port0
stopbits: 1
sensors:
  - name: P_MaxOut
    slave: 1
    address: 1238
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    state_class: measurement
    unique_id: P_MaxOut
    device_class: temperature
    scale: 0.1

  - name: P_WPInt
    slave: 1
    address: 1198
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    state_class: measurement
    unique_id: P_WPInt
    device_class: duration

  - name: Freqency
    slave: 1
    address: 2072
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    state_class: measurement
    unique_id: P_freq
    device_class: frequency

  - name: P_TA
    slave: 1
    address: 2048
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16

    unique_id: P_TA
    device_class: temperature        
    scale: 0.1
  - name: Speed
    slave: 1
    address: 2074
    input_type: holding
    state_class: measurement

count: 2

    offset: 0
    precision: 0
    data_type: int16
    state_class: measurement
    unique_id: P_speed

  - name: Temp. Wejsciowa
    slave: 1
    address: 2045
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    scale: 0.1
    state_class: measurement
    unique_id: P_Tin
    device_class: Temperature

  - name: Temp. Wyjsciowa
    slave: 1
    address: 2046
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    scale: 0.1
    state_class: measurement
    unique_id: P_Tout

  - name: Temp. Limit
    slave: 1
    address: 2013
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    scale: 0.1
    state_class: measurement
    unique_id: P_Tlim

  - name: Temp. com.
    slave: 1
    address: 2014
    input_type: holding

count: 2

    offset: 0
    precision: 1
    data_type: int16
    scale: 0.1
    state_class: measurement
    unique_id: P_Tcomp 

hi, Thanks for the information, but we are not sure where to add these sensors through that port. Can you give us an example? Do you have a list of all the addresses of all the registers? The registers are similar to those used with the modbus protocol. But not all users have electronic knowledge to add an RS485 converter and an ESP32.

georgepauna commented 7 months ago

Here is documentation of the modbus registers (at the end of the document): https://www.midea.es/wp-content/uploads/2022/09/180831_MU_M_ENF_KJRM-120H2-BMWKO-E-EN.pdf

Unwies commented 7 months ago

I checked the pdf, but not sure how to proceed from here. From what I understood the integration uses the payload of the device and this is different to the Modus Information, isn‘t it?

Does someone know which bytes in the payload are for the incoming/outgoing water temperature? Did someone already implement this in the HA integration?