ESP8266 MQTT client dynamically changing MQTT broker settings
-
Hi,
I am working on an ESP8266 MQTT gateway with a web interface to allow th user to configure settings. One of these settings is the MQTT broker IP address and port number.
In the before() I read out the IP address from EEPROM and want to set it in the gateway software, and not as normally done by defining MY_CONTROLLER_IP_ADDRESS.
Is it possible to do this?
I already tried to declare _ethernetControllerIP as external. This doesn't work.
Also tried to skip de definition MY_CONTROLLER_IP_ADDRESS and declar it in the gateway sketch. Didn't work either.:disappointed_relieved:
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login