Skip to content
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

NIBE myUplink API #81

Closed
JoJa1101 opened this issue Dec 22, 2020 · 55 comments
Closed

NIBE myUplink API #81

JoJa1101 opened this issue Dec 22, 2020 · 55 comments

Comments

@JoJa1101
Copy link

Hello,

I have the NIBE VVM S320 and F-2120 Heatpump. It uses the new API service (https://dev.myuplink.com).

Is it possible to integrate my system with into HASS also?

Thanks in advance

@elupus
Copy link
Owner

elupus commented Dec 23, 2020

Probably. But not with my plugin. Since I don't have such system i won't write that.

@andjom
Copy link

andjom commented Dec 31, 2020

Hello,
Some news regarding MyUplink :)

I have started to create a new module for MyUplink and I have implemented the most of the myUplink Public API v2.
A lot has changed but I can reuse a lot of code from the existing NIBEUPLINK-module created by ELUPUS, but I guess that the HASS integration also needs some rewritting.

@timpea
Copy link

timpea commented Feb 1, 2021

@andjom How have you got along with the MyUplink module?

@psysi
Copy link

psysi commented Feb 10, 2021

@andjom Just got a S1255 installed with the new MyUplink API. Pls let me know if you need any test/debug help with the implementation!

@viippu
Copy link

viippu commented Feb 20, 2021

@andjom I have S1255 and would love to have it added to HA so let me know if you need help with testing.

@timpea
Copy link

timpea commented Feb 20, 2021

@andjom @psysi @viippu i have had a bit of luck connecting directly via modbus tcp. just struggling with getting the register id’s for the different sensors. Let me know if you want the config settings I have used up to now. Probably should start a new repository so we can figure it out.

@elupus
Copy link
Owner

elupus commented Feb 20, 2021

Oh the new ones expose modbus over tcp?!? That would have been awesome.

@msex67
Copy link

msex67 commented Jun 8, 2021

Hello, i have a CTC GSI 608 that uses the MyUplink and i am very interested in getting it into homeassistant.

@viippu
Copy link

viippu commented Jun 8, 2021

Easiest way would be to enable the modbus TCP/IP from the settings of your heatpump and then add following to the configuration.yaml with your own settings. Homeassistant supports modbus from the scratch and more info can be found from https://www.home-assistant.io/integrations/modbus/

modbus:

  • name: CTC
    type: tcp
    host: your_heat_pump_ip_address
    port: 502
    sensors:
    • name: Temperature_sensor
      unit_of_measurement: °C
      slave: 1
      scale: 0.1
      address: 1
      scan_interval: 60
      input_type: input

@rickardnr1
Copy link

I guess that in a soon future nibeuplink.com will be shut and connected units will be moved to myuplink (you can manuall change to f series in myuplink but not yet connect any units to it. myuplink can handle all connected manufactures in the nibe organisation like ctc, alpha innotec etc..

@rickardnr1
Copy link

Hello, Some news regarding MyUplink :)

I have started to create a new module for MyUplink and I have implemented the most of the myUplink Public API v2. A lot has changed but I can reuse a lot of code from the existing NIBEUPLINK-module created by ELUPUS, but I guess that the HASS integration also needs some rewritting.

Did you work it out with success?

@msex67
Copy link

msex67 commented Nov 21, 2021

Hello, no i havent been able to connect to the modbus interface. Not realy shure why it not working.
Nice to follow this.

regards
/Micke

@NachoMas
Copy link

NachoMas commented Nov 25, 2021

Hi! I want to follow the modbus path as well, but so far I'm not able to connect the my S1155. I think I have enabled Modbus in the pump via the installer menu but I do not see any configuration parameters while enabling ModBus and a port scan in the pump gives no access. Anyone giving a quick update on how to enable ModBus/TCP on the pump itself?
Thanks!

@rickardnr1
Copy link

Hi! I want to follow the modbus path as well, but so far I'm not able to connect the my S1155. I think I have enabled Modbus in the pump via the installer menu but I do not see any configuration parameters while enabling ModBus and a port scan in the pump gives no access. Anyone giving a quick update on how to enable ModBus/TCP on the pump itself? Thanks!

Just enable it in the menu and its on. port 502 and you can find registers on nibes supportpage. also check that you have latest firmware and it works fast and stable.

@msex67
Copy link

msex67 commented Nov 29, 2021

Modbus list from CTC support.
BMS_List_2021-11-08.pdf
I have tried to connect, but cant get any information back.

/Micke

@rickardnr1
Copy link

Modbus list from CTC support. BMS_List_2021-11-08.pdf I have tried to connect, but cant get any information back.

/Micke

cant answer for ctc as i cant try it myself. i can only test on nibe s series as i have an demo unit to try on ;)

@jorgen-zafir
Copy link

jorgen-zafir commented Mar 8, 2022

I have a s1255 that I've connected to Home assistant through Modbus. Many of the functions available in MyUplink is present through Modbus but not all. Currently I'm mostly using "read input registers". Also depending on your accessories you'll have different Modbus functions available. A good reference (in Swedish) is https://proffs.nibe.se/upload/NEW/Support/Kommunikation/M12676SV.pdf

My current setup in configuration.yaml:

modbus:
  - type: tcp
    host:: 
    port: 502
    name: Nibe
    delay: 10
    #close_comm_on_error: true
    retry_on_empty: true
    retries: 3
    timeout: 14
    message_wait_milliseconds: 500
    sensors:
#
# Specifika register för Nibe S1155/S1255
#
      - name: "Nibe - Utetemperatur (BT1)"
        unique_id: Nibe.BT1
        unit_of_measurement: "°C"
        data_type: int16
        device_class: temperature
        address: 1
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Framledningstemperatur (BT2)"
        unique_id: Nibe.BT2
        unit_of_measurement: "°C"
        data_type: int16
        device_class: temperature
        address: 5
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Returledningstemperatur (BT3)"
        unique_id: Nibe.BT3
        unit_of_measurement: "°C"
        data_type: int16
        device_class: temperature
        address: 7
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Varmvatten topp (BT7)"
        unique_id: Nibe.BT7
        unit_of_measurement: "°C"
        data_type: int16
        device_class: temperature
        address: 8
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Varmvatten laddning (BT6)"
        unique_id: Nibe.BT6      
        unit_of_measurement: "°C"
        data_type: int16
        device_class: temperature
        address: 9
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Köldbärare in (BT10)"
        unique_id: Nibe.BT10      
        unit_of_measurement: "°C"
        data_type: int16
        device_class: temperature
        address: 10
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Köldbärare ut (BT11)"
        unique_id: Nibe.BT11      
        unit_of_measurement: "°C"
        data_type: int16
        device_class: temperature
        address: 11
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Kondensor fram (BT12)"
        unique_id: Nibe.BT12      
        unit_of_measurement: "°C"
        data_type: int16
        device_class: temperature
        address: 12
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Hetgas (BT14)"
        unique_id: Nibe.BT14      
        unit_of_measurement: "°C"
        data_type: int16
        device_class: temperature
        address: 13
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Vätskeledning (BT15)"
        unique_id: Nibe.BT5      
        unit_of_measurement: "°C"
        data_type: int16
        device_class: temperature
        address: 14
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Suggas (BT17)"
        unique_id: Nibe.BT17      
        unit_of_measurement: "°C"
        data_type: int16
        device_class: temperature
        address: 16
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
    #   - name: "Nibe - Rumstemperatur 1 (BT50)"
    #     unique_id: Nibe.BT50    
    #     unit_of_measurement: "°C"
    #     data_type: int16
    #     device_class: temperature
    #     address: 26
    #     input_type: input
    #     scale: 0.1
    #     precision: 1
    #     state_class: measurement
    #     slave: 1
    #- name: "Nibe - Extern Framledning (BT25)"
    #  unique_id: Nibe.BT25
    #  unit_of_measurement: "°C"
    #  data_type: int16
    #  device_class: temperature
    #  address: 39
    #  input_type: input
    #  scale: 0.1
    #  precision: 1
    #  state_class: measurement
    #  slave: 1
      - name: "Nibe - Kompressorgivare (EB100-BT29)"
        unique_id: Nibe.EB100-BT29      
        unit_of_measurement: "°C"
        data_type: int16
        device_class: temperature
        address: 86
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Driftläge köldbärarpump variant"
        unique_id: Nibe.adress.96      
        unit_of_measurement: "intermittent(10)/kontinuerlig(20)/10 dagar kont.(30)"
        data_type: int16
        address: 96
        input_type: input
        scale: 1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Värmebärarpumphastighet (GP1)"
        unique_id: Nibe.GP1      
        unit_of_measurement: "%"
        data_type: int16
        device_class: power_factor
        address: 1102
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Driftläge värmebärarpump"
        unique_id: Nibe.address.853      
        unit_of_measurement: "Manuellt"
        data_type: int16
        address: 853
        input_type: input
        scale: 1
        precision: 0
        state_class: measurement
        slave: 1
      - name: "Nibe - Värmebärarpumphastighet Manuell (GP1)"
        unique_id: Nibe.GP1.manual      
        unit_of_measurement: "%"
        data_type: int16
        device_class: power_factor
        address: 218
        input_type: input
        scale: 1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Aktuell kompressorfrekvens"
        unique_id: Nibe.address.1046      
        unit_of_measurement: "Hz"
        data_type: uint16
        device_class: frequency
        address: 1046
        input_type: input
        scale: 1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Kompressorstatus"
        unique_id: Nibe.address.1100      
        unit_of_measurement: "På"
        address: 1100
        data_type: uint16
        input_type: input
        scale: 1
        precision: 0
        state_class: measurement
        slave: 1
      - name: "Nibe - Köldbärarpumphastighet (GP2)"
        unique_id: Nibe.GP2      
        unit_of_measurement: "%"
        data_type: uint16
        device_class: power_factor
        address: 1104
        input_type: input
        scale: 1
        precision: 1
        state_class: measurement
        slave: 1
    #  - name: "Nibe - Driftläge köldbärarpump"
    #    unique_id: Nibe.address.1319      
    #    unit_of_measurement: "Manuellt"
    #    data_type: uint16
    #    address: 1319
    #    input_type: input
    #    scale: 1
    #    precision: 0
    #    state_class: measurement
    #    slave: 1
      - name: "Nibe - Köldbärarpumphastighet Manuell (GP2)"
        unique_id: Nibe.GP2.manual      
        unit_of_measurement: "%"
        data_type: uint16
        device_class: power_factor
        address: 222
        input_type: input
        scale: 1
        precision: 1
        state_class: measurement
        slave: 1
#
# Gemenssamma register alla Nibe-modeller
#
      - name: "Nibe - Flödesgivare (BF1)"
        unique_id: Nibe.BF1      
        unit_of_measurement: "l/m"
        data_type: int16
        device_class: power_factor
        address: 40
        input_type: input
        scale: 1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Ström (BE3)"
        unique_id: Nibe.BE3      
        unit_of_measurement: "A"
        data_type: uint32
        swap: word
        device_class: current
        address: 46
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Ström (BE2)"
        unique_id: Nibe.BE2      
        unit_of_measurement: "A"
        data_type: uint32
        swap: word
        device_class: current
        address: 48
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Ström (BE1)"
        unique_id: Nibe.BE1      
        unit_of_measurement: "A"
        data_type: uint32
        swap: word
        device_class: current
        address: 50
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Driftläge"
        unique_id: Nibe.address.237      
        unit_of_measurement: "auto(0)/manuellt(1)/endast tillsats(2)"
        data_type: uint16
        address: 237
        input_type: holding
        scale: 1
        precision: 0
        state_class: measurement
        slave: 1
    #  - name: "Nibe - Energimätare (BE7/BF3)"
    #    unique_id: Nibe.BE7/BF3      
    #    unit_of_measurement: "kWh"
    #    data_type: uint32
    #    swap: word
    #    device_class: energy
    #    address: 396
    #    input_type: input
    #    scale: 0.01
    #    precision: 1
    #    state_class: measurement
    #    slave: 1
    #  - name: "Nibe - Energimätare (BE6/BF2)"
    #    unique_id: Nibe.BE6/BF2      
    #    unit_of_measurement: "kWh"
    #    data_type: uint32
    #    swap: word
    #    device_class: energy
    #    address: 398
    #    input_type: input
    #    scale: 0.01
    #    precision: 1
    #    state_class: measurement
    #    slave: 1
      - name: "Nibe - Beräknad framledning"
        unique_id: Nibe.address.1017      
        unit_of_measurement: "°C"
        data_type: int16
        device_class: temperature
        address: 1017
        input_type: input
        scale: 0.1
        precision: 1
        state_class: measurement
        slave: 1
    #  - name: "Nibe - Beräknad framledning kyla"
    #    unique_id: Nibe.address.1567      
    #    unit_of_measurement: "°C"
    #    data_type: int16
    #    device_class: temperature
    #    address: 1567
    #    input_type: input
    #    scale: 0.1
    #    precision: 1
    #    state_class: measurement
    #    slave: 1
      - name: "Nibe - Total drifttid tillsats"
        unique_id: Nibe.address.1025      
        unit_of_measurement: "h"
        data_type: int32
        swap: word
        device_class: power_factor
        address: 1025
        input_type: input
        scale: 0.1
        precision: 1
        state_class: total_increasing
        slave: 1
      - name: "Nibe - Driftprioritering"
        unique_id: Nibe.address.1028      
        unit_of_measurement: "av(10)/varmvatten(20)/värme(30)/pool(40)/kyla(60)"
        data_type: uint16
        address: 1028
        input_type: input
        scale: 1
        precision: 0
        state_class: measurement
        slave: 1
      - name: "Nibe - Kompressorstarter EP14"
        unique_id: Nibe.EP14      
        unit_of_measurement: "antal"
        data_type: uint32
        swap: word
        device_class: power_factor
        address: 1083
        input_type: input
        scale: 1
        precision: 0
        state_class: total_increasing
        slave: 1
      - name: "Nibe - Drifttid Kompressor EP14"
        unique_id: Nibe.EP14.time      
        unit_of_measurement: "h"
        data_type: uint32
        swap: word
        device_class: power_factor
        address: 1087
        input_type: input
        scale: 1
        precision: 1
        state_class: measurement
        slave: 1
      - name: "Nibe - Flödesmätning varmvatten (inkl. tillsats)"
        unique_id: Nibe.address.1575      
        unit_of_measurement: "kWh"
        data_type: uint32
        swap: word
        device_class: energy
        address: 1575
        input_type: input
        scale: 0.1
        precision: 1
        state_class: total_increasing
        slave: 1
      - name: "Nibe - Flödesmätning värme (inkl. tillsats)"
        unique_id: Nibe.address.1577      
        unit_of_measurement: "kWh"
        data_type: uint32
        swap: word
        device_class: energy
        address: 1577
        input_type: input
        scale: 0.1
        precision: 1
        state_class: total_increasing
        slave: 1
      - name: "Nibe - Flödesmätning varmvatten (endast kompressor)"
        unique_id: Nibe.address.1583      
        unit_of_measurement: "kWh"
        data_type: uint32
        swap: word
        device_class: energy
        address: 1583
        input_type: input
        scale: 0.1
        precision: 1
        state_class: total_increasing
        slave: 1
      - name: "Nibe - Flödesmätning värme (endast kompressor)"
        unique_id: Nibe.address.1585      
        unit_of_measurement: "kWh"
        data_type: uint32
        swap: word
        device_class: energy
        address: 1585
        input_type: input
        scale: 0.1
        precision: 1
        state_class: total_increasing
        slave: 1
      - name: "Nibe - Aktivt larm"
        unique_id: Nibe.address.2195      
        unit_of_measurement: "larm"
        data_type: uint16
        address: 2195
        input_type: input
        scale: 1
        precision: 0
        state_class: measurement
        slave: 1
      - name: "Nibe - Larmnummer"
        unique_id: Nibe.address.1975      
        unit_of_measurement: "kod"
        data_type: uint16
        address: 1975
        input_type: input
        scale: 1
        precision: 0
        state_class: measurement
        slave: 1
      - name: "Nibe - Använd effekt"
        unique_id: Nibe.address.2166      
        unit_of_measurement: "W"
        data_type: uint32
        swap: word
        device_class: power
        address: 2166
        input_type: input
        scale: 1
        precision: 1
        state_class: measurement
        slave: 1

