CCCPaste

ECL 310 - Modbus


# https://community.home-assistant.io/t/heating-integration-danfoss-ecl310/275936/8    
  - name: "ECL"
    type: tcp
    host: 192.168.1.12
    port: 502
    timeout: 10
    climates:
      - name: Komfort Temperatur
        address: 11179
        input_type: holding
        data_type: int16
        max_temp: 35
        min_temp: 15
        offset: 0
        precision: 1
        scale: 0.1
          #structure: "!i"
        target_temp_register: 11179
        temp_step: 1
        temperature_unit: C    
    sensors:
      - name: Udendørs Føler (S1)
        address: 10200
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16
        scan_interval: 300
     
        
      - name: Indendørs Føler (S2)
        address: 10201
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16
        scan_interval: 300
     

      - name: Frem Temp Radiator (S3)
        address: 10202
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16
        scan_interval: 120
     

      - name: Frem Temp Radiator Referance (S3)
        address: 11252
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16
        scan_interval: 120
     
        
      - name: Brugsvand Varmt Frem (S4)
        address: 10203
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1    
        data_type: int16
        scan_interval: 120
     

      - name: Brugsvand Varmt Frem Referance (S4)
        address: 12253
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1    
        data_type: int16
        scan_interval: 120
     

      - name: Retur Temp Radiator Veksler (S5)
        address: 10204
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16
        scan_interval: 120
     

      - name: Retur Temp Radiator Veksler Referance (S5)
        address: 11254
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16
        scan_interval: 120
     

      - name: Vandvarmer Temp (S6)
        address: 10205
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16    
        scan_interval: 120
     
        
      - name: Vandvarmer Temp Referance(S6)
        address: 12255
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16
        scan_interval: 120
        
      - name: Radiator Retur (S7, IKKE S11)
        address: 10206
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16
        scan_interval: 120
     
      - name: Brugsvand Varmt Retur (S8)
        address: 10207
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16    
        scan_interval: 120        

     

      - name: Fjernvarme Frem (S9)
        address: 10208
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16    
        scan_interval: 60
     

      - name: Fjernvarme Retur (S10)
        address: 10209
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16    
        scan_interval: 60
     

      - name: Retur Temp Radiator (S11)
        address: 10210
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16    
        scan_interval: 120
     
        
      - name: Motor (M1)
        address: 3994
        input_type: holding
        unit_of_measurement: '%'
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16  
        scan_interval: 120
     

      - name: Motor (M2)
        address: 3995
        input_type: holding
        unit_of_measurement: '%'
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16  
        scan_interval: 120
     

        # Kan være 0,1,2,3,4,5
      - name: ECL Driftform
        address: 4200
        input_type: holding
        offset: 0
        precision: 1
        data_type: int16    
        unit_of_measurement: C
        scan_interval: 300
     

      - name: Applikations nøgle
        address: 2060
        input_type: holding
        offset: 0
        precision: 1
        data_type: int16    
        unit_of_measurement: C
        scan_interval: 300
     

      - name: P1 Drift
        address: 4005
        input_type: holding
        offset: 0
        precision: 1
        data_type: int16    
        unit_of_measurement: C
        scan_interval: 60
     

      - name: P2 Drift
        address: 4006
        input_type: holding
        offset: 0
        precision: 1
        data_type: int16  
        unit_of_measurement: C
        scan_interval: 60

# # #  V A N D M Å L E R  I  K Æ L D E R  # # # 


      - name: KV Kælder Temperatur
        address: 6005
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16    
        scan_interval: 60
        
      - name: KV Kælder Flow
        address: 6008
        input_type: holding
        unit_of_measurement: "L/min" # Ændret enhed til flow (liter pr. minut)
#        device_class: none # Fjernet device_class for temperatur
        scale: 0.1
        offset: 0
        precision: 1
        data_type: int16
        scan_interval: 60

      - name: KV Kælder Stand
        address: 6012
        input_type: holding
        unit_of_measurement: "m³" # Ændret til kubikmeter eller anden passende enhed
        scale: 0.1
        offset: 0
        precision: 1
        data_type: int16
        scan_interval: 60

      - name: KV Kælder Serienummer
        address: 6003
        input_type: holding
        data_type: int16 # Beholder datatypen som int16, hvis serienummeret er et tal
        scan_interval: 60

# # #  F J E R N V A R M E  I  K Æ L D E R  # # # 

      - name: FV Kælder Fremløb Temperatur
        address: 6055
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16    
        scan_interval: 60
      - name: FV Kælder Returløb Temperatur
        address: 6056
        input_type: holding
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.01
        offset: 0
        precision: 1
        data_type: int16    
        scan_interval: 60

      - name: FV Kælder Flow
        address: 6058
        input_type: holding
        unit_of_measurement: "L/min" # Ændret enhed til flow (liter pr. minut)
        scale: 0.1
        offset: 0
        precision: 1
        data_type: int16
        scan_interval: 60

      - name: FV Kælder Stand
        address: 6061
        input_type: holding
        unit_of_measurement: "m³" # Ændret til kubikmeter eller anden passende enhed
        scale: 0.1
        offset: 0
        precision: 1
        data_type: uint32 #  Opdateret fra int16 til int32 for at understøtte større værdier
        scan_interval: 60


      - name: FV Kælder Effekt
        address: 6060
        input_type: holding
        unit_of_measurement: "kW" # Ændret enhed til flow (liter pr. minut)
        scale: 0.1
        offset: 0
        precision: 1
        data_type: int16
        scan_interval: 60

      - name: FV Kælder Serienummer
        address: 6053
        input_type: holding
        data_type: int16 # Beholder datatypen som int16, hvis serienummeret er et tal
        scan_interval: 60