thorrak / tiltbridge

Tilt Hydrometer to WiFi Bridge
http://www.tiltbridge.com/
Other
61 stars 27 forks source link

No Action on mDNS ID Change #21

Closed lbussy closed 3 years ago

lbussy commented 4 years ago

When you change the mDNS ID in Settings, nothing happens unless you reset. This is a HUGE problem because I'm in my recliner and the Tiltbridge is in the garage. :)

I handle this in Brew Bubbles with:

                wifi_station_set_hostname(config.hostname);
                MDNS.setHostname(config.hostname);
                MDNS.notifyAPChange();
                MDNS.announce();

... and then redirecting the browser after the POST to the new mDNS name.