Very off topic, I am looking to circumvent openHAB altogether !!
I would like to mirror contacts across a LAN, directly from one little digital input box to another relay output box.
The actual application is to carry an alarm output provided by relay contacts, across an existing WiFi bridge between buildings, and reproduce with another relay. With minimal complication, being an alarm - a point to point installation.
Bi-directional would be useful, as would two-channel. WiFi or wired ethernet.
There are a couple of relatively expensive commercial solutions to do this, example
But there are many cheap LAN enabled relays (though not so many with input as well).
It seems like something a Tasmota loaded Sonoff should be perfectly capable of doing - set up one as “mirror master mode”, one as “mirror slave”, set up IP address targets, and have one GPIO control the other’s relay. But as far as I can tell, no such capability.
I don’t want to build and program my own solution from bits, a ready made module preferred.