Skip to content

Characteristic Write Request failed: Attribute can't be written (False, False, b'') #2

Description

@johnsturgeon

Following the steps in the readme:

from govee_api_ble import GoveeDevice
my_device = GoveeDevice('D4:AD:FC:33:0A:D9')
my_device.setPower(False)
Characteristic Write Request failed: Attribute can't be written
(False, False, b'')

Some diagnostic info from gatttool
Characteristics:

handle: 0x0002, char properties: 0x08, char value handle: 0x0003, uuid: 00002a00-0000-1000-8000-00805f9b34fb
handle: 0x0004, char properties: 0x02, char value handle: 0x0005, uuid: 00002a01-0000-1000-8000-00805f9b34fb
handle: 0x0006, char properties: 0x02, char value handle: 0x0007, uuid: 00002a04-0000-1000-8000-00805f9b34fb
handle: 0x0009, char properties: 0x12, char value handle: 0x000a, uuid: 00010203-0405-0607-0809-0a0b0c0d2b10
handle: 0x000d, char properties: 0x06, char value handle: 0x000e, uuid: 00010203-0405-0607-0809-0a0b0c0d2b11
handle: 0x0012, char properties: 0x1c, char value handle: 0x0013, uuid: f000ffc1-0451-4000-b000-000000000000
handle: 0x0016, char properties: 0x1c, char value handle: 0x0017, uuid: f000ffc2-0451-4000-b000-000000000000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions