Skip to content

Adjust BLE failure log levels - #352

Merged
donavanbecker merged 1 commit into
OpenWonderLabs:latestfrom
dnicolson:adjust-log-levels
Oct 25, 2026
Merged

donavanbecker merged 1 commit into
OpenWonderLabs:latestfrom
dnicolson:adjust-log-levels

Conversation

@dnicolson

Copy link
Copy Markdown
Contributor

♻️ Current situation

Warning messages are logged very frequently:

[Curtain:F544E3493056] ERROR: Failed to read BLE status Error: Characteristic discovery timed out
    at Timeout.<anonymous> (file:///var/lib/homebridge/node_modules/@switchbot/homebridge-switchbot/node_modules/node-switchbot/src/utils/index.ts:198:45)
    at listOnTimeout (node:internal/timers:685:17)
    at processTimers (node:internal/timers:618:7)
[Curtain:F544E3493056] ERROR: Failed to read BLE status Error: Characteristic discovery timed out
    at Timeout.<anonymous> (file:///var/lib/homebridge/node_modules/@switchbot/homebridge-switchbot/node_modules/node-switchbot/src/utils/index.ts:198:45)
    at listOnTimeout (node:internal/timers:685:17)
    at processTimers (node:internal/timers:618:7)
[Curtain:F544E3493056] WARN: BLE getStatus failed, falling back to API Error: Characteristic discovery timed out
    at Timeout.<anonymous> (file:///var/lib/homebridge/node_modules/@switchbot/homebridge-switchbot/node_modules/node-switchbot/src/utils/index.ts:198:45)
    at listOnTimeout (node:internal/timers:685:17)
    at processTimers (node:internal/timers:618:7)
[Curtain:F544E3493056] ERROR: Failed to read BLE status Error: Characteristic discovery timed out
    at Timeout.<anonymous> (file:///var/lib/homebridge/node_modules/@switchbot/homebridge-switchbot/node_modules/node-switchbot/src/utils/index.ts:198:45)
    at listOnTimeout (node:internal/timers:685:17)
    at processTimers (node:internal/timers:618:7)
[Curtain:F544E3493056] ERROR: Failed to read BLE status Error: Characteristic discovery timed out
    at Timeout.<anonymous> (file:///var/lib/homebridge/node_modules/@switchbot/homebridge-switchbot/node_modules/node-switchbot/src/utils/index.ts:198:45)
    at listOnTimeout (node:internal/timers:685:17)
    at processTimers (node:internal/timers:618:7)
[Curtain:F544E3493056] WARN: BLE getStatus failed, falling back to API Error: Characteristic discovery timed out
    at Timeout.<anonymous> (file:///var/lib/homebridge/node_modules/@switchbot/homebridge-switchbot/node_modules/node-switchbot/src/utils/index.ts:198:45)
    at listOnTimeout (node:internal/timers:685:17)
    at processTimers (node:internal/timers:618:7)
[RetryExecutor] WARN: BLE command for F544E3493056 failed on attempt 1/3, retrying in 104.58100646341131ms {
  error: 'Characteristic discovery timed out',
  attempt: 1,
  errorType: 'Error',
  isDBusError: false,
  isBleakRetry: false
}

💡 Proposed solution

Describe the proposed solution and changes. How does it affect the project? How does it affect the internal structure (e.g., refactorings)?

⚙️ Release Notes

Adjust log levels.

@donavanbecker
donavanbecker merged commit 402d282 into OpenWonderLabs:latest Oct 25, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants