I’m trying to integrate my Nibe S1255 heat pump via Modbus tcp but fails. I have read in e.g. NIBE Uplink API component that @johanschelin managed to connect to a similair heat pump.
I have activated Modbus TCP in the heat pump according to the instructions i received. I have network connectivity via ethernet. I have tried a few configurations and the following is the one used in the link above:
Looks like the pump is not answering on modbus calls. Can you test with the free modbus scanner and see if it can connect? CAS Modbus Scanner - A free tool for communicating with Modbus devices (freemodbus.com)
Restart the S1255 maybe after activating modbus. Latest version of firmware on the pump?
Assign a fixed or reserved ip-number to the pump also just to be sure, even though you can see the active ip on the pump.
You can also export all available addresses by inserting a usb memory and go to menu 7,5,9, then click on export all addresses - to make sure they have the same settings (the S1155 and S1255 should use the same I think)
I have assigned a manual IP for the pump and I can ping it so from a network perspective I think it is correct. I restarted the heat pump but I still get the same error.
I download the CAS Modbus scanner and connected it. I’m not sure what to set the device to. Here is the response:
There is progress. I can’t really say what I have done but now I can get values via modbus with almost the same config as in the original post above.
I have set device_class and state_class now which I think makes it easier to use the entities over time.
Here is my config in my configuration.yaml: modbus: !include nibe.yaml
I have put the details in its own file since I assume it will be long and I want to minimize the risk of accidently introduce problems when editing other parts in my config.
My nibe.yaml currently looks like this (I have a few things in Swedish):
A few changes I made compared to what I got from earlier posts:
I have set the device_class and state_class to get some parts for free. At least I think I will benefit.
I have started to change scan_interval to a higher number for BT10 and BT11. I’m interested in if the drill hole gets colder or not. I’m not sure what is needed but less than what I had earlier.
Anyone with feedback on how I think is welcome! I have ideas but they are not always good.
So far I have only tried to read data. My intention is to control the heat pump in a few ways via HA:
I will add a sensor for inner temperature and try to control it by setting a wanted temperature inside.
Be able to set it in vacation mode
I would like to be able minimize both how much energy I consume but also minimize the cost. I would like to use hourly charging and use more electricity when it is cheap and less when it is expensive.
Since there are 1700+ parameters I think there is a lot that can be done…
I´m currently getting started setting up my Nibe S320/F2120-8 combination using modbus in HA.
I can already read some basic data like temperatures outside, flow, water, etc. but I´m currently struggling getting data about engergy consumption.
The display panel directly on the device is able to show it nicely like this:
So I would like to get the data in HA - my modbus-all export csv shows a few in kWh unit but it seems these are not directly read but calculated by the unit?
Has anybody already achieved displaying energy consumption in kWh of the heatpump?
Hi!
Sorry for late reply! I must have missed the notification.
I have to admit that I have not managed to set any values yet. I did try for a couple of times I have failed so far.
Have you managed?
Hi!
I have a S1255 and it might be different of course. I have the same view in my S1255. When I got mine installed I also got three clamps which I assumed was needed to be installed to be able to measure consumed energy. But, as you say if the heater has the information I don’t know what the clamps should be used for.
Maybe the 600 kWh that we see in your picture is calculated and not measured.
good point! I found the same clamps laying on my indoor module - explains why I´m not getting any values from it
But yeah still there has to be a way getting it somewhere else as the device also seems to be able to get those.
I managed to connect my Nibe VVM S320 with F2120-16 pump to my HA. I have to set count and precision on some sensors and have to figure out, how to display pump priority (heating/hot water) and status of ext. heater. Did anyone manage to send some commands to the pump? I am only getting reads.
I see you were able to get all the values to display. I am having a slight problem with my set up.
I was able to connect and get the value of the outdoor temperature. But I cant do much with it! It shows up in sensors, but I get an exclamation mark next to it -
"This entity (‘sensor.nibe_outdoor_tempertature_bt1’) does not have a unique ID, therefore its settings cannot be managed from the UI. "
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.