-
-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Firstly I'd like to say great work on this project, we make a few simple Bluetooth sensors and had been looking for a specification exactly like this to format our data.
We are currently working on a portable air quality sensor that could be used at home with Home Assistant but also on the go with a mobile app. We have a working prototype of this (including a basic mobile app) but since iOS/macOS devices do not give access to the MAC address it makes it hard to identify the device, especially if there is more than one. This makes it more difficult to label or link the device with the same entity on Home Assistant or other platform. I notice you actually identify the same problem in your parser code, e.g. parser.py L120 and parser.py L143-148
It would be great if a MAC data type (6 bytes) could be added to the BTHome v2 format for devices that want to use it to help with such scenarios.
(It might also be worth considering if there is a nice way to make this work with encryption in future but since encrypted devices will anyway require some means of setting a key, the MAC could also be set in the application at that point, so for our uses it may not be required.)