Have a systemair SAVE VSR 300 ventilation unit. It can be controlled via the MODBUS protocol. So what i did - got myself some el cheapo RS485 adapter from aliexpress
Plugged it into RPi running HA and… Now i’m stuck.
The instruction manual for VSR states
1 Introduction
The unit works as a Modbus slave and complied with MODBUS over serial line specification and
implementation guide V1.0 if nothing else is mention in this manual.
2 Transmission modes
Modbus RTU.
Supported function codes:
1: Read Coils
2: Read Discrete Input
3: Read Holding Register
4: Read Input Register
5: Write Single Coil
6: Write Single Register
15: Write Multiple Coils
16: Write Multiple Registers
3 Physical layer
Two wire RS-485.
The supported communication parameters are:
9600 Bd or 19200 Bd.
No parity, even parity or odd parity.
4 Address
Slave address 1 to 247.
So i have set up the following in configuration.yaml
modbus:
type: serial
method: rtu
port: /dev/ttyUSB0
baudrate: 9600
stopbits: 1
bytesize: 8
parity: N
Than set up some temperature sensors
- platform: modbus
registers:
- name: Incoming Temp
unit_of_measurement: °C
slave: 1
register: 208
- name: Incoming Temp 1
unit_of_measurement: °C
slave: 1
register: 209
- name: Incoming Temp 2
unit_of_measurement: °C
slave: 1
register: 210
As in the manual it states that registers 208-218 are responsible for different temp readings. And for Access
(Reg./Coil) it states they are regs.
But in the logs i only get
WARNING (MainThread) [homeassistant.components.sensor] Updating modbus sensor took longer than the scheduled update interval 0:00:30#033[0m
WARNING (MainThread) [homeassistant.components.sensor] Updating modbus sensor took longer than the scheduled update interval 0:00:30#033[0m
ERROR (Thread-5) [homeassistant.components.sensor.modbus] No response from modbus slave 1 register 218#033[0m
ERROR (Thread-5) [homeassistant.components.sensor.modbus] No response from modbus slave 1 register 218#033[0m
So the questions
- Is there any simple software to test the connection in the first place? Win or mac based?
- Maybe i’m doing something wrong with the seup above?
Any help will be much appreciated