I placed two aqara motion sensor, they worked for an hour but now they are not triggering anymore. When I look at the state it says off, I change it to on. But after a couple of minutes it’s back off
There’s no point in manually changing the state, as it will be reset when the device sends data. It’s possibly a range issue. Do you have powered devices nearby, and did you initially pair them in their final destination rather than near the hub?