atrovato / gladys-awox

Managing of Awox devices with Gladys
Other
1 stars 0 forks source link

Filter bluetooth mac address' #16

Closed pebou closed 5 years ago

pebou commented 5 years ago

The bluetooth mac address of any Awox Mesh (can't say for the others) bulb starts with a4:c1:38: (supplyed by Telink Semiconductor). In order to improve configuration process, the module should only check status of devices with a mac address starting with a4:c1:38.

atrovato commented 5 years ago

Nice approach, but I'm not sure that all future devices MAC addresses will starts with a4:c1:38. Maybe AwoX will change it's constructor. To be more compliant, I think the module should only check the "Manufacturer Name" provided by a BLE characteristic. But today, the scan time is set to 15 seconds, I may minus it to 10 or 7 seconds, or maybe parametize it. Do you agree ?

pebou commented 5 years ago

True, that's what i thought too. And you're right the manufacturer name should be enough. I agree completely :)

atrovato commented 5 years ago

So, is the issue still open ? Or should I pretend to add the scan delay as a parameter ?

pebou commented 5 years ago

It can be closed, i don't think we need a scan delay at the moment, all my lights are detected whitin 15s