Ok, admittedly this is a weird scenario... I have two HomeGenie servers using Raspberri Pi hardware.
HG #1 is at the end of my driveway and I use it to open my gate, monitor the status of the gate (open/closed), monitor the mailbox (once opened I know the mail has arrived), and a few other sensors such as PIR, etc. All of this through GPIO w/ wired magnetic switches, wired PIR sensors, and a relay board is used to trigger the gate opener if I need to open the gate via the HG app.
HG #2 is inside my house. It has a Z-Wave module and is used for more traditional home automation stuff. Lights mostly. I also use the GPIO (with a relay board) to interface with my alarm system so I can open/close a relay wired to a contact on the alarm system.
I am using Sensor.* events forwarding and Status.Level events forwarding from HG #1 to HG #2. BUT, ideally I'd like to be able to send these events in both directions. Here's the use case. Someone pulls into the gate and opens it. HG #1 sends the open contact sensor event to HG #2, which then opens a relay on HG #2 connected to my alarm system. Then I'm notified by the alarm system (via a chime, voice, whatever) that the gate has been opened. I have all of this working today. The issue is with sending an event BACK to HG #1 from HG #2 via the events forwarding program. I'd love to be able to control lights, etc. at the end of my driveway via HG #2 since I use it as my home automation server. If I enable events forwarding on both HG servers, the forwarded events get forwarded back to the other HG server, creating an infinite loop of events, and creating hundreds of 'sensors'. Eventually both HG servers crash. I found it hilarious when I figured this out... I don't know what I expected to happen.
TL:DR, is there a way to forward events (both directions) between multiple HG servers without creating an infinite loop?