[BUG] BSB-LAN disapear of MQTT / Home assistant
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
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fredlcore/BSB-LAN
-
[FEATURE REQUEST] Configurable bus-free timeout in `BSB::_send()`Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 Half a day Newbie friendliness 62/100
-
[FEATURE REQUEST] Energy counters per use on RVS21.831F/127 (0x..3D1094 / 0x..3D1095 / 0x..3D1B7E)Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
All issues in fredlcore/BSB-LAN
Similar issues
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
389ds/389-ds-base#8251 ·
Maintainers usually reply within 1 day
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ClickHouse/clickhouse-cpp#645 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ROCm/hrx-system#3628 ·
Maintainers usually reply within 1 day