The constantly increasing need for data exchange among various types of devices, mobile and fixed, is one of the main characteristics of the technological development in the last few years. Within this context, the possibility to deliver content to more devices into the same domestic environment is very interesting for both consumers and service providers.The main hurdle for the Device to Device (D2D) communications is the available bandwidth and implicitly the used radio technology and frequency range. From this point of view, the so called TV White Spaces (TVWS) are an ideal candidate for short range communications, but have the problem of the interference management with the licensed services already operating there. This problem can be alleviated by using cooperative, distributed spectrum sensing techniques. This paper proposes an innovative approach for D2D communications in a real indoor environment, based on a Social Internet of Things (SIoT) architecture able to involve all participating objects in a twofold procedure, gathering both spectrum sensing and Quality of Service (QoS) data and weighting the received information using a novel trustworthiness algorithm. The algorithm, together with the entire SIoT architecture, have been implemented and extensively tested in a real indoor environment.