Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. blastoff
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by blastoff

    • 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"

      posted in Troubleshooting
      blastoff
      blastoff