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

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

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

#1 Post by riker1 » 21 May 2019, 12:30

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
Last edited by riker1 on 21 May 2019, 15:18, edited 1 time in total.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: send to and having same device from different esp

#2 Post by grovkillen » 21 May 2019, 13:23

Unique unit numbers?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: send to and having same device from different esp

#3 Post by riker1 » 21 May 2019, 13:45

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

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: send to and having same device from different esp

#4 Post by riker1 » 21 May 2019, 13:46

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

Only same UDP Port.

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

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: send to and having same device from different esp

#5 Post by grovkillen » 21 May 2019, 13:53

You need to use the same task numbers on them all, that means you should be able to distinguish them.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: send to and having same device from different esp

#6 Post by riker1 » 21 May 2019, 14:09

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

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: send to and having same device from different esp

#7 Post by grovkillen » 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.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: send to and having same device from different esp

#8 Post by riker1 » 21 May 2019, 15:17

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

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests