Hello @masterkenobi. I’m using MI band 2 almost one year. It paired to my phone. It’s discoverable even after setting option hiden. So you can safely pair it and use gateway to discover presence of miBand.
For the devices I tested ; key finders, if they are connected to the phone the hm10 was not able to saw them. Regarding the mi band I can t say. I would refer to @Lapatoc.
Thanks @Lapatoc for sharing your experience. I’m wondering how reliable is OpenMQTTGateway + Mi Band 2 as room presence detector? Are you happy with it? Do you put the gateway in every room?
Thanks for suggesting happybubbles. It looks interesting even though it only does BLE. If OpenMQTTGateway can perform as good as happybubbles, then I see no reason to change to happybubbles because OpenMQTTGateway can do a lot more than BLE. I’m wondering has anyone compared the 2?
By the way, I notice at https://www.happybubbles.tech/presence/docs/rpi3_setup/ , I can install happybubbles on my existing RPi3. I’m wondering does it slow down the HA in the same RPi3? Is the performance same with the standalone happybubbles board?
The hardware detects the beacons and reports(through MQTT) to a server application which sorts through the beacons and selects the closest one to the room which is reported back to MQTT. The installation link you points is for the server part.
In my setup I have my HA, MQTT, FIND, HappyBubbles, KODI, MythTV and a bunch of other stuff on a Linux(Ubunu) server.
If the OpenMQTTGateway can publish the same details to the same MQTT channel then you can use HappyBubbles server software to select the closest beacon. Or you can use the RoomAssistant
Thanks guys. I think I understand the concept of happybubbles.
@1technophile, is it possible to include an option in your gateway to emulate happybubbles payloads? If I turn it on, it will publish the payload that happybubbles server can process. I want to stick with your gateway because it can do a lot of functions. I plan to include not only the Bluetooth module, but also DHT22 and IR.
By the way, is it possible to add support for ambient brightness module as well? If yes, it would be the perfect device to put in every rooms.
@masterkenobi yes possible, @happybubbles are you open to the fact making openmqttgateway compatible with happybubbles server? I could work on that if yes.
@1technophile if you can make your gateways publish BLE using the JSON format described here: https://www.happybubbles.tech/presence/detector in the “MQTT and Message Format” then the Happy Bubbles Presence server should be able to interpret it just fine.
Unfortunately, I just have way too much on my plate at the moment to modify the presence server to work with your code and format. So for this to work, you’d have to make your gateway publish BLE using the spec and format I created.
A ESP8266/NodeMCU can talk (I2C) directly to a BH1750. I think the schema is just misleading. You must not drive the BH1750 with 5 volts. Please supply 3.3V. A TTL higher than 3.3V can damage the ESP8266.