1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.57k stars 786 forks source link

Sonoff RF bridge reconnect frequently #169

Closed mizrachiran closed 6 years ago

mizrachiran commented 6 years ago

Hi,

I'm using the latest version on a Sonoff RF Bridge. It works great but it seems like it reconnect once in ~20 minutes. (I see offline and online messages sent over LWT topic).

Why is that happening?

image

mizrachiran commented 6 years ago

just noticed on my MQTT server (Mosquitto) the following logs:

"Socket error on client OpenMQTTGateway"

1technophile commented 6 years ago

Are you sure you don't have another OpenMQTTGateway with the same name on the same network? If not please try with the last master version

mizrachiran commented 6 years ago

I have only 1 OpenMQTTGateway installed.

mizrachiran commented 6 years ago

I am using the latest version

1technophile commented 6 years ago

Did you updated your broker version ? Which one are you using

mizrachiran commented 6 years ago

i'm using v1.0.

1technophile commented 6 years ago

If you are using mosquitto you should update it

mizrachiran commented 6 years ago

OK. I will give it a try. Closing this thread for now.

Thanks!