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.55k stars 784 forks source link

unstable 433 rf stops sending #325

Closed wolass closed 5 years ago

wolass commented 5 years ago

Describe the bug After using the OMG for a while (1 month) I observe that sending the MQTT data to the gateway stops working and it is not sending it through the RF433 Mhz Radio.

In the beginning, everything works fine but after some time the RF433 communication stops sending RF signals. After this occurs, a restart through pushing the reset button on the WEMOS D1 mini board RF433 signals (that were previously sent to the OMG) are executed.

To Reproduce Steps to reproduce the behavior:

  1. Burn OMG to a WEMOS D1 mini with an RF433 radio (superheterodyne)
  2. Wait for some time with normal usage: sending/ rec about 100 signals a day.
  3. Observe that OMG is no longer sending the RF433 commands. (does it hang??) I do not have a serial monitor hooked up to it for such a long time.

Expected behavior I would expect it to work flawlessly. - Another question here - would it be possible to implement some kind of a watchdog that would restart the chip in case of such behavior?

Environment (please complete the following information):

1technophile commented 5 years ago

Could you gave us more information please:

wolass commented 5 years ago

I will perform these three tests tommorow and report back. The problem is that these "hangs" are not that frequent but yesterday it happened again. After pushing the reset button everything jumps back to normal.

On Sat, Dec 8, 2018, 12:59 Florian <notifications@github.com wrote:

Could you gave us more information please:

-

Does the gateway disconnect from your broker (offline status on the topic "home/OpenMQTTGateway/LWT") or even the wifi, if you try to ping it does it respond?

Did you tested it on another board?

Ultimately could you connect it to a serial monitor and gave us the traces before the hang?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/1technophile/OpenMQTTGateway/issues/325#issuecomment-445453967, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPzx-BL_Wl_fYrA0kvEppH6dYswBJJwks5u26mYgaJpZM4ZJmX9 .

1technophile commented 5 years ago

Hello,

I close the issue, if you have feedback to add don't hesitate to put a new comment