ESP8266; MQTT; DNS Not Working?



  • I'm using the GatewayESP8266MQTTClient sketch and trying to use the #define MY_CONTROLLER_URL_ADDRESS macro that was committed a few months ago.

    If I type in an IP address in quotes it works as expected, however, if I type in a DNS name it does not. Am I doing something wrong?

    I'm using the latest commit from the development branch.

    // Works
    #define MY_CONTROLLER_URL_ADDRESS "192.168.1.52"

    // Does not work
    #define MY_CONTROLLER_URL_ADDRESS "mosquitto.home"

    // Also does not work
    #define MY_CONTROLLER_URL_ADDRESS "test.mosquitto.org"


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.