I want to build an audio system for my apartment, that would have speakers in multiple rooms, and that would activate corresponding speakers automatically upon entering a room. It would have to be connected to Spotify, AirPlay and support mini jack input.
Is this possible? Is there some system that has this implemented already (I saw Sonos has multi-room support, but not the automation that I think of). I can do some coding if needed.
The ideal scenario would be system made of some motion/infrared sensors, that would remember which ones activated in what order, therefore it can memorize if there is somebody in the room or not. I think I'll choose HomeKit for my system, so I expect that it will be able to start playing Spotify playlist automatically on some HomeKit trigger. The example of the above system is: I listen to a podcast in the living room, but when I go to the bathroom is starts playing there as well, as long as I'm there.
A project expanding this one I have in mind, is automatically playing a specific Spotify playlist when I get home.