Page 1 of 1

(solved)send to and having same device from different esp

Posted: 21 May 2019, 12:30
by riker1
Hi

I am wondering if it is possible to distinguish between 2 different devices .

Have 3 devices:
connect all via UDP Port

want to display some status values on ESP1.

ESP 2 and ESP 3 having same device name.

Can they be distinguished?
Or do I need unique device names?

Thanks

Re: send to and having same device from different esp

Posted: 21 May 2019, 13:23
by grovkillen
Unique unit numbers?

Re: send to and having same device from different esp

Posted: 21 May 2019, 13:45
by riker1
sorry, no I mean,

esp1 receiving variable von both ESP2 and ESP3

device#variable names are same on esp2 und 3

How to separate those , showing them on LCD, on ESP1.

is it like:

[ESP2#device#variabe]?

Does this clarify?

T

Re: send to and having same device from different esp

Posted: 21 May 2019, 13:46
by riker1
grovkillen wrote: 21 May 2019, 13:23 Unique unit numbers?
Unit Numbers are distinct.

Only same UDP Port.

but ...device names and variables ...?

Re: send to and having same device from different esp

Posted: 21 May 2019, 13:53
by grovkillen
You need to use the same task numbers on them all, that means you should be able to distinguish them.

Re: send to and having same device from different esp

Posted: 21 May 2019, 14:09
by riker1
Hi

thanks

but I do not understand how?

when you say, task # , this is on ESP1 (receiving)

I have a task there : lcd:

will display

Code: Select all

WRC:[status_control#Wifi_Reconnect_Counter]
but

Code: Select all

WRC:[status_control#Wifi_Reconnect_Counter]
is send by both ESP 2 and ESP 3.

So how to grab the

Code: Select all

WRC:[status_control#Wifi_Reconnect_Counter]
send by ESP2?

Thanks for clarification.

T

Re: send to and having same device from different esp

Posted: 21 May 2019, 14:58
by grovkillen
You need to set up the recieving task/unit to be identical to the sending task/unit and have it send using the ESP Easy controller.

Re: send to and having same device from different esp

Posted: 21 May 2019, 15:17
by riker1
grovkillen wrote: 21 May 2019, 14:58 You need to set up the recieving task/unit to be identical to the sending task/unit and have it send using the ESP Easy controller.
ok understood, thanks