Git Product home page Git Product logo

Comments (4)

se1exin avatar se1exin commented on July 20, 2024

It's very hard to know the issue with that little info, but my guess is that it can't find the MQTT server, or it can't authenticate with it

from espblinds.

LapisTomato avatar LapisTomato commented on July 20, 2024

How's do I make the ESP8266 find the MQTT server?
Also what information would you need? Should I copy paste the code so that you can cross check it?

from espblinds.

se1exin avatar se1exin commented on July 20, 2024

I would make sure that you're ESP8266 is successfully connecting to your Wifi, and that you have the MQTT_SERVER IP address correctly set to the IP address of the computer that is running MQTT.

The MQTT server needs to be on the same network that your ESP8266 is connecting to, and you will need to make sure that the computer running the MQTT server is not blocking any connections - e.g. with a firewall or similar.

What's your MQTT server setup? E.g. what computer OS is it running on, which MQTT server software are you using, and which port is the MQTT server software running on?

from espblinds.

LapisTomato avatar LapisTomato commented on July 20, 2024

@se1exin Sorry for the late reply.

set to the IP address of the computer that is running MQTT.

Do you mean the IPv4, the internet's IP adress?

you will need to make sure that the computer running the MQTT server is not blocking any connections - e.g. with a firewall or similar.

I have all the firewalls turned off

What's your MQTT server setup? E.g. what computer OS is it running on, which MQTT server software are you using, and which port is the MQTT server software running on?

Windows 11
MQTT Explorer
1883

from espblinds.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.