-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
easyfetch-->"unit-menu" via port forward not working. #8
Comments
Hi Jonas, When you start easyfetch the first time it simply fetches the JSON of the node where easyfetch is hosted. (you can see the JSON output if you click on the Button "show JSON " in the /tools tab in ESPEasy).
This list is used to generate the unit-list of the sidenav. That the nodes can find each other (and also communicate) they use a special P2P network The unit list in easyfetch is the same as the on in ESPEasy in the /main tab. So if the units do not appear there, they will be missing in easyfetch as well. BTW FYI: I didn't document some new features in easyfetch. 🫣
|
To elaborate that: |
Hello!
Thanks for explaining how it works, I get to solve with real firewall rules between my networks.
Thanks for the extra documentation.
Very nice to be able to color the tiles in one device.
Good with line breaks and spaces, can this also be solved on TextbigVal!?
//jonas
From: chromoxdor ***@***.***>
Sent: Tuesday, 23 January 2024 18:03
To: chromoxdor/easyfetch ***@***.***>
Cc: Jonas Hellman ***@***.***>; Author ***@***.***>
Subject: Re: [chromoxdor/easyfetch] easyfetch-->"unit-menu" via port forward not working. (Issue #8)
How does the communication work between other P2P nodes and the node that you look at in the web browser. Is direct contact created between the web browser and the node you are looking at or is the traffic "routed" through the node you are looking at in the web browser??
Hi Jonas,
When you start easyfetch the first time it simply fetches the JSON of the node where easyfetch is hosted. (you can see the JSON output if you click on the Button "show JSON " in the /tools tab in ESPEasy).
Only the containing information is used to generate the content in easyfetch. One of the entries is the node list.
e.g.
"nodes":[
{"nr":1,
"name":"Main",
"build":20719,
"platform":"ESP Easy Mega",
"ip":"192.168.1.132",
"age":0
},{"nr":2,
"name":"Junkers",
"build":20258,
"platform":"ESP Easy Mega",
"ip":"192.168.1.182",
"age":1
},...
This list is used to generate the unit-list of the sidenav.
If you click on one of the units, easyfetch starts to fetch the JSON output of this unit through the corresponding IP.
That the nodes can find each other (and also communicate) they use a special P2P network
The P2P network is an ESPEasy feature and has nothing to with easyfetch.
Infos and tips regarding this topic can be found here: https://espeasy.readthedocs.io/en/latest/Controller/C013.html
The unit list in easyfetch is the same as the on in ESPEasy in the /main tab. So if the units do not appear there, they will be missing in easyfetch as well.
Bildschirmfoto.2024-01-23.um.17.27.38.png (view on web)<https://github.com/chromoxdor/easyfetch/assets/33860956/341a4712-ae02-47d9-806a-8071b982c516>
BTW FYI: I didn't document some new features in easyfetch. 🫣
But if you wanna try:
* custom color for sensor and big-value tiles: devicename + ? + hex color(without leading #) e.g.: "sensor?1E847C"
* when using "_" it will be displayed as space in value names
* when using "." it will be used for wordbreak in long value names (so you can decide where the name should break)
—
Reply to this email directly, view it on GitHub<#8 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A7XSF5ZOQNGILTQD6AQHFCDYP7UM7AVCNFSM6AAAAABCGUPQRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBWGUZDAMZVHE>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
It could be... do you need it? |
i just added this in the latest update... :) |
Great, you're fast!
Do you want me to wish for more features if I come up with something??
Appreciate your work!!!
//jonas
From: chromoxdor ***@***.***>
Sent: Wednesday, 24 January, 2024 11:49
To: chromoxdor/easyfetch ***@***.***>
Cc: Jonas Hellman ***@***.***>; Author ***@***.***>
Subject: Re: [chromoxdor/easyfetch] easyfetch-->"unit-menu" via port forward not working. (Issue #8)
can this also be solved on TextbigVal!?
i just added this in the latest update... :)
—
Reply to this email directly, view it on GitHub<#8 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A7XSF56MWBVCGIRESUQQBYDYQDRJTAVCNFSM6AAAAABCGUPQRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBXHA3TSNJTGY>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
I am of course very interested to hear what other people might be missing in easyfetch. |
Hello!
For some years now I have built up a P2P network with a number of ESP8266, since some time ago I have also installed "easyfetch" which I appreciate extremely much.
Building autonomous simple dashboards is a hit!!
I have a dedicated IoT-WIFI at home where all espeasy are hosted. This IoT-WIFI is behind my regular WIF network, via a port forward (TCP port80) in the firewall between the regular WIFI network and the IoT-WIFI I can reach a special one (ESP32) that I have as the main unit for various reasons.
If I'm on my regular WIF network and run via port forward to fetch.htm on the ESP32 everything looks fine, units update, but if I open the "unit-menu" I see all other nodes in the network as expected. But if I click on another node, nothing happens!
Question:
How does the communication work between other P2P nodes and the node that you look at in the web browser. Is direct contact created between the web browser and the node you are looking at or is the traffic "routed" through the node you are looking at in the web browser??
Best regards Jonas Hellman
The text was updated successfully, but these errors were encountered: