one-ESP node command does not work

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
ym58
New user
Posts: 6
Joined: 07 Nov 2016, 05:50

one-ESP node command does not work

#1 Post by ym58 » 07 Nov 2016, 06:02

To make a long story short, I've made a few pics to show my problem to the community !
Thanks for any hint .... :idea:


Image

Image

Image

Image

Image

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: one-ESP node command does not work

#2 Post by costo » 07 Nov 2016, 15:50

Did you do a reboot ?
Nescessary to make the nodelist and UDP work.

ym58
New user
Posts: 6
Joined: 07 Nov 2016, 05:50

Re: one-ESP node command does not work

#3 Post by ym58 » 07 Nov 2016, 16:46

costo wrote:Did you do a reboot ?
Nescessary to make the nodelist and UDP work.
Yes of course, I rebooted right after setup (2) so to make sure the node list and setup are refreshed ...
Actually, I am wondering whether sending a 'command' via the 'tools' menu ***ONLY*** works on other EPSs in the node list and ***NOT*** on oneself ???

hvdwolf
Normal user
Posts: 51
Joined: 09 Jun 2016, 12:37

Re: one-ESP node command does not work

#4 Post by hvdwolf » 07 Nov 2016, 18:30

In the wiki it says "SendTo" while you have "sendto".
Did you try whether the command is case sensitive?
The rules section also uses case-sensitive commands.

ym58
New user
Posts: 6
Joined: 07 Nov 2016, 05:50

Re: one-ESP node command does not work

#5 Post by ym58 » 07 Nov 2016, 19:25

hvdwolf wrote:In the wiki it says "SendTo" while you have "sendto".
Did you try whether the command is case sensitive?
The rules section also uses case-sensitive commands.
No way, it makes no difference, my LED 's still dumb !!!

Image

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: one-ESP node command does not work

#6 Post by papperone » 07 Nov 2016, 19:45

ym58 wrote:
costo wrote:Did you do a reboot ?
Nescessary to make the nodelist and UDP work.
Yes of course, I rebooted right after setup (2) so to make sure the node list and setup are refreshed ...
Actually, I am wondering whether sending a 'command' via the 'tools' menu ***ONLY*** works on other EPSs in the node list and ***NOT*** on oneself ???
I did not try but could make sense, why you should send a command to the same node you sent it from?
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

ym58
New user
Posts: 6
Joined: 07 Nov 2016, 05:50

Re: one-ESP node command does not work

#7 Post by ym58 » 07 Nov 2016, 20:40

papperone wrote:
ym58 wrote:
costo wrote:Did you do a reboot ?
Nescessary to make the nodelist and UDP work.
Yes of course, I rebooted right after setup (2) so to make sure the node list and setup are refreshed ...
Actually, I am wondering whether sending a 'command' via the 'tools' menu ***ONLY*** works on other EPSs in the node list and ***NOT*** on oneself ???
I did not try but could make sense, why you should send a command to the same node you sent it from?
out of consistency !
a node is a node, no matter what ...

hvdwolf
Normal user
Posts: 51
Joined: 09 Jun 2016, 12:37

Re: one-ESP node command does not work

#8 Post by hvdwolf » 07 Nov 2016, 22:32

You are very stubborn. First read the wiki (http://www.letscontrolit.com/wiki/index ... rial_Rules) and then search this forum. You can't send a message to yourself.
I had not looked at that as I could not imagine you would try that.

Edit: As far as I know the UDP protocol does not even allow that.

ym58
New user
Posts: 6
Joined: 07 Nov 2016, 05:50

Re: one-ESP node command does not work

#9 Post by ym58 » 08 Nov 2016, 06:24

hvdwolf wrote:You are very stubborn. First read the wiki (http://www.letscontrolit.com/wiki/index ... rial_Rules) and then search this forum. You can't send a message to yourself.
I had not looked at that as I could not imagine you would try that.
Edit: As far as I know the UDP protocol does not even allow that.
"Very stubborn" ... :o ?
Well, let's just say that I was looking for a simple kinda 'GUI-like' way to send commands to my ESP module that would spare me typing URLs such as http://192.168.11.110/control?cmd=gpio,13,0 in the address bar of my browser!
Sorry about the 'disturbance' ... ;)

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: one-ESP node command does not work

#10 Post by papperone » 08 Nov 2016, 06:54

ym58 wrote:
hvdwolf wrote:You are very stubborn. First read the wiki (http://www.letscontrolit.com/wiki/index ... rial_Rules) and then search this forum. You can't send a message to yourself.
I had not looked at that as I could not imagine you would try that.
Edit: As far as I know the UDP protocol does not even allow that.
"Very stubborn" ... :o ?
Well, let's just say that I was looking for a simple kinda 'GUI-like' way to send commands to my ESP module that would spare me typing URLs such as http://192.168.11.110/control?cmd=gpio,13,0 in the address bar of my browser!
Sorry about the 'disturbance' ... ;)
I have been looking into the code and indeed I think it's like that both by design and probably by used protocol limit (UDP).
I'm not sure what you want to achieve but if you need to send command to the same node from it's own ESPEasy GUI then just type it! Use "gpio,13,0" instead of "SendTo 1,gpio,13,0", it works smooth and perfectly :)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

ym58
New user
Posts: 6
Joined: 07 Nov 2016, 05:50

Re: one-ESP node command does not work

#11 Post by ym58 » 08 Nov 2016, 08:44

papperone wrote:I have been looking into the code and indeed I think it's like that both by design and probably by used protocol limit (UDP).
I'm not sure what you want to achieve but if you need to send command to the same node from it's own ESPEasy GUI then just type it! Use "gpio,13,0" instead of "SendTo 1,gpio,13,0", it works smooth and perfectly :)
Gosh ... how could I have missed that ?
I think I am ***REALLY*** more stupid than stubborn, actually !
Thanks papperone for this constructive advice ... :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 34 guests