Skip to content

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

Open
@edmaher

Description

@edmaher

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions