Skip to content

The MQTT ONLINE status does not work as expected #112

Open
@gitpower2017

Description

Describe the bug
After Power ON, the MQTT sends an ONLINE once in the field McL/config. A connected client receives this status. A new client or a new query brings an OFFLINE, although the McL is still switched on and working.

To Reproduce

  1. MQTT Broker Mosquitto
  2. MQTT-client Node-Red
  3. MQTT-Client Laptop
  4. ESP McL with SK6812

a) Node-Red is connected to the broker. The field McL/config is subscribed.
Power on ESP. Node-Red MQTT says ONLINE
b) Laptop establishes a new connection to the broker The McL/config field is subscribed to. I see an OFFLINE. But the ESP is ONLINE
c) Node-Red MQTT-Client makes a reconnect to Broker. Subscribes to new McL/config. The answer is OFFLINE. But the ESP is ONLINE
d) Power OFF from ESP all MQTT clients get an OFFLINE

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions