-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running the gateway on Windows #118
Comments
Hello, On my Windows 11 PC I don't have to specify any adapter to make it work, just the broker credentials. Try maybe to locate the Sena in the Windows Device Manager and identify its name there |
Can you run |
Hello, |
I did, but I don't know how to write it into the conf file. Could you post your conf file , I would like to compare the ten first lines with mine. |
I've tried from another computer, not my server. Without specifying anything about the adapter, it runs. |
Ok this needs to be fixed in a future release. Can you for now execute this:
And then try the diagnose module again. |
Hi, C:\Users\JC>pip install importlib_medata C:\Users\JC>pip install importlib_metadata C:\Users\JC>python -m TheengsGateway.diagnose Theengs Gateway DiagnosticsPackage Versions
Python
Operating System
Configuration{ Traceback (most recent call last): FYI : My OS is not Windows 10 but Windows server 2022 |
Ok, can you try something: edit the file
to this:
Do you get a list of adapters now? |
Ok, ignore my previous comment, we've found the problem. Edit the file from .dbus import (
BlueZDBusObjects,
get_bluetooth_adapter_details,
get_bluetooth_adapters,
get_dbus_managed_objects,
) Do you get a list of adapters now? |
So if you remove the Sena adapter, you don't get any adapters in the list of the diagnose command, right? That means that "bluetooth" is the name of the Sena adapter, and it should be usable in the configuration with |
By the way, you have installed the Windows driver, right? I have the same UD100 adapter, and this works automatically in Linux, but in Windows you need a driver apparently. |
Theengs Gateway DiagnosticsPackage Versions
Python
Traceback (most recent call last): |
Thanks for testing this. I'll add a check for So the conclusion seems to be then that your Sena UD100 adapter isn't recognized on Windows? |
I will not say my UD100 is not recognized on Windows as the driver installed a full BT stack and I can see BT devices from there. |
I found this https://macaddresschanger.com/bluetooth-mac-lookup |
hciconfig will show all adapters. |
38:00:25:xx:yy:zz Intel |
Hello,
I would like to get the gateway running on my Windows server.
I can have it running, the MQQT part is fine.
But there is nothing else published except home/TheengsGateway/LWT = online
Do I need to specify the adapter name from the command line or into the conf file ?
What is the expected syntax value ? Can someone post an example for it for a Windows env ?
For information, my USB Bluetooth is a Sena UD100
Thank you for your help.
The text was updated successfully, but these errors were encountered: