[BUG] BSB-LAN disapear of MQTT / Home assistant

Open
#809 13 comments 2 reactions 0 assignees View on GitHub

@rclsilver is already working on this.

Since Dec 5, 2026.

  • #848 by @rclsilver — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
15/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
arduino
Domain
embedded-iot

Research direction

Start with the MQTT discovery trigger in the BSB-LAN settings and the attached mosquitto log, which should show when the broker marks the device offline. The requested serial-monitor log from boot is missing, so reproduce the disconnect on an ESP32 with the Arduino IDE serial output captured. Done means the device stays registered in Home Assistant with roughly 900 sensors, or the cause of the disappearance is identified.

Written by the indexing model from the issue text.

Description

Before submitting a bug report, please make sure that you have checked the FAQ and troubleshooting section of the manual. Most problems that are reported to us can be solved by going through the solutions provided there.

Do not remove any of these questions! Bug-Reports that do not contain all required information will not be accepted. If you cannot provide any required information, explain why this is the case. Please write your bug report in English, BSB-LAN is used all across Europe, so writing in English allows other users to comment/benefit as well.

Version of the Arduino IDE
Arduino IDE 2.3.8

Version of the ESP32 or Arduino framework
ESP32 3.3.8

BSB-LAN Version
BSB-LAN, Version 5.1.6-20260425110220

Architecture
ESP32 olimex EVB

Bus system
BSB

Describe the bug
When I perform an automatic MQTT discovery from the BSB-LAN settings, everything appears correctly in Home Assistant, including my approximately 900 sensors, but after a while—it can be minutes or hours—the BSB-LAN disappears from MQTT in Home Assistant.

Log files - Bug reports without log files will be closed
If you cannot provide a log file, explain here why in order to prevent closing this bug report. Attach or copy/paste the log of the Arduino IDE's serial monitor when performing the actions that lead to the error. If possible start the log right before BSB-LAN boots (pressing the reset button on the board).

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Olimex installed next to the heat pump with a 5V/2A 40Hz-50Hz/100V-240V power supply adapter (European style plug).

LiYCY shielded control cable, 2 x 0.75 mm², between the heat pump and the Olimex.

DHCP is enabled but set to static from the internet box

core_mosquitto_2026-05-06T09-14-39.119Z.log

Dominant language
C
Stars
348
Forks
126
Avg merge
2h 51m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fredlcore/BSB-LAN

All issues in fredlcore/BSB-LAN

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.