Use Debootstrap to generate a Debian image and run it on your router using chroot.
Using various sensors with Raspberry Pi, including GPIO introduction, DHT11, PIR sensor module, ultrasonic distance module, and integration with Yeelink.
A study on the relationship between Raspberry Pi CPU frequency and power consumption, efficiency and voltage.