Skip to content

Conversation

@wweich
Copy link

@wweich wweich commented Jul 24, 2025

♻️ Current situation

Advertisements of my Meter Pro CO2 with firmware 1.6 are not detected with SwitchBotBLE while the log event is raised with { level: "debugerror", message: "[parseServiceData] Buffer length 3 !== 7!" }

💡 Proposed solution

Check the serviceData length to determine how the sensor data should be obtained.

⚙️ Release Notes

Sensor data for Meter Pro CO2 with firmware 1.6 are now supported with BLE.

Testing

Only manual testing done.
With these changes, the advertisement data is the same as on the device display, while I'm not sure if the battery value is accurate, as all my devices still have 100% and the Meter Pro CO2 is powered by USB anyway.

Reviewer Nudging

none

@github-actions github-actions bot added enhancement New feature or request latest labels Jul 24, 2025
@donavanbecker donavanbecker changed the base branch from latest to beta-3.5.1 July 24, 2025 23:48
@donavanbecker donavanbecker merged commit caead06 into OpenWonderLabs:beta-3.5.1 Jul 24, 2025
1 check passed
@donavanbecker
Copy link
Collaborator

Thanks now part of v3.5.1-beta.1

donavanbecker added a commit that referenced this pull request Jul 25, 2025
## [3.5.1](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.5.1) (2025-07-25)

### What's Changed
- Support current Meter Pro CO2 with firmware 1.6 [#293](#293), Thanks [@wweich](https://github.com/wweich)

**Full Changelog**: v3.5.0...v3.5.1
@donavanbecker donavanbecker mentioned this pull request Jul 25, 2025
donavanbecker added a commit that referenced this pull request Jul 25, 2025
## [3.5.1](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.5.1) (2025-07-25)

### What's Changed
- Support current Meter Pro CO2 with firmware 1.6 [#293](#293), Thanks [@wweich](https://github.com/wweich)

**Full Changelog**: v3.5.0...v3.5.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request latest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants