Skip to content

How to define connection parameters before client starts #6

@solideblock

Description

@solideblock

Hi,

I've been playing with the library for few hours and everything is working as described. But, (sorry, i'm a noob) I didn't find out how I could change the MQTT-Broker post boot of my ESP8266.

As far as I understand, you can't set the broker from a setting one could change from the web interface. It has to be hardcoded.

Is there any easy way to modify the connection settings once the ESP has booted and apply it (new broker, and everything else) ?

Same goes for loading user and password, an example would be very welcome. I see that the parameters exists in the library, but I simply don't understand yet how to use them.

Thanks for your help !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions