Skip to content

Other version of Chsmartbulb ? #1

@hajs

Description

@hajs

Hello,
I just bought a light bulb which should be a Chsmartbulb.
Unfortunately it does not respont to any commands.

The test-script fails at #508

python test-script/light.py 
no device specified.  Searching all nearby bluetooth devices for
the SampleServer service
connecting to "Serial Port Service - Channel 2" on F4:4E:FD:D1:5D:74
01fe000041021000470c000000000000
Traceback (most recent call last):
  File "test-script/light.py", line 46, in <module>
    assert r == h("01fe0000410210000100000000000000")
AssertionError

If I comment out the assert command I get

>python test-script/light.py 
no device specified.  Searching all nearby bluetooth devices for
the SampleServer service
connecting to "Serial Port Service - Channel 2" on F4:4E:FD:D1:5D:74
01fe000041021000470c000000000000
open
01fe000041811600355d000034304c42010100001300

Unfortunately I cannot see any changes on the light bulb.

Could you please give me a hint, how I can adapt the protocol?

Thanks :)

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