11-22-2023, 09:40 AM
(11-21-2023, 11:52 PM)admin Wrote: tell me your application case? such as one raspberry pi's RS485 for "MASTER". one HAv2 for "SLAVE"? or one "MATER", multi "SLAVE"?
Dear Miss, Sir,
thank you for your answer.
On the RS485-bus I use multiple components.
As masters there are kc868-ha (6pcs), kc868-A4S, kc868-E16S {to send commands}
and as slaves I use the same boards {to receive commands},
plus a modbus expansion relais board & multiple Modbus sensors.
For example; A pushbutton connected on a kc868-HA makes the HA send a message, read by the kc868-E16S, treated by the 'cover'- component, ad then E16S sends a message on the bus, read by kc868-HA who close HArelay2, and read by kc868-A4S who puts a PWM of 50% on GPIO 9.
The supervision is done on a asus Tinkerboard with HomeAssistant (only supervision and programming).
Easy would be to have a firmware for the kc868-HA that is compliant with the ESPHome Modbus-component (no need for KCS ).
Looking forward to your answer.