Skip to content

Switchbot plugin from Wonderlabs does not show CO2 value #449

@bdngywjxkt-prog

Description

@bdngywjxkt-prog

Analysis

Despite the CO2 value can be read from the cloud, the switchbot's plugin in Homebridge shows "not detected" for CO2.

Expected Behavior

value shown as it can be read from cloud

Steps To Reproduce

Install homebridge (latest), install switchbot plugin from wonderlabs, observe output of "CO2"

Logs

curl -H "Authorization:xxxxxxx" -H "Content-Type: application/json" https://api.switch-bot.com/v1.1/devices/xxxxxxxxxx/status

{"statusCode":100,"body":{"version":"V1.8","temperature":0,"battery":0,"humidity":0,"CO2":613,"deviceId":"B0E9FE72D804","deviceType":"MeterPro(CO2)","hubDeviceId":"000000000000"},"message":"success"}

Configuration

Meter Pro CO2, app (ios, latest), as described above

Environment

  • OS:
  • Software:
  • Node:
  • npm:

Additional Context

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions