RS485 relay configuration STM8S103F3

Hi everybody,

I’m trying to configure this RS485 relay https://www.amazon.it/dp/B07D9M9KZV?ref=ppx_yo2ov_dt_b_fed_asin_title using this USB adapter Greluma 2 Pcs Adattatore convertitore da USB a RS485 CH340 Chip 64-bit Adatto per Windows 7/8/Vista/MacOS/Linux : Amazon.it: Informatica without any success. Has anyboby succeeded in this?

Which integration are you using?

modbus integration . There’s no documentation coming with the relay. I don’t know what are the commands and address to use.

Then we can’t help.

Description link gives you some evidence for modbus protocol.
“Di seguito sono riportate le istruzioni di prova per il dispositivo numero 1: no. 1 relè chiuso: 01 06 00 01 01 00 d9 9aNo. 1 relè aperto: 01 06 00 01 01 01 18 5aNo. 2 relè chiuso: 01 06 00 01 02 00 d9 6aNo. 1 relè aperto: 01 06 00 01 02 01 18 aaNo. 3 relè chiuso: 01 06 00 01 03 00 d8 faNo. 1 relè aperto: 01 06 00 01 03 01 19 3aNo. 4 relè chiuso: 01 06 00 01 04 00 da caNo. 1 relè aperto: 01 06 00 01 04 01 1b 0aAll messo fuori: 01 06 00 01 00 00 d8 0aAll luce: 01 06 00 01 ff d9 ba”
emphasized text
Since you have rs485-usb converter, you could experiment with that relay board using some free PC software like CAS Modbus Scanner.
When you know all the addresses, you could use Esphome to control your relays.