Code Monkey home page Code Monkey logo

Comments (4)

yaydogan avatar yaydogan commented on May 12, 2024

Did more testing and have additional observations. When I have MQTT_USE set to 1 but MQTT server is not existing, the switch becomes unresponsive at times and the wifi connection also keeps dropping. I compiled with MQTT_USE set to 0 and all works perfectly. I currently don't have a way to test with MQTT_USE = 1 and a real MQTT server.

Could be the unsuccessful MQTT connection being retried periodically causing the issues.

from tasmota.

don-willingham avatar don-willingham commented on May 12, 2024

Try pointing MQTT to an IP address that exists, even it's not running MQTT. If it doesn't exist, it'll wait for some timeout period before it gives up. If it fails fast, it may be more responsive. I'm running https://github.com/arendst/Sonoff-MQTT-OTA-Arduino, and until I disabled MQTT, Alexa was slow to control my sonoff.

from tasmota.

arendst avatar arendst commented on May 12, 2024

If you do not need MQTT why not simply disable it on the fly using the Configuration webpage?

Stop fooling around with the user_config.h page. I'll make it as small as possible.

from tasmota.

yaydogan avatar yaydogan commented on May 12, 2024

Closing it. Disabling it will work just fine.

from tasmota.

Related Issues (20)

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.