hi,
how to configure peer to peer network in espeasy?
i just enabled the p2p controller of both espeasy units and gave them 2 different numbers.
in dashboard i cant choose nodes.
something forgotten to activate?
Dashboard shows no peers
Moderators: grovkillen, Stuntteam, TD-er
Re: Dashboard shows no peers
Did you reboot the nodes after setting the UDP port in the advanced settings?
If you need to chose an UDP port, you may use 8266 as port, since that's the one officially assigned for this protocol.
But you may use any port you like as long as it is the same on all nodes that need to communicate with eachother.
If you need to chose an UDP port, you may use 8266 as port, since that's the one officially assigned for this protocol.
But you may use any port you like as long as it is the same on all nodes that need to communicate with eachother.
Re: Dashboard shows no peers
tnx,
UDP port was set to 0.
couldnt find that in the docs.
UDP port was set to 0.
couldnt find that in the docs.
Re: Dashboard shows no peers
Can you help me to clarify the documentation? https://espeasy.readthedocs.io/en/lates ... /C013.html
Or maybe should I also add a link to this part from the description of the Advanced settings page?
Or maybe should I also add a link to this part from the description of the Advanced settings page?
Re: Dashboard shows no peers
sry, didnt find that.
normally there is a link to the doc and to the wiki on the config pages.
Here it is missing. why are these setings in he advanced tab anyway?
maybe they should be moved to the controller config.(the RPIeasy fork does this)
also even if set in advanced menu, the controllerlist overview shows port 0.
so its unclear to me what port is meant.
normally there is a link to the doc and to the wiki on the config pages.
Here it is missing. why are these setings in he advanced tab anyway?
maybe they should be moved to the controller config.(the RPIeasy fork does this)
also even if set in advanced menu, the controllerlist overview shows port 0.
so its unclear to me what port is meant.
Re: Dashboard shows no peers
It is a bit of legacy.
The settings on a page are almost always reflecting where they are stored.
But the ESPeasy p2p controller has a bit more legacy.
At first it wasn't even a controller, but more like an option for plugins called "global share".
But that led to all kinds of strange code flows with a lot of statements like "if global share"... etc.
That's a clear indication the design is flawed.
So that's why it was moved into a new controller, but still a bit strange one since it doesn't have a lot of settings.
But I guess adding a remark on the controller page to set the UDP port (and even have it set there) does make things a bit easier.
The ESPeasy p2p controller will also need a lot of TLC to make it more intuitive.
Even I have to look into the code myself to see how things ought to be done and that's also a clear sign it isn't intuitive at all
The settings on a page are almost always reflecting where they are stored.
But the ESPeasy p2p controller has a bit more legacy.
At first it wasn't even a controller, but more like an option for plugins called "global share".
But that led to all kinds of strange code flows with a lot of statements like "if global share"... etc.
That's a clear indication the design is flawed.
So that's why it was moved into a new controller, but still a bit strange one since it doesn't have a lot of settings.
But I guess adding a remark on the controller page to set the UDP port (and even have it set there) does make things a bit easier.
The ESPeasy p2p controller will also need a lot of TLC to make it more intuitive.
Even I have to look into the code myself to see how things ought to be done and that's also a clear sign it isn't intuitive at all
Who is online
Users browsing this forum: No registered users and 129 guests