jascdk / Nilan_Homeassistant

Use your Home Assistant to control and read values from your Nilan air vent system
54 stars 25 forks source link

Port bricked because of data-transmission? #32

Closed BLiHSBO closed 1 year ago

BLiHSBO commented 1 year ago

With the aliexpress 3$ board I could not establish a connection. For testing I bought the way more expensive "DSD Tech SH U12 RS485 to TTL" on Amazon, it worked on first try. The board has a great quality. There has been a flawless connection for several weeks.

I then wanted to test setting the fan level and set VentSet to 4. After some seconds it timed out and since then there is no connection possible anymore, status is "Modbus connection failed" on any command, except for help.

Power cycling the unit did not help. I even bought another RS-485 TTL converter board kit. Using two NodeMCU ESP8266 boards I can verify they all work, there is a stable transmission of data.

The Nilan control on default line A2B2 is working. Connecting the converter on these lines does not work.

It seems the RS485 A1B1 port is bricked. Is there a technical reason for this, maybe because the Nilan unit is missing optocouplers and did not stand a surge?

BLiHSBO commented 1 year ago

Issue solved.

calling "set/control/VentSet/4"

changed the Modbus ID of the CTS602 to 4. Using the service menu I was able to change it to the default of 30.

Service menu can be accessed with pressing down and enter for 10 seconds. Then it shows as a new menu point.