Page 1 of 1
More than one generic HTTP server IP possible?
Posted: 26 Sep 2016, 11:14
by chunter1
Is it possible to send the Data to more than one generic HTTP server IP?
The reason i would appreciate that feature is, that i got two FHEM home automation servers running and want to get the data on both servers.
Re: More than one generic HTTP server IP possible?
Posted: 27 Sep 2016, 18:05
by Drum
I don't think so, what is it you want to send?
Re: More than one generic HTTP server IP possible?
Posted: 28 Sep 2016, 13:08
by chunter1
It would be mainly temperature data and digital i/o states.
Re: More than one generic HTTP server IP possible?
Posted: 29 Sep 2016, 10:06
by tozett
consider using node-red as backend, that can distribute than on more...
there is info on this forum for going that way, if you like..
Re: More than one generic HTTP server IP possible?
Posted: 29 Sep 2016, 10:50
by moelski
Could also be possible to write a new Controller which sends data to two destinations ...
Re: More than one generic HTTP server IP possible?
Posted: 29 Sep 2016, 10:52
by uhrheber
You could either use FHEM2FHEM to connect the two FHEM servers, or send the data to an MQTT broker first.
From there, an unlimited number of clients can get the data.
Re: More than one generic HTTP server IP possible?
Posted: 03 Oct 2016, 13:29
by chunter1
i know about MQTT broker and FHEM2FHEM solutions.
i tried both and absolutely don't like them.
either solution in my oppinion means unnecessary overhead, one more point of failure and increased maintainance.
the most simple, least complex and efficient solution would be the espeasy "data-source" sending the date to both servers seperately.
in sourcecode it should basically only be an array and a for-loop to be added?