global sync
Moderators: grovkillen, Stuntteam, TD-er
global sync
Hello I didn't found any info how to use global sync feature. any one to help?
i got 2 esp12, with ds18b20 and OLED. in tools->advances i checked GLOBAL SYNC, and in DEVICES in ds18b20 i also checked gloal sync. how can I display on another esp's these oled values?
thank you
i got 2 esp12, with ds18b20 and OLED. in tools->advances i checked GLOBAL SYNC, and in DEVICES in ds18b20 i also checked gloal sync. how can I display on another esp's these oled values?
thank you
Re: global sync
Just created an initial Wiki page to get you started: http://www.esp8266.nu/index.php/EasyGlobalSync
Re: global sync
great wiki, super working now! thank you.
Re: global sync
What a cool feature! If this works the way I hope it does, I've got some great uses for it.Martinus wrote:Just created an initial Wiki page to get you started: http://www.esp8266.nu/index.php/EasyGlobalSync
Suppose I have a string of 10 ESP's (ESP-1 thru ESP-10) spaced 15 meters apart. ESP-10 will be 135 m from ESP-1, so presumably out of direct range. If ESP-1 sends a global command, will the ESP's in between relay the message all the way to ESP-10? Does this create a mesh network?
Re: global sync
No, they all will comunicate with / through your access point, the esp is just a network device, doesn´t span a own network
Re: global sync
Fair enough, I can work with that too. Very cool feature.kr0815 wrote:No, they all will comunicate with / through your access point, the esp is just a network device, doesn´t span a own network
Re: global sync
Hi
Global Sync is really a fantastic idea. I have installed R91 on three ESP modules.
Unit 1 = IP 192.168,0.180 has a LCD (as Task 1)
Unit 2 = IP 192.168.0.190 has a OLED (as Task 1)
Unit 3 = IP 192.168.0.192 has a Analog Input Device (as Task 3)
So know upon rebooting i can see all three Modules as they all have the same configuration (Global Sync is checked) as you suggested in your Wiki.
192 sends the Analog value.
190 shows the Analog input in its Devices and can pass the value to the OLED LCD.
But 180 does not show the Analog Input Device.
Any help for me? Thanks.
Global Sync is really a fantastic idea. I have installed R91 on three ESP modules.
Unit 1 = IP 192.168,0.180 has a LCD (as Task 1)
Unit 2 = IP 192.168.0.190 has a OLED (as Task 1)
Unit 3 = IP 192.168.0.192 has a Analog Input Device (as Task 3)
So know upon rebooting i can see all three Modules as they all have the same configuration (Global Sync is checked) as you suggested in your Wiki.
192 sends the Analog value.
190 shows the Analog input in its Devices and can pass the value to the OLED LCD.
But 180 does not show the Analog Input Device.
Any help for me? Thanks.
Re: global sync
Ok my fault. I have to be more patient. After sometime all modules are seeing the Analog Input Device.
I have extended my module up to 8 now and all are working with Global Sync and passing the values as i wanted.
But still there is something i am not happy about. The speed of the module sending the Analog data has dramatically dropped.
As soon as i switch of one module after the other speed rises again.
Best work is with max. two to three modules. That is really not much.
I am looking in my own PLugIns i have written for PushOver, Prowl and PushingBox for any garbage. Maybe it is the WifiSecureClient i am using for HTTPSRequests.
I'll keep on searching.
I have extended my module up to 8 now and all are working with Global Sync and passing the values as i wanted.
But still there is something i am not happy about. The speed of the module sending the Analog data has dramatically dropped.
As soon as i switch of one module after the other speed rises again.
Best work is with max. two to three modules. That is really not much.
I am looking in my own PLugIns i have written for PushOver, Prowl and PushingBox for any garbage. Maybe it is the WifiSecureClient i am using for HTTPSRequests.
I'll keep on searching.
Re: global sync
I am no developer and global Sync is here, but why not improve the MQTT exchange between all units wir the same Sync result?
One needs a Broker, ok. But it seems to me there is than more opportunities in globalsync via MQTT....
One needs a Broker, ok. But it seems to me there is than more opportunities in globalsync via MQTT....
Re: global sync
@tozett
what are you trying to explain ?????????????
what are you trying to explain ?????????????
Re: global sync
sorry, if it was not so clear.
the global-sync seems to use UDP and a proprietary Protocol.
i saw reports about performance problems...
there is a promising (playground) MQTT plugin for receiving on ESPeasy-clients and
to use MQTT as Transport-protocoll seems to give more options to use all the exchange-data (and process otherwise too),
and maybe one saves time for bugfixing the propietary proctol and other developer things.
but i am no developer, so thats seems their architectural decision...
the global-sync seems to use UDP and a proprietary Protocol.
i saw reports about performance problems...
there is a promising (playground) MQTT plugin for receiving on ESPeasy-clients and
to use MQTT as Transport-protocoll seems to give more options to use all the exchange-data (and process otherwise too),
and maybe one saves time for bugfixing the propietary proctol and other developer things.
but i am no developer, so thats seems their architectural decision...
Re: global sync
sorry slipped off the keyboard.
Last edited by voyager46 on 15 Apr 2016, 10:54, edited 2 times in total.
Re: global sync
Don't you think using a simple HTTP protocol with Domoticz or MySensors could also achieve the same results ?
I had switched off the Global Sync in my ESPEasy modules and am working with the above mentioned without any problem. With a Arduino and mbed (NXP System) Gateway i can pass all the variables i need between each other. The system seems to run reliable, at least for the last week.
I had switched off the Global Sync in my ESPEasy modules and am working with the above mentioned without any problem. With a Arduino and mbed (NXP System) Gateway i can pass all the variables i need between each other. The system seems to run reliable, at least for the last week.
Re: global sync
hi,
i played with mqtt and suprisingly simple i can connect to the broker with any linux/embedded system and get values, wich my sensors collect.
why not put all sensor-data from each espeasy onto mqtt? at least for a (global)-sync?
but the decision is up to the developer, i could only test. not code...
i played with mqtt and suprisingly simple i can connect to the broker with any linux/embedded system and get values, wich my sensors collect.
why not put all sensor-data from each espeasy onto mqtt? at least for a (global)-sync?
but the decision is up to the developer, i could only test. not code...

Who is online
Users browsing this forum: Bing [Bot] and 12 guests