Hi,
Sorry for that question from a newbie at HA
System: Raspi5, HA-OS
If I try to integrate Modbus, it will not be displayed at entities, and if I will add it at entities or devices, I got the message: do it at yaml
My Config.yaml (shows green)
’’’
/# 2025.12.15 Add RS485/Modbus
modbusa:
-
name: “modbusa”
type: serial
method: rtu
port: /dev/ttyUSB0 # /dev/serial/by-id/usb-FTDI_USB_Serial_Converter_FTB6SPL3-if00-port0
baudrate: 9600
stopbits: 1
bytesize: 8
parity: N
delay: 4/# Digital Input Cards
digital_in:- name: “di_48_1”
slave_id: 1 # 48 Port Digital Input<<-- Slave ID of your device
device_address: 1 # ident to slave_id
scan_interval: 5 # 5 sekunden’
address: 192
data_type: int16
input_type: coil #holding # discrete_input, coil, holding or input (dchi)
’’’
- name: “di_48_1”
→ Config restart, raspi restart, power off/ on,… nothing appears
Used USB stick: FT232 to RS485, board: Eletechsup 24DIB32 with addresse 1:
Test with laptop and commix.exe:
01 03 00 C0 00 03 05 F7 → 01 03 06 24 00 00 00 00 00 27 91
01 02 00 00 00 08 79 CC → 01 02 01 00 A1 88
Same stick and board is working at Raspi 3B with raspian and FHEM.
(One time I saw a message modbus_1 not found, so I changed to modbusa, but no messages again)
What can I do (and how)? testing, debugging, to get more information at logs,…
Thank you for your input and help
Best regards, Herbert