Openhab multiple gateways



  • Hi,

    is it possible to configure multiple MySensors gateways (ie one serial and one ethernet) on single Openhab server?


  • Hero Member

    @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 ]
      }
    

  • Hero Member

    @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.


Log in to reply
 

Suggested Topics

  • 22
  • 1
  • 135
  • 5
  • 4
  • 7

13
Online

11.4k
Users

11.1k
Topics

112.7k
Posts