Open RoadXY opened 9 years ago
Woops :)
lol
Should this not be a Domoticz feature (to chain multiple instances)? So we still communicate only with one Instance (which contains the data of both)
??
That would mean both Domoticz servers on both sites will have to remain connected all the time. If internet is down on the holiday site but wifi is working you won't be able to control your devices on the holiday site.
Also chaining (sharing devices between servers) is already possible and my guess is we should not have to do anything for this.
So this can be closed then? Correct?
No, I think Domoticz should support multiple servers. The question is: how many users would use this?
Think we should start by saving & loading all domoticz server settings into a Container class (ServerInfo). We can save whole objects in SharedPreferences with Gson, so you don't have to process all individual fields.
When all Server settings are handles via one container class, you could make it a list of servers, with One default..?
Sounds about right. I do think, however, that this should a feature which is something for version 2.0 or something. I would like to know if more then 10% of the Android users will be using this because this will bring a lot of work.
Your thoughts on this?
I agree
Could you create a milestone with version 2.0 and label this issue to it, please :-D
Maybe use MyDomoticz for this?
Feature request from someone: the ability to be able to use multiple Domoticz servers. In example:
I think Domoticz should be able to figure auto by the connected wifi which to auto select. If not connected to any (known) wifi then use the default Domoticz server. If not able to connect to default try other server. If that's not going to work give error message to user.