Aqara’s cord-free presence sensor runs for up to three years on battery power

The $50 sensor runs on two coin cell batteries so you don’t need a nearby power source for installation.