Page 1 of 1

Setting up a Domoticz Remote-Server Howto

Posted: Monday 05 August 2019 21:09
by alarm_guy1
SETTING UP A DOMOTICZ REMOTE SERVER
In conjunction with this info
https://www.domoticz.com/wiki/Setting_up_Device_sharing

1. ADD THE REQUIRED DEVICES TO THE SLAVE SWITCHES ETC
2. CREATE A USER SETUP: MORE OPTIONS:EDIT USERS:
3. CREATE USERNAME, PASSWORD (I TURNED EVERYTHING ON ASWELL FOR THIS USER)
4. MADE THE USER ADMIN
5. CLICK ON ADD
6. AT THE END OF THE USER LINE ONCE ADDED CLICK SET DEVICES
7. NOW ADD THE DEVICES YOU WANT TO SEE ON THE MASTER DOMOTICZ
8. ON THE MASTER DOMOTICZ SETUP:HARDWARE:
9. UNDER TYPE SELECT “DOMOTICZ REMOTE SERVER”
10. GIVE IT A NAME
11. TYPE IN THE IP ADDRESS OF THE REMOTE SERVER
12. TYPE IN THE USERNAME AND PASSWORD SETUP ON THE REMOTE SERVER
13. CLICK ADD
14. NOW GO TO SETUP:SETTINGS: AND SCROLL TO NEAR THE BOTTOM AND CLICK UNDER HARDWARE/DEVICES “ALLOW FOR 5 MINUTES”
15. NOW ACTIVATE ALL THE DEVICES YOU SELECTED FOR THE USER ON THE SLAVE.
16. NOW GO TO THE MASTER, AND IF YOU HAVE DONE THIS ALL CORRECTLY YOUR DEVICES SHOULD BE UNDER SETUP:DEVICES AS THE LAST IDX ENTRIES, NOW ADD THEM TO THE SYSTEM FROM THERE

HOPE THIS HELPS SOMEONE TOOK ME A WHILE...

Re: Setting up a Domoticz Remote-Server Howto

Posted: Thursday 26 November 2020 22:29
by AxelvanH
Question...

When everything is setup as described, and nothing is transfered (no errors either)
What is then the next step? Can you 'force' anything?

On the master: (192.168.2.222)
2020-11-26 22:19:59.052 Status: Domoticz Remote: connected to: 192.168.2.230:6144

In the Log of the remote/slave: (192.168.2.230)
2020-11-26 22:23:42.635 Status: Incoming Domoticz connection from: 192.168.2.222

Devices have been shared with the client (I shared 50% just to test), but nothing happens and nothing is logged :?:

Re: Setting up a Domoticz Remote-Server Howto

Posted: Friday 27 November 2020 3:28
by fargle
I found Item 15 on that list is a little unclear.
You may have done this already, but on the Remote unit:

Settings->More Options->Edit Users
Top RHS blue button Set Devices
.
Domoticz.jpg
Domoticz.jpg (37.54 KiB) Viewed 5540 times

Re: Setting up a Domoticz Remote-Server Howto

Posted: Friday 27 November 2020 11:18
by AxelvanH
Yeah, I did that.

Only added 50% of the devices, just to check/manage the process.
but non of them gets 'pushed'.
No errors no nothing... :?:

Both Remote and server pick up devices on their own, but nothing is transferred.
I also setup a new server on another RPi but no difference.

Restarting the service also did not help (on both systems)

I only see the connection established, after that nothing...

Re: Setting up a Domoticz Remote-Server Howto

Posted: Monday 30 November 2020 19:42
by AxelvanH
Does anyone have any smart ideas? I am out of them :(

Re: Setting up a Domoticz Remote-Server Howto

Posted: Friday 25 December 2020 14:08
by Ries
I have the same issue. Did you make advancements?

Re: Setting up a Domoticz Remote-Server Howto

Posted: Saturday 26 December 2020 11:29
by erem
you could think of using mqtt to sync the servers

this thread has an interesting way of using mqtt to sync a backup server, that can be used as a starting point.

viewtopic.php?f=38&t=24088&p=263767&hilit=mqtt#p263767

Re: Setting up a Domoticz Remote-Server Howto

Posted: Saturday 26 December 2020 12:39
by fargle
Strange. Maybe its obvious but....
.
Screenshot_2020-12-26 Domoticz.png
Screenshot_2020-12-26 Domoticz.png (9.18 KiB) Viewed 5299 times