/Jörgen

@ehn
Copy link

ehn commented Mar 10, 2022

  - name: "Nibe - Värmebärarpumphastighet (GP1)"
    unique_id: Nibe.GP1      
    unit_of_measurement: "%"
    data_type: int16
    device_class: power_factor
    address: 1102
    input_type: input
    scale: 0.1
    precision: 1
    state_class: measurement
    slave: 1

@jorgen-zafir, is there a reason for setting scale: 0.1? The NIBE docs say "Factor: 1" for that function.

The docs also say "Size: u8", but I can't get it to work setting data_type: uint8. Any idea why?

@jorgen-zafir
Copy link

GP1 scale was a typo. I discovered it myself yesterday when comparing with the data in MyUplink. So it should be set to "1".

I never got the "uint8" data type to work either. "uint16" seems to be working instead.

Since my posting I've also added all holding sensors that is working for my setup. (They are missing in my post above).

@ehn
Copy link

ehn commented Mar 10, 2022

Thanks for confirming! Would you mind posting your config for the holding sensors as well? Would be great to compare.

@jorgen-zafir
Copy link

Ok, I'll post the "entire" thing again now including the holding sensors. Note that I've commented the sensors not present in my setup and hence haven't been able to test them myself.

nibe.txt

You can see many other parameters in MyUplink than is present through Modbus. It could be that there are more Modbus parameters available than presented in the Nibe documentation. Possibly you could discover more by doing a Modbus register "dump" through the USB port.

