Page 1 of 1
Second raspberry
Posted: Sunday 02 September 2018 8:56
by remko2000
I would like to use a second raspberry (slave) in my house on the same network. So I followed:
https://www.domoticz.com/wiki/Setting_up_Device_sharing. I use two Raspberry 3's (both Domoticz version 4.9700).
I have set everything but I see in the log of my master:
2018-09-02 08:59:17.086 Error: Domoticz: TCP/IP connection closed! 10.0.1.xx
2018-09-02 08:59:47.090 Status: Domoticz: TCP connected to: 10.0.1.xx:6144
2018-09-02 08:59:47.091 Status: Domoticz: retrying in 30 seconds...
I have set everything up properly (and I updated both systems).
This does not seem to me to be a router issue because they both run on the same internet network (standard port 6144) . What can be the problem?
Re: Second raspberry
Posted: Sunday 02 September 2018 11:22
by DeBaat
You mention the log:
2018-09-02 08:59:47.090 Status: Domoticz: TCP connected to: 10.0.1.xx:6144
However, you also state:
they both run on the same internet network (standard port 6644)
Looks to me there are two different port numbers involved: 6144 vs 6644...
Re: Second raspberry
Posted: Sunday 02 September 2018 11:37
by SweetPants
DeBaat wrote: ↑Sunday 02 September 2018 11:22
You mention the log:
2018-09-02 08:59:47.090 Status: Domoticz: TCP connected to: 10.0.1.xx:6144
However, you also state:
they both run on the same internet network (standard port 6644)
Looks to me there are two different port numbers involved: 6144 vs 6644...
There should only be one 6144
Re: Second raspberry
Posted: Sunday 02 September 2018 11:53
by remko2000
My mistake (6644 was a typo mistake). I have set everything as default (poort 6144 both master and slave). I changed it above.
What have I set:
-On the slave I add a user (the masterraspberry useraccount).
-On the master I add a remote server with the IP of the slave on port 6144 and with the useraccount of my slave.
The log keeps showing
2018-09-02 12:06:03.381 Status: Domoticz: TCP connected to: 10.0.1.xx:6144
2018-09-02 12:06:03.382 Status: Domoticz: retrying in 30 seconds...
2018-09-02 12:06:03.381 Error: Domoticz: TCP/IP connection closed! 10.0.1.xx
2018-09-02 12:06:33.385 Status: Domoticz: TCP connected to: 10.0.1.xx:6144
2018-09-02 12:06:33.386 Status: Domoticz: retrying in 30 seconds...
2018-09-02 12:06:33.386 Error: Domoticz: TCP/IP connection closed! 10.0.1.xx
2018-09-02 12:06:48.011 Error: PROXY: timeout occurred, reconnecting
2018-09-02 12:06:48.012 Error: PROXY: Connect failed, reconnecting: Network is unreachable
Re: Second raspberry
Posted: Sunday 02 September 2018 12:47
by alanlsmith
Could it be the user
If I read your post correctly. You have added a user to the slave Pi which is the main user name on your master Pi and on the master Pi you have used the main user name on your slave Pi.
If that is the case then it should be changed around as below. If I’ve got it wrong please ignore me.
The additional user that you have created on the slave is the user that should be refered to in the ‘remote pi’ hardware on the master.
Re: Second raspberry
Posted: Sunday 02 September 2018 20:19
by remko2000
alanlsmith wrote: ↑Sunday 02 September 2018 12:47
Could it be the user
If I read your post correctly. You have added a user to the slave Pi which is the main user name on your master Pi and on the master Pi you have used the main user name on your slave Pi.
If that is the case then it should be changed around as below. If I’ve got it wrong please ignore me.
The additional user that you have created on the slave is the user that should be refered to in the ‘remote pi’ hardware on the master.
No I don't think there is the problem. I followed excactly the instruction from the wiki. I checked it again.
Re: Second raspberry
Posted: Tuesday 19 February 2019 15:43
by najtram
I had the exact same log result, my solution was to check the checkbox: "Sharing: [ ] (Enables remote sharing of devices with this user)". This is an option in the user settings of the slave...