Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By sibianul
#60106 Thanks for reply , what about ESP to ESP discovery, I understood that on windows I can install Bonjour, but ESP can be able to find another esp in the same network by the hostname ?

I will post the code next days after I will clean it a bit, maybe I'll have time to save the css files and js files on the ESP itself, now, to have the web interface styled like you seen in the screenshot, in the HTML code the ESP sends to the borowser I have a few external links hosted on one of my hosting servers, so , if the ESP is not setup to connect to a router with internet access, the interface will not be so nice, this is why I wanted to use FS Browser or other options .. to save the css and js files in the ESP. Hope this won;t slow the browsing too much.

I tryied to have as much of the interface rendered on the browser side (desktop pc, smartphone, tablet) and not on the server side (ESP) .. all the graphs are made using svg so everything is rendered in the browser, there's no file sent by the ESP for all the graphs, also for the icons I used FontAwesome, it's just a font with hundreds of nice icons, so there is just one request for the font file and in the web interface I can display as many icons I want.
User avatar
By martinayotte
#60147
sibianul wrote:Thanks for reply , what about ESP to ESP discovery, I understood that on windows I can install Bonjour, but ESP can be able to find another esp in the same network by the hostname ?


Unfortunately not ! Since your ESP relies on DNS and your DNS isn't aware of the mDNS discoveries, it won't be able to resolve hostname to an IP.

You can still use mDNS.queryService to find out your ESPs, and then get their IPs, but you have to handle that manually in your code ...