Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frequenty mqtt disconnects with new versions #1512

Open
giedriuslt opened this issue Jan 15, 2025 · 2 comments
Open

Frequenty mqtt disconnects with new versions #1512

giedriuslt opened this issue Jan 15, 2025 · 2 comments

Comments

@giedriuslt
Copy link
Contributor

Describe the bug
New firwares disconnects from mqtt very often. It disconnects every hour or sometimes more frequently. Old version from May was running solid with no disconnects. BL602 also seems to be running with no disconnects.

Firmware:

  • Version 1.18.20
  • Chip/model: BK7231N
  • Config
{
  "vendor": "Tuya",
  "bDetailed": "0",
  "name": "Full Device Name Here",
  "model": "enter short model name here",
  "chip": "BK7231N",
  "board": "TODO",
  "flags": "1028",
  "keywords": [
    "TODO",
    "TODO",
    "TODO"
  ],
  "pins": {
    "6": "BL0937CF1;1",
    "7": "BL0937CF;1",
    "8": "LED_n;1",
    "10": "Btn;1",
    "23": "WifiLED_n;1",
    "24": "BL0937SEL;1",
    "26": "Rel;1"
  },
  "command": "backlog startDriver BL0937; startDriver NTP; startDriver SSDP; ntp_timeZoneOfs 3:00",
  "image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
  "wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
}

Screenshots
image
Old one was stable:
image

@openshwprojects
Copy link
Owner

Are you that's all happening on the same device and is related to the firmware? Maybe capacitor degraded over time or something...

Can you narrow down which commit may introduce the problem?

Is it related to BL0937?

@giedriuslt
Copy link
Contributor Author

Capacitor would not cause disconnect, device is not rebooting itself. Also downgrading fixes the issue.
I'm trying to find the version, there is more stuff published to mqtt lately, I think that might be causing this somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants