UDP Controller only sending first value
Moderators: grovkillen, Stuntteam, TD-er
UDP Controller only sending first value
I am using a UDP controller to send values from a generic dummy device. The device is receiving data sent from a micro (processing Anemometer sensor ) via a TaskVaueSet command, 3 values are sent and received by the device. The UDP controller however is only sending the first value. I have read a post from October 2018 where I understood this behavior was fixed, unfortunately I don't seem to be able to find this post again now. I am just new and enjoying using ESP Easy but the controller is just not working for me. I have the latest build.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: UDP Controller only sending first value
What settings do you have for the 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

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Re: UDP Controller only sending first value
Hi, thanks for your reply, controller setup attached.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: UDP Controller only sending first value
There you have it, max queue depth. Change that to 10.
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

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Re: UDP Controller only sending first value
I have changed that back to 10, I think that was the original default value but the fields sent are just repeats of the value1.
I have found the post I was refering to, it describes in there are exactly what i am seeing, at the end of the post it is declared fixed but I don't see that?
https://github.com/letscontrolit/ESPEasy/issues/1891
I have found the post I was refering to, it describes in there are exactly what i am seeing, at the end of the post it is declared fixed but I don't see that?
https://github.com/letscontrolit/ESPEasy/issues/1891
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: UDP Controller only sending first value
Please use that GitHub thread to further add to the issue. You may also copy the link to this thread for reference.
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

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Re: UDP Controller only sending first value
Why are you using such a long interval between messages? (Minimum Send Interval)
For internal communications 10 msec is often just fine.
Also the timeout can be set a bit lower, if the receiving end is up for it (also take into account the network latency)
How is the Dummy device configured?
For internal communications 10 msec is often just fine.
Also the timeout can be set a bit lower, if the receiving end is up for it (also take into account the network latency)
How is the Dummy device configured?
Re: UDP Controller only sending first value
OK, its now working. I had not understood the significance of Simulate data Type: in the Device setup. I have 3 TaskValues being sent so setting the "type" to "Sensor_type_triple" solved the issue. Thanks for the quick assistance.
Re: UDP Controller only sending first value
Hello
I have same problem and cannot find what i am doing wrong ...
Here is config of first esp config of second esp is identical Config of UDP controller same in the 2 Esp : I use dummy device in task 12 In the tutorial it is indicated that the task that is shared via udp is created automatically in all the participant esp units
But this is not the case in my application
Also when I create a task in the other unit and share it over upd controller the values are not updated
See below the setting of task 12 in one of the units Can an advanced user explain what I do wrong
Thanks in advance
Patrou
I have same problem and cannot find what i am doing wrong ...
Here is config of first esp config of second esp is identical Config of UDP controller same in the 2 Esp : I use dummy device in task 12 In the tutorial it is indicated that the task that is shared via udp is created automatically in all the participant esp units
But this is not the case in my application
Also when I create a task in the other unit and share it over upd controller the values are not updated
See below the setting of task 12 in one of the units Can an advanced user explain what I do wrong
Thanks in advance
Patrou
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: UDP Controller only sending first value
ESP Easy P2P is "automatically" detected and if you want the devices to share data you need to address that in the advanced settings menu...
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

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Re: UDP Controller only sending first value
hello
Thanks for your quick reaction
I found only this in the advanced settings Is this what you means ?
Patou
Thanks for your quick reaction
I found only this in the advanced settings Is this what you means ?
Patou
-
- Normal user
- Posts: 307
- Joined: 06 Nov 2016, 13:45
Re: UDP Controller only sending first value
Correct, that's the port setting.
Additional choose under the tab Controllers the ESPEasy P2P Networking.
It's somewhat legacy that activation and port setting are on different places.
Additional choose under the tab Controllers the ESPEasy P2P Networking.
It's somewhat legacy that activation and port setting are on different places.
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.
Re: UDP Controller only sending first value
OK thanks
found my error
I choose generic udp controller instead of p2p udp
Thanks for your help
Patou
found my error
I choose generic udp controller instead of p2p udp
Thanks for your help
Patou
Who is online
Users browsing this forum: Amazon [Bot] and 15 guests