Openhab multiple gateways
-
Hi,
is it possible to configure multiple MySensors gateways (ie one serial and one ethernet) on single Openhab server?
-
@niccodemi Yes! There is no limitation.
-
@TimO thanks, that's great. Do I have to change the bridge name (gateway) for the second bridge to something else? Can I use same node IDs on both gateways?
Bridge mysensors:bridge-ser:gateway [ serialPort="/dev/pts/2", sendDelay=200 ] { humidity hum01 [ nodeId=172, childId=0 ] temperature temp01 [ nodeId=172, childId=1 ] light light01 [ nodeId=105, childId=0 ] light light02 [ nodeId=105, childId=1 ] } Bridge mysensors:bridge-eth:gateway [ ipAddress="127.0.0.1", tcpPort=5003, sendDelay=200 ] { humidity hum01 [ nodeId=172, childId=0 ] temperature temp01 [ nodeId=172, childId=1 ] light light01 [ nodeId=105, childId=0 ] light light02 [ nodeId=105, childId=1 ] }
-
@niccodemi yes, you need to use different names for different things in Openhab. Name it as you like.
The node id is unique per gateway, so you may use the same node id on different gateways/networks.
-
@TimO said in Openhab multiple gateways:
@niccodemi yes, you need to use different names for different things in Openhab. Name it as you like.
The node id is unique per gateway, so you may use the same node id on different gateways/networks.I have problem with 2 MQTT gateways, mysensors binding prasing only one mqtt topic. Also in new OH2.5 is problem selecting Mysensors Mqtt Gateway.