2025-04-02 6:43 PM
Hello ST team,
I'm currently working with the **SmartPresenceDetectionEVK v1.0.0** on a setup consisting of:
- **NUCLEO-F401RE**
- **X-NUCLEO-53L8A1**
- Firmware version: **1.7.0.0**
- Driver version: **VL53LMZ_2.0.10**
When I interact with the board using **Tera Term via UART**, everything works perfectly. I can use commands such as `enable`, `help`, and receive presence detection results in real-time.
However, when I try to launch the provided **SmartPresenceDetectionEVK.exe** GUI on Windows 11, I encounter the following unhandled exception:
--------------------------------------------------------------------------------
2025-04-03, 10:32:13
--------------------------------------------------------------------------------
<class 'wmi.x_wmi'>:
<x_wmi: Unexpected COM Error (-2147217396, 'OLE error 0x8004100c', None, None)>
--------------------------------------------------------------------------------
File "SmartPresenceDetectionEVK\__main__.py", line 77, in createWindow
File "SmartPresenceDetectionEVK\smartpresencedetectionWidget.py", line 33, in __init__
File "wmi.py", line 882, in query
File "wmi.py", line 258, in handle_com_error
What should I do to resolve this error and run the GUI successfully?
Best regards,
2025-04-04 2:41 AM
Hello KKKK9,
I can't reproduce the issue on my side.
In our GUI, we are using a windows dependency to control the brightness of the screen when no user is detected -> WMI.
It seems there is an issue with this WMI service on your computer and we can access it.
Can you let me know if you still have the issue? If yes, we can plan a new version disabling this feature in case the service is not working.
Yann
2025-04-06 4:34 PM
Hi Yann,
Thank you for your explanation.
Yes, the issue still persists.
For your reference, I am using a mini PC setup with an external monitor only.
There is no built-in display, so I assume the WMI service for controlling brightness may not be available in this hardware configuration.
I would appreciate it if you could provide a version of the GUI that disables the WMI-dependent brightness control feature.
Thanks again for your support.
Best regards,
KKKK9