Giter Site home page Giter Site logo

MQTT retry doesn't retry about mitsubishi2mqtt HOT 3 CLOSED

brackw avatar brackw commented on August 16, 2024
MQTT retry doesn't retry

from mitsubishi2mqtt.

Comments (3)

sean-leach avatar sean-leach commented on August 16, 2024

Interesting. I have five units, all on the same firmware. Two of them will not show up in HA, even after rebooting the units. I wonder if this would fix that? The web UI on both works fine.

from mitsubishi2mqtt.

brackw avatar brackw commented on August 16, 2024

@sean-leach

Rebooting the unit will reset lastmqttretry and millis back down to 0 which makes the original logic valid again, so if those units are not reconnecting after a reboot it shouldn't be this particular bug unless there is more to it.

Off topic for this ticket, but out of curiosity, on the unconnected units status page, do you also get MQTT status of -4 or something else? That may provide more clues for your particular issue.

    -4 : MQTT_CONNECTION_TIMEOUT - the server didn't respond within the keepalive time
    -3 : MQTT_CONNECTION_LOST - the network connection was broken
    -2 : MQTT_CONNECT_FAILED - the network connection failed
    -1 : MQTT_DISCONNECTED - the client is disconnected cleanly
    0 : MQTT_CONNECTED - the client is connected
    1 : MQTT_CONNECT_BAD_PROTOCOL - the server doesn't support the requested version of MQTT
    2 : MQTT_CONNECT_BAD_CLIENT_ID - the server rejected the client identifier
    3 : MQTT_CONNECT_UNAVAILABLE - the server was unable to accept the connection
    4 : MQTT_CONNECT_BAD_CREDENTIALS - the username/password were rejected
    5 : MQTT_CONNECT_UNAUTHORIZED - the client was not authorized to connect

from mitsubishi2mqtt.

sean-leach avatar sean-leach commented on August 16, 2024

@brackw Nope, signing into that device directly, the Status page shows:
"MQTT Status ==> CONNECTED ( 0 )"

It's so strange.

from mitsubishi2mqtt.

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.