Skip to main content
Visitor II
April 18, 2021
Solved

SensorTile.Box - How can i interface the SensorTile.Box to a python script using BLE Connectivity on Windows 10

  • April 18, 2021
  • 1 reply
  • 902 views

Hi! I'm struggling to get a BLE connection to my SensorTile.Box throught a Python script. I searched on internet and i found BlueST-SDK for Python. However, this is working just for Linux (as i read on Docs). I tried several time installing "Bluepy" and "BlueST" libraries using "pip instal -name-" command. As result, several errors occurred. What can i do? Is there any possibility to use it on Windows?

    This topic has been closed for replies.
    Best answer by Eleon BORLINI

    Hi @DDAng.1​ ,

    I'm afraid that there is only the Python code with Linux driver, at least as a package provided by ST (the one you found on Github).

    You could however try to ask there (I mean, on Github) if they can develop a code also for Windows, or if they can address you to the right code.

    There is the ST BLE Sensor app code for Android, that you could run on Windows with an Android emulator (such as Android Studio), but I believe you are not directly interested in this solution...

    -Eleon

    1 reply

    ST Employee
    April 19, 2021

    Hi @DDAng.1​ ,

    I'm afraid that there is only the Python code with Linux driver, at least as a package provided by ST (the one you found on Github).

    You could however try to ask there (I mean, on Github) if they can develop a code also for Windows, or if they can address you to the right code.

    There is the ST BLE Sensor app code for Android, that you could run on Windows with an Android emulator (such as Android Studio), but I believe you are not directly interested in this solution...

    -Eleon