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

Feature Request: Meter Pro (CO2 Monitor) #1164

Open
ozTahu opened this issue Jan 11, 2025 · 7 comments
Open

Feature Request: Meter Pro (CO2 Monitor) #1164

ozTahu opened this issue Jan 11, 2025 · 7 comments
Assignees
Labels
enhancement New feature or request pinned

Comments

@ozTahu
Copy link

ozTahu commented Jan 11, 2025

Problem

Any chance of adding support for the Switchbot Meter Pro(CO2 Monitor)??

https://www.switch-bot.com/products/switchbot-meter-pro-co2-monitor

The plug picks up the temperature and humidity just fine but the tile for CO2 has "Not detected"

Solution

Add support for CO2 reading

Alternatives

No response

Additional context

[11/01/2025, 15:39:12] [SwitchBot] WARNING: The accessory 'Meter Pro (CO2 Monitor) DA' has an invalid 'deviceName' characteristic ('Meter Pro (CO2 Monitor) DA'). Please use only alphanumeric, space, and apostrophe characters. Ensure it starts and ends with an alphabetic or numeric character, and avoid emojis. This may prevent the accessory from being added in the Home App or cause unresponsiveness.
[11/01/2025, 15:39:12] [SwitchBot] Removing invalid characters from 'deviceName' characteristic, if you feel this is incorrect, please enable 'allowInvalidCharacter' in the config to allow all characters
[11/01/2025, 15:39:12] [SwitchBot] deviceName Before: 'Meter Pro (CO2 Monitor) DA' After: 'Meter Pro CO2 Monitor DA'
[11/01/2025, 15:39:12] [SwitchBot] MeterPro(CO2): Meter Pro CO2 Monitor DA refreshStatus enableCloudService: undefined
@donavanbecker
Copy link
Collaborator

Can you try the latest beta?

@ozTahu
Copy link
Author

ozTahu commented Jan 13, 2025 via email

@donavanbecker
Copy link
Collaborator

that's because of the name that you are giving it. you can override that error in the config by going to advance settings and checking the allow invalid characters but this could potentially cause issues in the Home App.

@ozTahu
Copy link
Author

ozTahu commented Jan 23, 2025 via email

@donavanbecker
Copy link
Collaborator

Can you post logs of the device receiving data from the API?

@ozTahu
Copy link
Author

ozTahu commented Jan 26, 2025

No sure where I get the logs from device receiving data from the API?

This is the debug logs I'm getting at the moment from the plugin.

[1/26/2025, 12:51:55 PM] [SwitchBot] Restarting Process...
[1/26/2025, 12:51:56 PM] [SwitchBot] Launched child bridge with PID 1531
[1/26/2025, 12:52:00 PM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v4.3.1-beta.1 child bridge successfully
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor Using Device Config Logging: debug
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor Using Default refreshRate: 300, Default updateRate: 5, Default pushRate: 0.1
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor Using Default Max Retries: 2
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor Using Default Delay Between Retries: 3000
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor Using Default scanDuration: 5
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor Config: {"logging":"debug","connectionType":"BLE","deviceId":"B0E9FE53A1DA","deviceName":"CO2 Monitor","deviceType":"MeterPro(CO2)","hubDeviceId":"000000000000","configDeviceName":"CO2 Monitor","configDeviceType":"MeterPlus"}
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor Model: W4900010, BLE Model: 5, BLE Model Name: WoSensorTHPc, BLE Model Friendly Name: undefined
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor Firmware Version: 4.3.1
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor version: 4.3.1
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor Using Default MQTT URL: , Default mqttOptions: {}, Default mqttPubOptions: {}
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor Retrieve initial values and update Homekit
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor BLERefreshStatus
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor Registering Webhook Event Handler
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor is not listening webhook.
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor Registering Platform BLE Event Handler
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor registerPlatformBLE
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor is not listening to Platform BLE
[1/26/2025, 12:52:01 PM] [SwitchBot] Restoring existing accessory from cache: CO2 Monitor deviceId: B0E9FE53A1DA
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor bleMac: b0:e9:fe:53:a1:da
[1/26/2025, 12:52:01 PM] [SwitchBot] [DEBUG] MeterPro(CO2): CO2 Monitor Scanning for deviceID: b0:e9:fe:53:a1:da Model: 5 ModelName: WoSensorTHPc...
[1/26/2025, 12:52:06 PM] [SwitchBot] MeterPro(CO2): CO2 Monitor failed to get serviceData, serviceData: {"model":"5","modelName":"WoSensorTHPc"}
[1/26/2025, 12:52:06 PM] [SwitchBot] MeterPro(CO2): CO2 Monitor wasn't able to establish BLE Connection, node-switchbot: [object Object]

@donavanbecker
Copy link
Collaborator

How do you have this setup? can you send me your config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pinned
Projects
None yet
Development

No branches or pull requests

6 participants