Nilan heatpump cts 700

heating
nilan
integration
Tags: #<Tag:0x00007f013fec6598> #<Tag:0x00007f013fec6408> #<Tag:0x00007f013fec62a0>

(NickMa) #1

I wanted to move the Nilan heatpump CTS 700 discussion in a separate thread.

@Tapani_Janhunen @Dieter_Janssens @GuidoDirkes any progress concerning the CTS700 integration, communication bringup, Setup snippets, anything?

Best, Nick


OpenHAB1/2 Nilan heatpump
OpenHAB1/2 Nilan heatpump
(NickMa) #2

Also if you need any help for a bringup, I can give you a little bit of support.


(Guido Dirkes) #3

I have started just the real basics, reading some of the registers via modbus. You can find the current version on github: https://github.com/DGuidoHD/OH2-cts700 (Part of it may still be in German)

Main trouble is time :slight_smile: … didn’t try yet to get access to the protected registers, also the compressor state reading and mapping to readable values is pending. But I tried to calculate the warm water capacity, but the result is still pretty bad once the bottom temperature drops below 35°C… I plan to continue…


(NickMa) #4

Looks like a nice start! :slight_smile: Do you know any of the passwords [page 9] {Superuser, Installer, Administrator} ?

Do they have an ssh server running, reachable via the same ip?
Best


(Marko Rintamäki) #5

Hi.

The administrator password is 6699.

-Marko


(NickMa) #6

superuser password may be “7675” or “7576”?
@mRintamaki can you confirm that?

Best, Nick


(Marko Rintamäki) #7

Yes it is 7675. You can read all passwords with modbus using password 6699. I have a pdf guide modbus register. With the guide I got to read the register. I am a new user. I can not download the pdf file here.


(Mikkel Holm Olsen) #8

I have a Nilan Compact P ventilation system (without central heating) with CTS 700. The panel is the “old” type with the wheel, not the touch screen.

Can anyone here give a short getting started guide?

Is it simply:

  1. Connect the network cable to local LAN (I assume it is the cable with RJ45 connector hanging inside the unit).
  2. Configure Nilan IP address, etc., via the panel.
  3. Try to establish basic communication using @GuidoDirkes repository as a template. Starting with a few items, e.g. reading the temperature sensors would make me happy.
  4. Continue to expand and experiment.

Are there any other things to be aware off? Things that would be different in my setup (since I don’t have central heating, but only ventilation, heat recovery and sanitary hot water)?

Thanks in advance.


(Jakob Jensen) #9

I am eager to know the same! :+1:t2:


(Mikkel Holm Olsen) #10

OK, I did a few experiments, but I am running into problems.
I changed the network settings to fit my network, but I am still having problems connecting. Most of the time I get “no route to host”, but sometimes i get replies to ping, and I was able to access a very crude website on port 80. Is the TCP interface only enabled sometimes (e.g. only when logged in as administrator on the panel?)

I tried to setup the modbus binding, based on a snippet from @GuidoDirkes repository:

poll=10000
# temperature sensors t1-t12 - VAL_DEV_TSENS1 - VAL_DEV_TSENS12
tcp.NilanTemp.connection=10.15.17.107:502
tcp.NilanTemp.id=1
tcp.NilanTemp.start=5152
tcp.NilanTemp.length=12
tcp.NilanTemp.type=input

But my log is simply flooded with errors:

