Victron + Nibe Heatpump via Sunspec

Sound good in theory because I can’t get it working. Both side have modbus tcp active, I’ve configured the Nibe to connect to victron with IP and port 502, using IDs 1, 100, 126.. no matter what, I get “inverter disconnected”. I can connect to victron just fine from my notebook, so it’s definitely available.

In victron I’m seeing an error message:

To me it seems that cerbo doesn’t really fulfill the sunspec standard where the standard registers are starting at 40000+

Did anyone get this working?

Do you have a data sheet for me?

there you go: https://nibe.ua/document_search/file?test=/files/3/documents/MODBUS%20S%20серія%20(en).pdf&srsltid=AfmBOooxDh2hp7yBVXotp5MUqy73WEW9ar7mz5ggTsvIYPfgc-UJZRTM

Are you terminal literate or do you want to node-red this?

Before you go the node red way have a look at your
*Settings > Services > Modbus TCP
And see if that’s enabled.

You can also do Settings > PV Inverters > Inverters to see if the cerbo can see the nibe.

There may also be a conflict, the data sheet you provided implies that the nibe wants to be the one asking for the data, not the other way around.

Im sure you know this, but like you said they are passing each other on two parallel highways 100m apart.

Do you want to Go the node-red way? Or do you want me to write a translation layer for it ?

Current sunspec support is limited to PV inverters only.
You would need to integrate this manually.

Hi Dru,

the Nibe is indeed one asking for data. I would like to keep it this way. Node-red is an option for me. I have already tried this approach (with help of the Gemini AI) but couldn’t get Nibe to connect. Nibe seems particular strict when it comes to SunSpec, everything need to be exactly as expected or it won’t work.

Last try was having Cerbo pretending to be a Huawai Sun2000 device since these seem to be less complicated when combined with Nibe heat pumps. Unfortunately that didn’t work either.

Nick do you think I should help with this?

If you want to spend your time writing integrations for members that is your choice, I am sure they won’t say no.

Please be aware that the guidance given above about where the system should appear is incorrect as it isn’t a supported device type.

1 Like

Okay

@gschramm

The logic can be written.

The questions above were to acertain if anything had been configured. I could have just as well asked if you already had modified your system.

Tell meif or how youd like to proceed.

@nick Can you elaborate on this? Whats wrong here? What am I missing in this setup to get it working?

Nodered supports mqtt nodes. You can talk to anything that supports that and customise from there.
We don’t have a heatpump virtual device yet, hopefully soon but I have integrated my HP into vrm (only interested in reporting) and it doesn’t support modbus but is tuya based.


I already got Victron integrated into HomeAssistant via mqtt. Nibe HP is also integrated with the regular Nibe integration (modbus based I believe). So both devices can talk to HA just fine.. but they can’t talk to each other. I’m ok with getting data to Nibe via HA, as long as I can make use of the Smart-Energy features of the HP.