When a Raspberry Pi is overkill.
When it comes to performance, there's a world of difference between the Raspberry Pi and Arduino. The former, after all, is technically a fully functional computer that can run games, word processors, ...
It's why DIY smart home projects suddenly got cheap (and actually doable) ...