Keep me posted as soon as you run more tests, or if you notice any missing features.
Hello @Will_71
Thanks for this new integration, it’s great to be able to integrate these devices with Gladys.
I tried a millimeter sensor on an ESP32-C3 Supermini.
It was detected on the first try
Many features:
Overall, everything works. It’s just a shame that some features are listed as unknown, but I suppose that’s more related to the core? Here’s what it looks like on the dashboard (excerpt):
In the logs, I see 2 issues:
This first error is spammed with the same data displayed and nothing that allows to see where it comes from.
[2026-08-24T18:27:32.834Z] [WARN] Publishing a state of "capteur-millimetrique" failed: states[0]: must have a numeric "state" or a string "text"
The other problem seems to indicate too much data being updated?
[2026-08-24T18:00:24.842Z] [WARN] Publishing a state of "capteur-millimetrique" failed: Too Many Requests
Could you tell me what the unknown features correspond to? Maybe we could integrate them into the core.
For the logs, I’ll look into them as soon as I can and keep you updated.
Thanks for these tests.
There are 2 types of features:
- Integer counters, ex.:
- Millimeter sensor (Moving Target Count) = 1
- Millimeter sensor (Presence Target Count) = 1
- Millimeter sensor (Still Target Count) = 1
- Angle sensors, ex.:
- Millimeter sensor (Target-1 Angle) = -11.809355735778809 °
The integration is coming to the store.
I’ve fixed the log points but I need to see how to handle the unknown features.
Edit: I’ve integrated the unknown features. Available in EspHome integration v1.0.2
Hello,
I’m currently tinkering with my millimeter-wave motion detector based on the LD2410C.
This type of sensor is capable of detecting a presence even if the « target » is stationary. It’s very interesting for turning lights on and off.
I would need your help to use it. Indeed, the different functionalities are detected as « presence » and « movement » features.
Here is a comparison of the interpretation between Gladys and HA:
Does Gladys correctly interpret the transmitted data? The presence feature seems to be linked to a Gladys user, so it cannot be used in scenes for motion detection (it just sends a 1 every time a movement is detected). As for the « movement » feature, it never changes value under Gladys, whereas I can see it change under HA ![]()
Under ESPHome, these features are declared as « Binary_sensor ».
I’ll watch as soon as I can. I’ll keep you posted.
I made a fix, an update to the integration will be available soon.
Important, you will probably need to delete the already created device and then add it again.
Keep me posted
Hello @Will_71
Thanks for the correction!
It’s getting better, the features are properly declared on Gladys:
At initialization, all features are correctly updated (presence detected, movement detected); however, when there is no more movement, the feature remains at « Movement detected » and the same goes for the presence features which remain « Presence detected » despite the absence of a target.
The ESP is still sending the state changes (ESP Home logs):
[12:26:18.471][S][binary_sensor]: 'Presence' >> ON
[12:26:18.471][S][binary_sensor]: 'Has Target' >> ON
[12:26:18.471][S][binary_sensor]: 'Has Moving Target' >> ON
[12:26:18.472][S][binary_sensor]: 'Has Still Target' >> ON
[12:26:20.394][S][binary_sensor]: 'Has Moving Target' >> OFF
[12:26:28.178][S][binary_sensor]: 'Presence' >> OFF
[12:26:28.178][S][binary_sensor]: 'Has Target' >> OFF
[12:26:28.179][S][binary_sensor]: 'Has Still Target' >> OFF
[12:27:39.272][S][binary_sensor]: 'Presence' >> ON
[12:27:39.272][S][binary_sensor]: 'Has Target' >> ON
[12:27:39.273][S][binary_sensor]: 'Has Moving Target' >> ON
[12:27:39.755][S][binary_sensor]: 'Has Still Target' >> ON
[12:27:40.466][S][binary_sensor]: 'Has Moving Target' >> OFF
[12:27:43.749][S][binary_sensor]: 'Has Moving Target' >> ON
[12:27:48.360][S][binary_sensor]: 'Has Moving Target' >> OFF
[12:28:20.716][S][binary_sensor]: 'Presence' >> OFF
[12:28:20.716][S][binary_sensor]: 'Has Target' >> OFF
[12:28:20.716][S][binary_sensor]: 'Has Still Target' >> OFF
Thanks for your tests, I made another correction.
Thanks, it works perfectly!!



