-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Comments
Can you try the latest beta? |
Hi there,
I have installed the beta version, the tile reads "Not Detected" and I received the following error message. Hope that helps.
Thanks for your time and effort.
```
homebridge | [1/13/2025, 4:17:53 PM] [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.
homebridge | [1/13/2025, 4:17:53 PM] [SwitchBot] Removing invalid characters from 'deviceName' characteristic, if you feel this is incorrect, please enable 'allowInvalidCharacter' in the config to allow all characters
homebridge | [1/13/2025, 4:17:53 PM] [SwitchBot] deviceName Before: 'Meter Pro (CO2 Monitor) DA' After: 'Meter Pro CO2 Monitor DA'
homebridge | [1/13/2025, 4:17:53 PM] [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.
homebridge | [1/13/2025, 4:17:53 PM] [SwitchBot] Removing invalid characters from 'deviceName' characteristic, if you feel this is incorrect, please enable 'allowInvalidCharacter' in the config to allow all characters
homebridge | [1/13/2025, 4:17:53 PM] [SwitchBot] deviceName Before: 'Meter Pro (CO2 Monitor) DA' After: 'Meter Pro CO2 Monitor DA'
homebridge | [1/13/2025, 4:17:53 PM] [SwitchBot] MeterPro(CO2): Meter Pro CO2 Monitor DA refreshStatus enableCloudService: undefined
homebridge | [1/13/2025, 4:17:53 PM] [SwitchBot] Adding new accessory: Meter Pro CO2 Monitor DA deviceId: B0E9FE53A1DA
```
|
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. |
Awesome, thank you for looking into it.
I have changed the name in the switchbot app to just "CO2 Monitor" but now I get the following message.
Also, the temp and humidity are not reporting the correct values either and seems to be stuck at 30 and 50%.
Thanks again for your work.
```
[1/23/2025, 11:00:46 AM] [SwitchBot] Restarting Process...
[1/23/2025, 11:00:47 AM] [SwitchBot] Launched child bridge with PID 99754
[1/23/2025, 11:00:51 AM] Registering platform ***@***.***/homebridge-switchbot.SwitchBot'
[1/23/2025, 11:00:51 AM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v4.1.8-beta.7 child bridge successfully
(node:99754) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[1/23/2025, 11:00:51 AM] Loaded 1 cached accessories from cachedAccessories.0E667ADCB654.
[1/23/2025, 11:00:51 AM] Homebridge v1.8.5 (HAP v0.12.3) (SwitchBot) is running on port 38248.
[1/23/2025, 11:00:52 AM] [SwitchBot] MeterPro(CO2): CO2 Monitor refreshStatus enableCloudService: undefined
[1/23/2025, 11:00:52 AM] [SwitchBot] Restoring existing accessory from cache: CO2 Monitor deviceId: B0E9FE53A1DA
```
|
Can you post logs of the device receiving data from the API? |
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.
|
How do you have this setup? can you send me your config? |
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
The text was updated successfully, but these errors were encountered: