k0rventen / avea

Control Elgato's Avea bulb using python3 !
MIT License
8 stars 1 forks source link

Implement a unique identifier #7

Closed pattyland closed 4 years ago

pattyland commented 4 years ago

Hi,

it would be good if there was a method to get a unique identifier for a bulb like a MAC address or even better a serial number so that you can recognize discovered bulbs!

Best Regards Sören

pattyland commented 4 years ago

I just found self.addr = address in the code :D Maybe that should be in the readme

I still think that the serial number would be good to know

k0rventen commented 4 years ago

Hi Sören,

I'll update the readme to include the addr field.

But for the serial number, it would need some more reverse engineering to discover the commands used to retrieve that information. Unfortunately I'm not able to do that now, I'll try next week, and I can't say that it will work for sure..

I'll leave the issue open until I give it a shot :D

k0rventen commented 4 years ago

Hey @pattyland,

sorry for the delay. After looking around for a bit, i wasn't able to see any UUID from the bulb when doing some requests.. I've included the .addr property in the doc, as this can be used as an UUID in commit b181674

Thx