I have found this Nilan_Homeassistant on your github and installed it and using your config and i get all the things in home assistant but i dont get any temperatures nor is it online i can change the the fanspeed so sending is ok but reciving seems to be not working as i can see the the i use ttl to rs485 DE pin is connected to D3 RE to D2 Di to Tx and RD to RX no the nodemcu but it seems to only beeing able to send not recive maby i did something wrong i hope you can give me a hint and i i am using the right pins on the nodemcu i have some error in mqtt log ( 1560509802: Socket error on client 00FDF9EF, disconnecting.
1560509802: New connection from 192.168.1.133 on port 1883.
[INFO] found kenn on Home Assistant
1560509805: New client connected from 192.168.1.133 as 00FDF9EF (c1, k15, u’kenn’).
hope to have some ideas seams to me like it never change to recive since i must be half dublex
Hi, i am trying the same @dyrvig and getting the device online, but i can only sent not receive information from my Nilan, did you manage to fix your problem? and can you tell me how i can fix mine?
i have also made it read and write more registers i will make a github soon then i will share it
i have a nilan compac s with heatpump and water boiler
i dont have github yet but i got it from this https://github.com/jascdk/Nilan_Homeassistant i got it to work and also got it to work in Openhab but had too many problems getting everything working so i am back to direct modbus connection and this setup https://github.com/starze/openhab2 pyton script creates all items and sitemap here is a screendump
Hey - I might not have been clear in my wording. I’m using the tcp-modbus connection that came with my Nilan Compact P. I can only assume that it is standard for my model (but I have only seen the one I have). I got it installed as part of a new house.
My wording was chosen this way, because I’ve seen many people use the built in modbus ports, that require more “disassembly”/hacking - attaching various boards to these ports and reading the data via modbus dongles.
I do not have any info on the Compact Air 9, but would assume, that if it is a newer device, it would also have modbus-tcp.
Hi Jakob,
I have been using your config from https://gist.github.com/jakobmoll/c29877d584cc6970e6316173a6e4b561
and everything is working fine, i get data and can use them. Thanks for that - PERFECT
I have a Nilan Compact P GEO and have more options to get additional data from the NILAN device.
I use TCP modbus and the homeassistant 0.107.1 and my config is the following.
If i look in the NILAN documentation of CTS700_MODBUS_protokol.pdf the humidity register is called 21776 - how is this translated into register 4716 (16 bit) Hexidecimal but translated to decimal this is 18198.
I am also trying to get GEO data which is on slave ID 4 and the sensors here is register 21841 but unable to understand what hex number i should add the in configuration.yaml
It’s been a while since I looked into the docs, but I found the following document/link that I belive I used:
In this document, I’ve used the register 4716 - defined in here as: “Value of Humidity sensor”.
Not sure about your document, but I must admit I seem to remember having downloaded several different sets of documents, that weren’t completely consistent.
Hope this helps.
/jakob
ps. I’m still looking for a way to turn on/off active cooling - let me know if you find out how to do that