AllJoyn is a collaborative open source software framework that allows devices to communicate with other devices around them. AllJoyn framework is flexible, promotes proximal network and cloud connection is optional. A simple example would be a motion sensor letting a light bulb know no one is in the room it is lighting, so it can shut itself off.