veista / nilan

Nilan integration for Home Assistant
Apache License 2.0
48 stars 11 forks source link

New Device Nilan Comfort 300 (Top) #4

Closed gllmlbrt closed 1 year ago

gllmlbrt commented 1 year ago

Hi, I think I got the Modbus bridge running, and now I get an error when trying to set up the integration through config flow. "invalid response from device". image

I checked the logs, on debug mode and there is no entry for the custom integration. I suspect it is due to an unsupported device.

Any idea ? I do not have HMI panel. Only CTS602. Item No.: "71104F", Model: "Comfort 300 Top" from year 2015

gllmlbrt commented 1 year ago

OK I will invetigate for an update...

input 114 and 115 are returning "illigal data access". So not available...

veista commented 1 year ago

Hmm. Ok. I will add the led info for your model.

veista commented 1 year ago

image

Last thing you could try is to read input registers in range of 1300-1399 and see if they work, that is why I am wanting an older manual.

gllmlbrt commented 1 year ago

Scanned one-by-on 1300 to 1399, not avaiable. "illigal".

veista commented 1 year ago

I added a new release. Hope it works for you.

gllmlbrt commented 1 year ago

Thanks works all great, apart from still the missing climate entity with fan speed control which quite important. Aside from the missing climate thing, I am confortable picking it up from here and forking it for myself for minor improvements etc... and even submit some PRs if useful.

But I would not know where to start for the climate entity...

veista commented 1 year ago

I will fix this, sorry for it not working already.

gllmlbrt commented 1 year ago

I will fix this, sorry for it not working already.

Ahah !! why would you be sorry for that ! I was just wondering if I did something wrong... Thanks so much for the help so far. I think this integration is far more elegant with direct modbus com than clumsy MQTT entities ! I will be patient, no worries and no urgency !

veista commented 1 year ago

Ok, so can you test if input registers 1100, 1101, 1102 work with qmodmaster?

veista commented 1 year ago

It should come up now, though I think register 1101 didn't work on your device so the status doesn't work as it is supposed to. If 1100 works I could replace it with that and also add that as a sensor.

gllmlbrt commented 1 year ago

So nothing on 1100, 1101 and 1102 do not read anything. Illigal.

My my previous config, it was all writtent and read from Holding register control.VentSet address 1003. I worked jsut fine, and it works fine now when readind and writting with qmodmaster functions... Could that work, to have the 1003 Holding as a set and state ?

veista commented 1 year ago

Hi, unfortunately that wouldn't work. I guess I can take the current release out of beta?

gllmlbrt commented 1 year ago

unfortunately that wouldn't work.

Hold on, I was able to have the climate entity in the first beta you made, and I could eventually perfectly adjust the fan speed, and it reported correctly as fan state... so why wouldn't be possible to have the same as at the beginning ?

veista commented 1 year ago

Did you try the 1.0.14B?

gllmlbrt commented 1 year ago

Did you try the 1.0.14B?

Nope, I hadn't seen that you released one, but now I tried, and yes it all works like a charm ! Definitely can go out of beta... I will fork from here if I feel it is needed. Thanks a LOT !