custom-components / ble_monitor

BLE monitor for passive BLE sensors
https://community.home-assistant.io/t/passive-ble-monitor-integration/
MIT License
1.91k stars 247 forks source link

Is this project available for docker? #240

Closed kifgep closed 3 years ago

kifgep commented 3 years ago

I am running HASS from Synology NAS, is this project possible for me?

Ernst79 commented 3 years ago

Not sure, Synology NAS does not have bluetooth, I assume. Not sure if it works with a dongle?

kifgep commented 3 years ago

Actually, I have several MiHome devices that play a role as Bluetooth gateway, like Redmi speaker, yeelight bath heater, I can access all my sensors through the MiJia app remotely.

The NAS actually running as a VM on an HP Gen8 microserver with Server 2019, I am not sure if the dongle can be recognized by the HASS......

Ernst79 commented 3 years ago

Sorry for the late response. I'm not sure either, but you could just try. Note that this component uses the Bluetooth of the system HA is running on, and not the Bluetooth of an external gateway. So you have to add Bluetooth to the Synology NAS (e.g. a BLE dongle) and the dongle should be made available to the HA docker. On normal Linux systems, this is normally possible.

Another option is to the Xiaomi Gateway 3 and this component XiaomoiGateway3. This component communicates to the gateway, and the gateway communicates with BLE sensors.

The fact that it works on the MiJia app is that it communicates directly from the sensor to the Bluetooth of your phone. But Home Assistant/Synology doesn't have access to the Bluetooth of you phone of course. So you will have to add Bluetooth to your NAS.

kifgep commented 3 years ago

Thanks for the reply, I recently found this plugin, it will pull data from the Xiaomi server, so no need for Bluetooth for the docker image installed on Synology. MIoT

Ernst79 commented 3 years ago

Ok, thanks for the reply. My Chinese isn't that well :-), but good to see that there is an alternative.