-
Notifications
You must be signed in to change notification settings - Fork 839
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
Minor Enhancements for the MQTTserver example #478
Comments
Yep. Sounds like a good idea. I'll add something like that soon.
I'll look into it. I've been thinking of cleaning up and setting system parameters dynamically rather than compiled in. Re: Password authentication. Agreed. Ideally yes, there should be something, but this isn't a real "project", it's just an example. Again, it's an example, not a complete polished project, and most of all, it meets my needs, which is why I wrote it. :-) |
* Allow an easy method for users to use a static (non-dhcp) method for IP setup. * Clarify some of the implications of changing HOSTNAME. Fixes #478
* Allow an easy method for users to use a static (non-dhcp) method for IP setup. * Clarify some of the implications of changing HOSTNAME. Fixes #478
FYI, the changes are now live in the new v2.4.3 release of the library. |
Hi David,
I have just found and used your MQTTserver example and I am amazed with the quilty and willingness of you to help us all out so THANK you!
As such I thought I will share 2 minor issues I have changed to the example you might consider to add to the example.
Add a note after the #define HOSTNAME "ir_server" // Name of the device you want in mDNS.
//Changing this value will also change your MQTT path…
//E.g:
// ir_server/send or ir_server/sent
//will be changed to [HOSTNAME]/send and [HOSTNAME]/sent
Adding wifiManager.setSTAStaticIPConfig(IPAddress(x,x,x,xx), IPAddress(x,x,x,x), IPAddress(255,255,255,0));
after
wifiManager.setTimeout(300); // Time out after 5 mins.
This will open 3 additional textboxes during the configuration allowing user to use fixed IP, router, mask (I Usually use fixed IP for my home servers)
** I also believe that some sort of username and password should be used before the web page is loaded as we don’t want anyone connected to our network to use this page without authentication even if from DOS point of view however I don’t know I do it, will try thought :)
The text was updated successfully, but these errors were encountered: