Skip to content

esp-rfid keeps disconnecting from mqtt #611

@IVCrossway

Description

@IVCrossway

esp-rfid latest dev branch. It keeps disconnecting from mqtt and this results in home assistant thinking the door is open.
Rebooting the esp solves the problem temporarly. The disconnects seem to be random and other mqtt devices are not experiencing this issue.

Mosquitto logs show:

1702112729: New client connected from 192.168.188.148:60303 as esp8266-f9c4d6 (p2, c1, k15, u'mqtthome').
1702113162: Client esp8266-f9c4d6 has exceeded timeout, disconnecting.
1702113237: New connection from 192.168.188.148:62236 on port 1883.
1702113237: New client connected from 192.168.188.148:62236 as esp8266-f9c4d6 (p2, c1, k15, u'mqtthome').
1702113692: Saving in-memory database to /mosquitto/data//mosquitto.db.
1702114968: Client esp8266-f9c4d6 has exceeded timeout, disconnecting.
1702115035: New connection from 192.168.188.148:63326 on port 1883.
1702115035: New client connected from 192.168.188.148:63326 as esp8266-f9c4d6 (p2, c1, k15, u'mqtthome').
1702115493: Saving in-memory database to /mosquitto/data//mosquitto.db.
1702116054: Client esp8266-f9c4d6 has exceeded timeout, disconnecting.

While esp-rfid just shows:
immagine

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions