pail23 / stiebel_eltron_isg_component

Stiebel Eltron ISG integration for Home Assistant
MIT License
43 stars 19 forks source link

[FEATURE] Add energy-consumption and produced heat-sensors #90

Closed guevara777 closed 12 months ago

guevara777 commented 1 year ago

Is your feature request related to a problem? Please describe. It would be nice to have the energy-sensors for consumend electrical power for heating, consumend electrical power for warm water, produced heat for heating and produced heat for warm water.

Describe the solution you'd like Stiebel-Eltron Modbus gives us sensors for the consumend electrical power, the produced heat for heating and the produced heat for warm water.

I use these sensors with the "modbus:"-integration as follows. Would be nice to have them here in this integration:

Registers for produced heat for heating

# Register 3500 => produced heat for heating today in kWh
      - name:                wp_neubau_waermemenge_heizen_tag
        unique_id:           wp_neubau_waermemenge_heizen_tag
        slave:               1
        address:             3500 # Register 3501 in documentation, had to substract 1 for it to work with modbus-integrations. Applies to all other adresses below too!
        input_type:          input
        data_type:           uint16
        unit_of_measurement: kWh  
        device_class:        energy
        state_class:         total_increasing
        scan_interval:       30

# Register 3501 => produced heat for heating total in kWh (1 to 999)
      - name:                wp_neubau_waermemenge_heizen_ges_kwh
        unique_id:           wp_neubau_waermemenge_heizen_ges_kwh
        slave:               1
        address:             3501 #3502 - 1 
        input_type:          input
        data_type:           uint16
        unit_of_measurement: kWh  
        device_class:        energy
        state_class:         total_increasing
        scan_interval:       30

# Register 3502 => produced heat for heating total in MWh (1 to 999)
      - name:                wp_neubau_waermemenge_heizen_ges_mwh
        unique_id:           wp_neubau_waermemenge_heizen_ges_mwh
        slave:               1
        address:             3502 #3503 - 1 
        input_type:          input
        data_type:           uint16
        unit_of_measurement: MWh
        device_class:        energy
        state_class:         total_increasing
        scan_interval:       30

# For the total sum we need to add value of register 3501 and (value of register 3502 / 1000 [because fo MWh instead of kWh])

Registers for produced heat for warm water

# Register 3503 => produced heat for warm water today in kWh
      - name:                wp_neubau_waermemenge_warmwasser_tag
        unique_id:           wp_neubau_waermemenge_warmwasser_tag
        slave:               1
        address:             3503 #3504 - 1 
        input_type:          input
        data_type:           uint16
        unit_of_measurement: kWh  
        device_class:        energy
        state_class:         total_increasing
        scan_interval:       30

# Register 3504 => produced heat for warm water total in kWh (1 to 999)
      - name:                wp_neubau_waermemenge_warmwasser_ges_kwh
        unique_id:           wp_neubau_waermemenge_warmwasser_ges_kwh
        slave:               1
        address:             3504 #3505 - 1 
        input_type:          input
        data_type:           uint16
        unit_of_measurement: kWh  
        device_class:        energy
        state_class:         total_increasing
        scan_interval:       30

# Register 3505 => produced heat for warm water total in MWh (1 to 999)
      - name:                wp_neubau_waermemenge_warmwasser_ges_mwh
        unique_id:           wp_neubau_waermemenge_warmwasser_ges_mwh
        slave:               1
        address:             3505 #3506 - 1 
        input_type:          input
        data_type:           uint16
        unit_of_measurement: MWh
        device_class:        energy
        state_class:         total_increasing
        scan_interval:       30

# For the total sum we need to add value of register 3504 and (value of register 3505 / 1000 [because fo MWh instead of kWh])

Registers for consumend power for heating

# Register 3510 => consumend power for heating today in kWh
      - name:                wp_neubau_stromverbrauch_heizen_tag
        unique_id:           wp_neubau_stromverbrauch_heizen_tag
        slave:               1
        address:             3510 #3511 - 1 
        input_type:          input
        data_type:           uint16
        unit_of_measurement: kWh  
        device_class:        energy
        state_class:         total_increasing
        scan_interval:       30

# Register 3511 => consumend power for heating total in kWh (1 to 999)
      - name:                wp_neubau_stromverbrauch_heizen_ges_kwh
        unique_id:           wp_neubau_stromverbrauch_heizen_ges_kwh
        slave:               1
        address:             3511 #3512 - 1 
        input_type:          input
        data_type:           uint16
        unit_of_measurement: kWh  
        device_class:        energy
        state_class:         total_increasing
        scan_interval:       30

# Register 3512 => consumend power for heating total in MWh (1 to 999)
      - name:                wp_neubau_stromverbrauch_heizen_ges_mwh
        unique_id:           wp_neubau_stromverbrauch_heizen_ges_mwh
        slave:               1
        address:             3512 #3513 - 1 
        input_type:          input
        data_type:           uint16
        unit_of_measurement: MWh
        device_class:        energy
        state_class:         total_increasing
        scan_interval:       30

# For the total sum we need to add value of register 3511 and (value of register 3512 / 1000 [because fo MWh instead of kWh])

Registers for consumend power for warm water

# Register 3513 => consumend power for warm water today in kWh
      - name:                wp_neubau_stromverbrauch_warmwasser_tag
        unique_id:           wp_neubau_stromverbrauch_warmwasser_tag
        slave:               1
        address:             3513 #3514 - 1 
        input_type:          input
        data_type:           uint16
        unit_of_measurement: kWh  
        device_class:        energy
        state_class:         total_increasing
        scan_interval:       30

# Register 3514 => consumend power for warm water total in kWh (1 to 999)
      - name:                wp_neubau_stromverbrauch_warmwasser_ges_kwh
        unique_id:           wp_neubau_stromverbrauch_warmwasser_ges_kwh
        slave:               1
        address:             3514 #3515 - 1 
        input_type:          input
        data_type:           uint16
        unit_of_measurement: kWh  
        device_class:        energy
        state_class:         total_increasing
        scan_interval:       30

# Register 3515 => consumend power for warm water total in MWh (1 to 999)
      - name:                wp_neubau_stromverbrauch_warmwasser_ges_mwh
        unique_id:           wp_neubau_stromverbrauch_warmwasser_ges_mwh
        slave:               1
        address:             3515 #3516 - 1 
        input_type:          input
        data_type:           uint16
        unit_of_measurement: MWh
        device_class:        energy
        state_class:         total_increasing
        scan_interval:       30

# For the total sum we need to add value of register 3514 and (value of register 3515 / 1000 [because fo MWh instead of kWh])

Describe alternatives you've considered it would just be nice to have these sensor to monitor the energy-consumption for your heat pump. With these sensor you could also calculate the SCOP-Value of the heatpump by dividing TOTAL HEAT PRODUCED by TOTAL ENERGY CONSUMED.

Additional context I´ve found the register-numbers in this documentation: https://www.stiebel-eltron.de/content/dam/ste/cdbassets/historic/bedienungs-_u_installationsanleitungen/ISG_Modbus__b89c1c53-6d34-4243-a630-b42cf0633361.pdf (Page 11, German -> also in others languages in that document)

guevara777 commented 12 months ago

Ist already there. Sorry.