Skip to content
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

Disable fauxmo does not disable internal web server #247

Open
riban-bw opened this issue Mar 14, 2023 · 0 comments
Open

Disable fauxmo does not disable internal web server #247

riban-bw opened this issue Mar 14, 2023 · 0 comments

Comments

@riban-bw
Copy link

Calling fauxmo.enable(true) will start the internal webserver which binds to the TCP port. Calling fauxmo.enable(false) does not stop the web browser and hence leaves the TCP port bound. It is not possible to run a WiFi Manager that serves a configuration portal after starting fauxmo which makes the configuration of an embedded device challenging.

A simple fix would be to append

else {
		if (_server)
			_server->end();
	}

to fauxmoESP.cpp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant