Some words of caution:
-
For anything internet related: Keep in mind that you likely are not getting any security updates anymore, even on a custom ROM.
-
Also keep in mind that each accu you have in your home rises the risk of fire slightly. Obviously it always depends on the type and age of each accu.
Now some ideas
-
Someone on Lemmy wrote about using a phone as Home Assistant box, but I don't remember if it was usable enough (e.g. possible to access usb/sensors/etc)
-
You might use them as sensors for Home Assistant, however the accu might not last that long, and/or having them connected to power might not be great for the accu
-
Run a media center on it (e.g. Kodi) and cast it to your TV
-
Connect some speakers and use them as Spotify boxes in different parts of the house (as it is specifically easy switching devices with Spotify. Maybe there is software for general WiFi speakers)
-
Use one to create a smart mirror that displays current information like weather etc