frodef / nilan-cts600-homeassistant

Home Assistant integration for Nilan ventilation units with CTS600 controller.
The Unlicense
8 stars 3 forks source link

Changing temp throws an error #13

Open itiotdk opened 1 week ago

itiotdk commented 1 week ago

Fully updated home assistant

i get this when changing temp in the climate window:

Failed to perform the action climate/set_temperature. ('Failed to enter thermostat input mode.', 'COOL/{>1<} 27°C', '>1<')

i can change fan speed ok

itiotdk commented 1 week ago

Got this in the log Detected that custom integration 'nilan_cts600' calls async_track_state_change instead of async_track_state_change_event which is deprecated and will be removed in Home Assistant 2025.5 at custom_components/nilan_cts600/coordinator.py, line 101: async_track_state_change(hass, sensor_entity_id, self._update_T15_state), please report it to the author of the 'nilan_cts600' custom integration

itiotdk commented 1 week ago

and this: WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to glob with args ('/dev/ttyS',) inside the event loop by custom integration 'nilan_cts600' at custom_components/nilan_cts600/config_flow.py, line 46: for p in serial.tools.list_ports.comports() (offender: /usr/local/lib/python3.12/site-packages/serial/tools/list_ports_linux.py, line 92: devices = glob.glob('/dev/ttyS') # built-in serial ports), please report it to the author of the 'nilan_cts600' custom integration

frodef commented 1 week ago

Thanks for your report. What is the model of your ventilation unit, and approximately what year is it from?

itiotdk commented 1 week ago

Its a nilan comfort 300 from around 2013-15. its new - has never been used. printboard is cts600

frodef commented 1 week ago

Can you do this from HA: Press ESC button a few times to reset the display. Then press the Enter button once. What is the display text now?

itiotdk commented 1 week ago

And thanks for your work! i love that we dont have to upgrade stuff when it works :-)

itiotdk commented 1 week ago

OFF {>1<} 34°C

itiotdk commented 1 week ago

just saw this too: Firmware: sw=103,protocol=100

itiotdk commented 1 week ago

Display shows this after a restart of the unit KØL >1< 34°C. but if i press enter in ha it changes to. KØL {>1<} 34°C

frodef commented 1 week ago

Thanks. We expect the unit to go into "adjust temperature" mode with the first (single) press of the enter key. It looks like yours instead goes into "adjust fan speed" mode.

  1. Can you remember when using the original controller/console if you press Enter once or twice in order to adjust the temperature?

  2. And/or if you press Enter twice (or more?) in HA, will the curly braces move over to the temperature?

  3. Lastly, the integration is upon startup supposed to change the CTS600 language to english. Does this not work, or did you manually change it back to danish?

itiotdk commented 1 week ago

1 I actually can’t change the temp from the menu. The unit is new and has never been installed and is on my floor for the moment. Easier to debug…

  1. Will try tomorrow. Not home now
    1. I changed to danish manually
itiotdk commented 1 week ago

I Think i read somewhere that you can't adjust temperature unless you have a heater in the unit. But in my old unit I could and without heater (other brand)

frodef commented 1 week ago

Just to make sure: I believe the CTS600 has not been produced since quite a few years. I'm assuming you means it's new but "old stock", and are certain that it is CTS600 and not some newer controller.

Hopefully it's possible for you to connect the original console and verify that temperature adjustment works as expected. If there's no cooling or heating it makes sense that there's no thermostat.. :)

frodef commented 1 week ago

... it seems to me the Comfort 300 is just a passive heat exchanger, and hence no temperature adjustment unless you have the optional heater element. Maybe your old unit had some sort of active heat exchanger? For example, I (also) have a heat exchanger that uses a rotating aluminum wheel to transfer heat, and the thermostat determines the speed of the wheel rotation.

itiotdk commented 1 week ago

It's new old stock. I Think youre right. I can't set temp with the org remote controller. I bet its a flexit you have. My old one is too. :-)

So I just use the fan speed for my automation s. That works. Thanks

itiotdk commented 1 week ago

It is a cts600 inside. I took it apart to fix the bypass motor. Somehow is was damaged

I actually have a external heater that I could wire up.

itiotdk commented 1 week ago

I'll install it and try to activate the thermostat function with my external heater and return her to debug.

Thanks for your input.