Another tip is to use a Modbus CLI for debugging. I selected "pymodbus" and its "pymodbus.console" as it seems to be working rather good. Byte order problems are a bit cumbersome in this tool though.

Even though Modbus isn't as complete as MyUplink I managed to construct a COP sensor through Home assistant. It let me better understand how a heat pump work when it comes to the heating and hot water generation. The higher temperature required the less efficient the heat pump is. So a COP just above 4 is present for the current low level heating while hot water generation often gives a COP of down to 2.

/Jörgen

@rickardnr1
Copy link

Hi,
There is alot of more modbusregisters but they are not finished making the official yet. Every setting, temp,stats etc.. got a modbusregister so i would say modbus is way better than myuplink.
Reading cop isnt that easy because you will need a external energymeter since the internal just reads the power of the inverter and not cirk.pumps and electric add. Same with the flow meter, it´s not that accurate so you will need a more relaible flow meter to get good looking COP. Of course you can mesaure the cop with internal bf1, in/out temp and power of inverter but keep in mind that its not reliable.

@jorgen-zafir
Copy link

@rickardnr1 : Thanks for the info! I suppose I need to download the entire Modbus register list from the USB port.

Well I think the "easy" COP measurement that I've setup in Home assistant at least gives an indication on what level you are at. There is also the question on what you want to include in the COP calculation. Should you include everything. E.g. mine has 273 kWh/year consumption regardless of its production.

/Jörgen

@jorgen-zafir
Copy link

Just a small comment on my former text. By definition my COP calculation is wrong. This because I'm using the power measurements as a base. The real COP value is based on the energy measurements. However, I wanted to display the momentary efficiency of the heat pump and not the efficiency over time. Maybe I should have called the constructed sensor something else?

/Jörgen

@msex67
Copy link

msex67 commented Mar 22, 2022

Hello, nice work with the modbus settings for NIBE. I am trying to understand how to make this work on a CTC608.
The NIBE modbus manual seems very easy to understand, but the CTC version is not as easy. Can someone explain how to write a correct sensor for CTC ? The NIBE outdoor temp: - name: "Nibe - Utetemperatur (BT1)"
unique_id: Nibe.BT1
unit_of_measurement: "°C"
data_type: int16
device_class: temperature
address: 1
input_type: input
scale: 0.1
precision: 1
state_class: measurement
slave: 1

adress 1 = ID1 from Nibe PDF.

CTC pdf doesent have that kind ID, just BMS values?

image

i cant find a way to download the Modbus register list to USB either. ( on the CTC )

Please help me understand this.
regards
/Micke

@Gravmac
Copy link

Gravmac commented May 22, 2022

Hello, I am also interested in an implementation for myUplink (would also agree to be a tester).
Are there already efforts or (progressing forks) in this direction?

@eddiex666
Copy link

any news on myUplink integration?
I would like to try it if possible.
Eddie

@JeroenM1
Copy link

Hello, Some news regarding MyUplink :)

I have started to create a new module for MyUplink and I have implemented the most of the myUplink Public API v2. A lot has changed but I can reuse a lot of code from the existing NIBEUPLINK-module created by ELUPUS, but I guess that the HASS integration also needs some rewritting.

Hi.
Did you ever finish the project?
i got a vvm s320 & S2125-8 in case you need someone to test stuff for you.

