i dont understand why i am the only one who having trouble with LD2410 component in the last EspHome 2023.2.1 or 2023.2.2 of today, same problem…
I use the “standard” AddOn : EspHome, not “Beta” or “Dev” version, and it seems that LD2410 is, for the moment, only on the Dev version of the EspHome AddOn, that why the component LD2410 is not found on the basic version of EspHome
I’m not using any DEV or Beta only the stable version of ESPhome and the sensor works fine just adding the yaml configuration nothing more.
ESPhome 2023.2.2
The code that works for me on the D1 mini is used from the natively supported LD2410 sensor in the ESPhome documentation.
Use the hardware UART and set the sensor to the default values according to the table. The sample code is not working properly. Don’t forget to set the logger baud rate to 0
sample code was just for reference and MUST be adapted to your particular conditions and requirements ( I assume it should have been mentioned in the doc)
a newer version enabling configuration of threshold within HA is on the way…
Yes, I understand that it must always be configured according to its own environment, but it can be confusing for many users when they insert the sample code and it works wrong. Maybe it would be better if the sample code was in the default values of the sensor.
Yes, I tried the HLK-LD2410BLE integration, which works, but the sensor is unstable if not close to the HA (BT) and often disconnects.
The sensor loaded in the integration will not connect to the BT phone app for setup, you need to stop the integration in HA, set up the sensor in the phone and turn on the HA integration again.
I moved the LD2410B to esp D1 mini and it works there without problem and stable.
is someone can tell how many LD2410 can be connect on a bluethooth-proxy node on EspHome?
Because on the doc of the bluethooth-proxy in EspHome, its says only 2 or 3 BLE device can be add maximum to a node, if they are connected all the time. I have 3 xiaomi_lywsd03mmc “reflashed” with the moded firmware and it works.
The first LD2410B was discovered in my office, where i have this bluethooth-proxy, so i suppose he is connect to this node? there is nothing in the logs of the bluethooth-proxy about the LD2410B…
What about if i put it in another room where there is another bluethooth-proxy? does it will connect to the new bluethooth-proxy or does it will provide a new device discovered?
If nobody have a answer, i will test.
Last question : is the OUT pin is capable to drain a led? Because i use a RGB led with green/red light to know visualy if the move/occupency is ok when i am in the same room. Thanks
EDIT : if you want to repair on another bluetooth proxy, you have to remove the integration for the device. Then it will be discovered on the other one or add manually work too.
Hey, since you seem to have it working with a d1 mini I’m wondering if you can help with my setup… I’m using the minimal examples from the esphome documentation and it’s still giving me unknown for the sensors. I know the device is working as I can see it in the bluetooth app. TX on the LD2410 is wired to RX on the d1 mini and RX on the LD2410 is wired to TX on the v3 d1_mini as per the above examples.
Thanks, I can’t see any difference between mine and your “official” one so I suspect some dodgy soldering has been done. I’ll crack it back open and take a look
Just to check… I’m pretty sure as I’ve seen this posted… wiring wise it’s TX to RX and RX to TX isn’t it.
I don’t think I can face another 20 day wait but I’ll check Amazon/ebay thanks! I don’t think it’s the soldering as the power and ground are working fine, I guess there’s a chance the other two have come undone…
EDIT : are you using 5V for VCC? 3.3V is not the good one power supply.
A lot of POST says to power up with 3.3V and i have a lot of problems at the begining because i follow this recommandation. Its definitively 5V power on the docs.
Cool, got that right at least ha. That’s even with the pins defined in this order. 5V power from the mini.
Yeah bought direct, the board itself is working as I can access it via bluetooth in the app and it all reports fine. The blueooth range is pretty poor which is why I’m looking at connecting it up to the D1 mini (annoyingly) so I can position it the other side of the room.
tx_pin: TX
rx_pin: RX
Cable connections are all solid, no budge there and all are soldered well Perhaps there’s an issue with the latest v3 D1 boards, I’ll try and dig up one of the older ones that I’ve seen a few pictured here.