MySensors LAN IP-address?

Moderator: leecollings

Post Reply
User avatar
Teknor
Posts: 30
Joined: Monday 08 February 2016 13:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.48
Location: Norway
Contact:

MySensors LAN IP-address?

Post 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.
Raspberry Pi 3 | EasyESP NodeMCU v3 | RFXTRX433e | Mysensors NRF24L01 | MotionEYE | PikrellCam
gohan
Posts: 36
Joined: Monday 13 February 2017 23:42
Target OS: Windows
Domoticz version:
Contact:

Re: MySensors LAN IP-address?

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest