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

Ability to pass in or override the adafruit.io hostname #163

Open
edmaher opened this issue Dec 30, 2022 · 0 comments
Open

Ability to pass in or override the adafruit.io hostname #163

edmaher opened this issue Dec 30, 2022 · 0 comments

Comments

@edmaher
Copy link

edmaher commented Dec 30, 2022

In the AdafruitIO_ESP8266 class, the constructor creates the mqtt and http client objects with reference to the _host, _host_port members, and uses a hardcoded value for the mqtt port
There is no ability to set or override these values in the constructor.
Ideally, there would be a second constructor that allows these to be set, or for the constructor to have additional parameters.

Other ideas are to allow the developer to use preprocessor defined values that can be set in the user's codebase, however, ability to set these at runtime is preferred.

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

No branches or pull requests

2 participants