genielabs / HomeGenie

HomeGenie, the programmable automation intelligence
https://homegenie.it
GNU General Public License v3.0
393 stars 155 forks source link

Remote LIRC receive event overwrites local IRSEND config #26

Closed Jens1234 closed 10 years ago

Jens1234 commented 10 years ago

Hi Gene,

the following issue is encountered

Use a second HG box to forward irreceive commands to the first box

Solution already proposed by you in the forum:

the problem is that the SignalEvent function used to receive events from a remote hg, uses the same >domain/name for the remote module, so it overrides the local Lirc IR module that stops working. >Things starts working again if you use the "Reset Modules Routing" function.
The solution is to adopt the same naming convention used by MQTT program that put the protocol >and remote hg address in front of the domain name of the module originating the event. So the local lirc module would keep working and the remote one as well too but under a different >domain (eg. "HGIX:hg-server-01.Protocols.LircRemote").

Thanks Jens

genemars commented 10 years ago

this is fixed by next coming commit (r413)