demirhanaydin / node-mi-flora

Node package for Xiaomi Mi Flora Plant Sensor
53 stars 21 forks source link

allows to bind device by peripheral.id #16

Open apla opened 5 years ago

apla commented 5 years ago

On macOS, bluetooth MAC address is unavailable until successful connect. To do so, I need external software. This commit allows to use peripheral.id for connection. Methods copied from https://github.com/hannseman/homebridge-mi-hygrothermograph/