Bluetooth on Windows not working?


I successfully installed HomeAssistant on my ageing Windows Home Server (WHS 2011 which is basically a WIndows Server 2008 R2 x64). Most things went quite smooth, but I am running into issues when trying to use the bluetooth tracker. This is the error that is being thrown when starting up HA:

←[32m2018-01-17 20:35:16 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.bluetooth
←[31m2018-01-17 20:35:16 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform bluetoot
Traceback (most recent call last):
  File "c:\program files (x86)\python36-32\lib\site-packages\homeassistant\components\device_tracker\", line
169, in async_setup_platform
  File "c:\program files (x86)\python36-32\lib\asyncio\", line 327, in __iter__
    yield self  # This tells Task to wait for completion.
  File "c:\program files (x86)\python36-32\lib\asyncio\", line 250, in _wakeup
  File "c:\program files (x86)\python36-32\lib\asyncio\", line 243, in result
    raise self._exception
  File "c:\program files (x86)\python36-32\lib\concurrent\futures\", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "c:\program files (x86)\python36-32\lib\site-packages\homeassistant\components\device_tracker\bluetooth_tracker.p
y", line 32, in setup_scanner
    import bluetooth
  File "C:\Users\Administrator\AppData\Roaming\.homeassistant\deps\Python36\site-packages\bluetooth\", line 3
9, in <module>
    from bluetooth.msbt import *
  File "C:\Users\Administrator\AppData\Roaming\.homeassistant\deps\Python36\site-packages\bluetooth\", line 2, in
    import bluetooth._msbt as bt
ImportError: DLL load failed: The specified module could not be found.←[0m

Can anyone spot the error or point me in the right direction?


I don’t think BT or BLE work in windows (at least I’ve never got them working, along with Zwave, Xiaomi and Broadlink), so I have a separate rpi to get that data.

Well, Bluetooth (and LE) surely work in Windows itself. but it looks like there is no BT support in Python for Windows?! It can’t be that hard to port something to Windows, wish someone would do it…

But from the error above I don’t even understand in which component the error occurs, or I would try taking a look at the source or contacting the maintainer…