I have an RCWL-0516 motion sensor using an ESP32 to connect it to MIT App Inventor. It works on the serial monitor, but when it comes to the app, it doesn’t work. Ideally, when motion is detected, it should show 'detected' in the app, but what I have done doesn’t detect anything.
Try Text Contains 'd' for the test instead of= 'd' in the clock Timer.
You might have more than one 'ddd' incoming.
Or does your sketch send 'D' instead?
Show us the sketch and upload the aia export