How do I config modbus tcp for Nibe S1255?

Hi

Have a look at my .yaml I hope it helps you. There is more addresses you can use, just copy register from your Nibe pump to the USB.

I have managed to get all the sensor but I don’t have the knowledge to make any input to from HA. I think for the future the best way to connect it is thru MQTT service.

Check this topic: How to connect to Nibe heat pump without the cloud - #8 by yozik04

My nibe.yaml looks like this:

- name: "Nibe"
  close_comm_on_error: true
  delay: 5
  timeout: 5
  type: tcp
  host: 192.168.0.0
  port: 502
  sensors:

  - name: "Nibe_ZunanjaTemperatura_BT1"
    unit_of_measurement: °C
    address: 1
    count: 1
    slave: 1
    precision: 1
    input_type: input
    scale: 0.1
    
  - name: "Nibe_SobnaTemperatura"
    unit_of_measurement: °C
    address: 26
    count: 1
    precision: 1
    slave: 1
    input_type: input
    scale: 0.1
    
  - name: "Nibe_SanitarnaVodaZgoraj_BT7"
    unit_of_measurement: °C
    address: 8
    count: 1
    precision: 1
    slave: 1
    input_type: input
    scale: 0.1
    
  - name: "Nibe_DvizniVod_BT2"
    unit_of_measurement: °C
    address: 5
    count: 1
    precision: 1
    slave: 1
    input_type: input
    scale: 0.1
    
  - name: "Nibe_PovratniVod_BT3"
    unit_of_measurement: °C
    address: 7
    count: 1
    precision: 1
    slave: 1
    input_type: input
    scale: 0.1
    
  - name: "Nibe_SanitarnaVodaPolnjenje_BT6"
    unit_of_measurement: °C
    address: 9
    count: 1
    precision: 1
    slave: 1
    input_type: input
    scale: 0.1
    
  - name: "Nibe_TipaloPretoka_BF1"
    unit_of_measurement: l/m
    address: 40
    count: 1
    precision: 1
    slave: 1
    input_type: input
    scale: 0.1
    
  - name: "Nibe_HitrostCrpalke"
    unit_of_measurement: "%"
    address: 1636
    count: 1
    precision: 0
    slave: 1
    input_type: input
    scale: 1
    
  - name: "Nibe_FrekvencaKompresorja"
    unit_of_measurement: Hz
    address: 1803
    count: 1
    precision: 0
    slave: 1
    input_type: input
    scale: 0.1
    
  - name: "Nibe_Uparjalnik_BT16"
    unit_of_measurement: °C
    address: 1622
    count: 1
    precision: 1
    slave: 1
    input_type: input
    scale: 0.1
    
  - name: "Nibe_Power"
    unit_of_measurement: kW
    address: 1806
    precision: 1
    slave: 1
    input_type: input
    scale: 0.1
    
  - name: "Nibe_FanSpeed"
    unit_of_measurement: rpm
    address: 401
    count: 1
    precision: 0
    slave: 1
    input_type: input
    scale: 1
    
  - name: "Nibe_VecSanitarneVode"
    unit_of_measurement: ""
    address: 225
    count: 1
    precision: 0
    slave: 1
    input_type: holding
    scale: 1
    
  - name: "Nibe_HotWaterDemand"
    unit_of_measurement: ""
    address: 56
    count: 1
    precision: 0
    slave: 1
    input_type: holding
    scale: 1
    
  - name: "Nibe_Defrost"
    unit_of_measurement: ""
    address: 1805
    count: 1
    precision: 0
    slave: 1
    input_type: input
    scale: 1
    
  - name: "Nibe_Prioriteta"
    address: 1028
    count: 1
    precision: 0
    slave: 1
    input_type: input
    scale: 1
    
  - name: "Nibe_operating_mode"
    address: 237
    count: 1
    precision: 0
    slave: 1
    input_type: holding
    scale: 1