2018-10-01 19:58:57.170 [ERROR] [.binding.modbus.internal.ModbusSlave] - ModbusSlave (NilanTemp): Error getting modbus data for request net.wimpi.modbus.msg.ReadInputRegistersRequest@30e4db7b. Error: Error Code = 2. Endpoint ModbusTCPSlaveEndpoint@88217b9[address=10.15.17.107,port=502]. Connection: TCPMasterConnection@399c15da[socket=Socket[addr=/10.15.17.107,port=502,localport=34588]]
2018-10-01 19:59:07.176 [ERROR] [.binding.modbus.internal.ModbusSlave] - ModbusSlave (NilanTemp): Error getting modbus data for request net.wimpi.modbus.msg.ReadInputRegistersRequest@34513de3. Error: Error Code = 2. Endpoint ModbusTCPSlaveEndpoint@88217b9[address=10.15.17.107,port=502]. Connection: TCPMasterConnection@6ad7ddb5[socket=Socket[addr=/10.15.17.107,port=502,localport=34590]]
2018-10-01 19:59:17.181 [ERROR] [.binding.modbus.internal.ModbusSlave] - ModbusSlave (NilanTemp): Error getting modbus data for request net.wimpi.modbus.msg.ReadInputRegistersRequest@932f376. Error: Error Code = 2. Endpoint ModbusTCPSlaveEndpoint@88217b9[address=10.15.17.107,port=502]. Connection: TCPMasterConnection@5d5cb71d[socket=Socket[addr=/10.15.17.107,port=502,localport=34592]]
2018-10-01 19:59:27.186 [ERROR] [.binding.modbus.internal.ModbusSlave] - ModbusSlave (NilanTemp): Error getting modbus data for request net.wimpi.modbus.msg.ReadInputRegistersRequest@16595c3e. Error: Error Code = 2. Endpoint ModbusTCPSlaveEndpoint@88217b9[address=10.15.17.107,port=502]. Connection: TCPMasterConnection@2e05f2bc[socket=Socket[addr=/10.15.17.107,port=502,localport=34598]]
2018-10-01 19:59:37.191 [ERROR] [.binding.modbus.internal.ModbusSlave] - ModbusSlave (NilanTemp): Error getting modbus data for request net.wimpi.modbus.msg.ReadInputRegistersRequest@363d95c9. Error: Error Code = 2. Endpoint ModbusTCPSlaveEndpoint@88217b9[address=10.15.17.107,port=502]. Connection: TCPMasterConnection@372c0182[socket=Socket[addr=/10.15.17.107,port=502,localport=34600]]
2018-10-01 19:59:47.196 [ERROR] [.binding.modbus.internal.ModbusSlave] - ModbusSlave (NilanTemp): Error getting modbus data for request net.wimpi.modbus.msg.ReadInputRegistersRequest@409bd5dd. Error: Error Code = 2. Endpoint ModbusTCPSlaveEndpoint@88217b9[address=10.15.17.107,port=502]. Connection: TCPMasterConnection@176ce6a3[socket=Socket[addr=/10.15.17.107,port=502,localport=34602]]
2018-10-01 19:59:57.201 [ERROR] [.binding.modbus.internal.ModbusSlave] - ModbusSlave (NilanTemp): Error getting modbus data for request net.wimpi.modbus.msg.ReadInputRegistersRequest@4cb822b4. Error: Error Code = 2. Endpoint ModbusTCPSlaveEndpoint@88217b9[address=10.15.17.107,port=502]. Connection: TCPMasterConnection@3c91827b[socket=Socket[addr=/10.15.17.107,port=502,localport=34604]]
2018-10-01 20:00:07.206 [ERROR] [.binding.modbus.internal.ModbusSlave] - ModbusSlave (NilanTemp): Error getting modbus data for request net.wimpi.modbus.msg.ReadInputRegistersRequest@6ce375a3. Error: Error Code = 2. Endpoint ModbusTCPSlaveEndpoint@88217b9[address=10.15.17.107,port=502]. Connection: TCPMasterConnection@5cd1b618[socket=Socket[addr=/10.15.17.107,port=502,localport=34608]]
2018-10-01 20:00:17.212 [ERROR] [.binding.modbus.internal.ModbusSlave] - ModbusSlave (NilanTemp): Error getting modbus data for request net.wimpi.modbus.msg.ReadInputRegistersRequest@7bb5eff7. Error: Error Code = 2. Endpoint ModbusTCPSlaveEndpoint@88217b9[address=10.15.17.107,port=502]. Connection: TCPMasterConnection@2a85fdc9[socket=Socket[addr=/10.15.17.107,port=502,localport=34610]]

The software information page on the panel shows:
Display SW: 01.30.00 (2015-06-19)
Display HW: 00
Styring SW: 1.40.05.38 (2015-08-25)
Styring HW: NCS-700

@GuidoDirkes: Do you have any suggestions? Which model of heatpump do you have, and which software versions?


(Mats Faugli) #11

I’m also having trouble with connecting via tcp. I can ping the device, but when I try to initiate a connection with the python package pymodbus (I like testing from the command line just to see what’s happening) it fails to connect (no error message either). Does anyone have any tips for further investigation?


(NickMa) #12

Hi @fowlie please be more verbose (i.e. code, port, registers, …), it’s hard to help you with that little information.
Are you trying the same registers as the one DGuidoHD uses?


(NickMa) #13

That sounds awkward, maybe the target is to slow? Network problems? I usually stick to a minimalistic (python) bringup - please follow @fowlie.

Are you able to test that yourself and give us feedback?


(Mats Faugli) #14

@nickma82 yes I’m trying to read the same registers to get the temperature sensor values. So same register, same port (502) but different ip. My home network is 192.168.10.x so I changed the ip address on the cts 700 from 192.168.5.107 to 192.168.10.97. I also use a Netgear Wifi Adapter to connect the ventilation system to my home network. I have the Nilan Compact P solution with the cts 700 touch display. I can ping the Nilan system and I always get a fast response. However I cannot connect to it. I even tried with telnet 192.168.10.97 502 but no answer. There’s apparently a website hosted on port 80 according to replies in this thread, but trying to curl on port 80 also leads to timeout. So what makes the system respond to ping, but not tcp connections?


(Mats Faugli) #15

I should add that I also changed the ip address for “network port” from 192.168.5.1 to 192.168.10.1. Maybe this is causing the error, because that ip belongs to my home router. I don’t know what this “network port” ip address is used for.