openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.88k stars 3.59k forks source link

[paradoxalarm] When using two different bridges the same IP address gets sent to the communicator #13628

Closed theater closed 1 year ago

theater commented 1 year ago

This is a copy paste from the following community issue: [https://community.openhab.org/t/paradox-evo-binding/58026/58]

As far as I can see, the problem is that both comunicators gets the same IP address and one is timing out…

See those lines:

2022-10-31 15:20:03.894 [DEBUG] [l.handlers.ParadoxIP150BridgeHandler] - Phase2 - Creating communicator for panel EVO192

2022-10-31 15:20:03.897 [DEBUG] [.communication.ParadoxBuilderFactory] - Creating new builder for Paradox EVO192 system

2022-10-31 15:20:04.082 [DEBUG] [l.communication.AbstractCommunicator] - IP Address=10.10.6.10, TCP Port=10000

2022-10-31 15:20:04.099 [DEBUG] [al.communication.GenericCommunicator] - Use encryption=false

2022-10-31 15:20:04.113 [DEBUG] [ternal.communication.EvoCommunicator] - PanelType=EVO192, Max Partitions=1, Max Zones=16

2022-10-31 15:20:04.184 [DEBUG] [l.handlers.ParadoxIP150BridgeHandler] - Phase2 - Creating communicator for panel EVO192

2022-10-31 15:20:04.185 [DEBUG] [.communication.ParadoxBuilderFactory] - Creating new builder for Paradox EVO192 system

2022-10-31 15:20:04.188 [DEBUG] [l.communication.AbstractCommunicator] - IP Address=10.10.6.10, TCP Port=10000

The second IP should be 192.168.100.2 not 10.10.6.10 again.

openhab things are set like this:

In paradox_mcs.things file:

Bridge paradoxalarm:ip150:mcs "Paradox IP150 MCS" [refresh=3, panelType="EVO192", ip150Password="paradox", pcPassword="0000", ipAddress="10.10.6.10", port=10000, reconnectWaitTime=10, maxPartitions=1, maxZones=16 ] {}

In paradox_vb.things file:

Bridge paradoxalarm:ip150:vb "Paradox IP150 Vulcana" [refresh=10, panelType="EVO192", ip150Password="paradox", pcPassword="0000", ipAddress="192.168.100.2", port=10000, reconnectWaitTime=30, maxPartitions=1, maxZones=16 ] {}

openhab-bot commented 1 year ago

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/paradox-evo-binding/58026/582