@elupus
Copy link
Owner

elupus commented Nov 25, 2022

If anybody does continue this. I suggest adding support to https://github.com/yozik04/nibe

Then it will end up in HA automatically. Much less work needed.

@elupus
Copy link
Owner

elupus commented Nov 25, 2022

Ps. Home assistant can connect natively to S series pumps in next release (or current dont remember if its released already). You dont need my uplink.

@raderarn
Copy link

I have a s1255 that I've connected to Home assistant through Modbus. Many of the functions available in MyUplink is present through Modbus but not all. Currently I'm mostly using "read input registers". Also depending on your accessories you'll have different Modbus functions available. A good reference (in Swedish) is https://proffs.nibe.se/upload/NEW/Support/Kommunikation/M12676SV.pdf

My current setup in configuration.yaml:

/Jörgen

have you got the energy meter to work? I can see you commented that out, and when I try to use them, I only get errors.

[homeassistant.components.modbus.modbus] Pymodbus: Nibe: Exception Response(132, 4, IllegalFunction)

@rickardnr1
Copy link

Ps. Home assistant can connect natively to S series pumps in next release (or current dont remember if its released already). You dont need my uplink.

the modbus connection does only respond to local devices so remote access with portforward dont work. So if you got a heatpump in ex. holidayhouse you can´t access it without myuplink.

@jorgen-zafir
Copy link

jorgen-zafir commented Nov 29, 2022 via email

@wgumaa
Copy link

wgumaa commented Nov 29, 2022

You can use a VPN connect to resolve this problem. Then you don't have to worry about which sensors that
have a cloud connection and which cloud their connected.

Jörgen, do you have an S series pump?

Can you outline the steps used to integrate using the Addon? I cannot figure out how to do so.

@elupus
Copy link
Owner

elupus commented Nov 29, 2022

You can use a VPN connect to resolve this problem. Then you don't have to worry about which sensors that
have a cloud connection and which cloud their connected.

Jörgen, do you have an S series pump?

Can you outline the steps used to integrate using the Addon? I cannot figure out how to do so.

You don't use any addon for S series pumps. You use either the built in nibe integration in home assistant, or the built in modbus integration in home assistant with manual config.

@raderarn
Copy link

@elupus, I use the Modbus for an S1255 for the moment, but can't get the energy meter to work. And if try the integration, S1255 is not an option to choose. Is there a forum we can discuss this, this might not be the best place :).

@elupus
Copy link
Owner

elupus commented Nov 29, 2022

@raderarn, Forgot.. It's in next release. You could get beta if you dare once it's out in a few days.

@raderarn
Copy link

raderarn commented Nov 29, 2022

@raderarn, Forgot.. It's in next release. You could get beta if you dare once it's out in a few days.

I dare, I have a test environment :). But have you solved the Energy part in that release? If I set it up like this with modbus, I get an error:

  - name: "Nibe - Energymeter (BE6/BF2)"
    unique_id: Nibe.BE6/BF2      
    unit_of_measurement: "kWh"
    data_type: uint32
    swap: word
    device_class: energy
    address: 398
    input_type: input
    scale: 0.01
    precision: 1
    state_class: measurement
    slave: 1

@jorgen-zafir
Copy link

jorgen-zafir commented Nov 29, 2022 via email

@elupus
Copy link
Owner

elupus commented Nov 29, 2022

Hi Joakim! Newer S series pumps support Modbus TCP. The HA Nibe integration supports Modbus RTU through serial line, typical RS-485. I have an S1255 and this is not supported by the HA Nibe integration. Older Nibe heat pumps that only have Modbus RTU through RS-485 seems to be supported though.

I have added support for S series pumps over TCP to home assistant, It will be in next release. Current release support only RTU with a nibegw.

@raderarn
Copy link

raderarn commented Dec 1, 2022

@elupus I have installed the beta version and it works great for the S1255. But I can't find the Pulse energy meters 396 and 398. I guess these are the ones to use in Energy Management.

@elupus
Copy link
Owner

elupus commented Dec 1, 2022

@raderarn can you export the registers from your pump (when set to english) and open an issue at https://github.com/yozik04/nibe and attach it. The i can have a look if we are missing some parameters in its database.

@elupus
Copy link
Owner

