Page 1 of 1

MySensors LAN IP-address?

Posted: Thursday 09 March 2017 11:18
by Teknor
Hi,
Is it something I need to take into consideration when setting up MySensors connected to Domoticz? I'm a bit confused then it comes to the different IP-addresses and what they mean. I'm using the hardware type "MySensors Gateway with LAN interface" in Domoticz. There are three places where I see different IP-addresses (see bellow).

Will this setup make MySensors and Domoticz to spin?

From Raspberry MySensors debugging log:

Code: Select all

mysgw: Starting gateway...
mysgw: Protocol version - 2.1.1
mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1
mysgw: TSF:LRT:OK
mysgw: TSM:INIT
mysgw: TSF:WUR:MS=0
mysgw: TSM:INIT:TSP OK
mysgw: TSM:INIT:GW MODE
mysgw: TSM:READY:ID=0,PAR=0,DIS=0
mysgw: MCO:REG:NOT NEEDED
mysgw: Listening for connections on 0.0.0.0:5003 <-------------
mysgw: MCO:BGN:STP
mysgw: MCO:BGN:INIT OK,TSP=1
mysgw: New connection from 127.0.0.1 <------------
mysgw: Client 0 connected
mysgw: Client 0: 0;0;3;0;2;
mysgw: Client 0: 0;0;3;0;2;Get Version
mysgw: Client 0: 0;0;3;0;18;PING
mysgw: Client 0: 0;0;3;0;18;PING
From Domoticz log:

Code: Select all

2017-03-08 20:00:10.375 MySensors: trying to connect to: 127.0.0.1:5003 <--------------
..
2017-03-08 20:00:47.017 MySensors: connected to: 127.0.0.1:5003
I don't have any clients/nodes connected to MySensors yet as I want to make sure the GW is working before going to the next step.

Re: MySensors LAN IP-address?

Posted: Sunday 19 March 2017 1:10
by gohan
If gateway and domoticz are running on the same device, just use ip 127.0.0.1 that is the local address of ever computer.