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.


 

315
Online

8.9k
Users

9.6k
Topics

100.9k
Posts