elupus commented Dec 1, 2022

Ps. @raderarn i assume you actually have an external energy meter connected to your pump..

@raderarn
Copy link

raderarn commented Dec 1, 2022

Ps. @raderarn i assume you actually have an external energy meter connected to your pump..

@elupus oops, no I have not. I thought that was the built-in energy meter. And I have a major problem getting the register export since I am 350km away from the pump :). It is my brother-in-law who has the pump and I am on a Site-to-Site VPN link to him.

So, that means there are no way getting energy consumption data to use in Energy Mangement?

@elupus
Copy link
Owner

elupus commented Dec 1, 2022

So, that means there are no way getting energy consumption data to use in Energy Mangement?

Not for complete pump no. They dont have it built in. If its an inverter pump,.you should be able to get the compressor energy usage (it is the majority of usage anyway).

I dont know the number for that for S series though.

@wgumaa
Copy link

wgumaa commented Dec 2, 2022

@raderarn Can you share your steps on how you got the pump connected to HA? Currently I have read only data through a yaml that i created.

I do have the S1255-6.

@raderarn
Copy link

raderarn commented Dec 2, 2022

@wgumaa I installed the beta version of HA, 2022.12.0b0, where the Nibe integration is updated by elupus. I added the integration, and choose the S1255, tcp with ipnumber to the pump. I can see that I have a switch for periodic hot water, and it seems to be working when I update it. But as the pump is 350 km away, it is a bit hard to go and check on the pump :).
But you need to enable all the entities you want to use, all are disabled by default. Go in on the Integration and enable the ones you want, I have 1236 entities to choose from.

@wgumaa
Copy link

wgumaa commented Dec 3, 2022

@raderarn thanks for the info, but I can’t find the beta version of HA.

@wgumaa
Copy link

wgumaa commented Dec 4, 2022

Can anyone point me to the HA beta so I can try? My S1255 is next to me :)

@raderarn
Copy link

raderarn commented Dec 4, 2022

@wgumaa if you run hassio or supervised, then you navigate to /hassio/system/info and on the supervisor, click join beta channel. If you run Core this article has instructions for beta: https://www.home-assistant.io/common-tasks/core/

@wgumaa
Copy link

wgumaa commented Dec 4, 2022

Thanks @raderarn I was able to install the beta and set up the integration. The entities are now showing and yes they are disabled but I will go through and enable the ones that I need. I will report back any findings or issues. Thanks once again.

@wgumaa
Copy link

wgumaa commented Dec 5, 2022

Hello everyone, I have installed the beta and here are the results/comments for the S1255 pump.

C835EE12-FE04-4FE1-8439-D515B82F2783
For the entities I use and need so far all work as should except the following:

More Hot Water: This is currently a slider with a value of -128 to 127. For the S series pump that should be just on/off or 1/0. If I slide to to 127 I can see the More Hot Water on the pump activated.

As for energy, the S series pump (3 phase) has a built in energy meter that shows both consumption, and output.

I was able to to activate sensor.instantaneous_used_power_32167 to get the instant energy consumption, and created a INTEGRATION - RIEMANN SUM INTEGRAL but was not able to get it to the energy dashboard.

402DED46-DA4D-4F41-92E5-D5C7FF56152A

When I was using a simple read only yaml file, the energy readings were working and the it looked like this:

  • name: "Heatpump - Power Usage"
    unique_id: "power_usage"
    unit_of_measurement: "W"
    data_type: int16
    device_class: power
    address: 2166
    input_type: input
    scale: 1
    precision: 0
    slave: 1

The sliders all work and I will explore more options at a later time.

@kenpaisimmu
Copy link

Hi everyone I need your help!
I just installera the Nibe Integration and connected to My S320 successfully. I find the heat pump and 755 entities. When I try and enable the ones I want to use it comes up as unavailable, what am I doing wrong?

@elupus
Copy link
Owner

elupus commented Dec 8, 2022

Can we not use this as ticket as a support forum for nibe S series Lets move this over to the forums. Start a new thread there, and post a link here then i will close this ticket.

@raderarn
Copy link

raderarn commented Dec 8, 2022

@elupus now I have created a new thread on the community :)

https://community.home-assistant.io/t/discussions-about-nibe-s-series-and-the-integration/499985

@elupus elupus closed this as completed Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests