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.
modbus:
name: nilanmodbus
type: tcp
host: 192.168.1.250
port: 502
I have been trying to translate the following with register 4716 which reads fine in my device
- platform: modbus
scan_interval: 20
registers:
- name: nilan_humidity
hub: nilan
unit_of_measurement: ‘%’
slave: 1
register: 4716
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
Thanks, help is appriciated.
Regards
Poul