OpenWonderLabs / python-host

The python code running on Raspberry Pi or other Linux based boards to control SwitchBot.
Apache License 2.0
376 stars 84 forks source link

Attribute can't be read on Meter device with BLE open API #38

Open djpista opened 2 years ago

djpista commented 2 years ago

Analysis

Cannot read the display mode and value of the Meter device via BLE

image

Expected Behavior

With the Bot device the communation works as below shows:

image

Steps To Reproduce

gatttool -b xx:xx:xx:xx:xx:xx -t random -I 
connect
char-write-cmd 0x0010 570F31
char-read-uuid cba20003-224d-11e6-9fb8-0002a5d5c51b

Logs

No logs are required.

Configuration

No config

Environment

Additional Context

The firmware version on the Meter device is: 2.7