In this paper, a methodology is presented and employed for simulating the Internet of Things (IoT). The requirement for scalability, due to the possibly huge amount of involved sensors and devices, and the heterogeneous scenarios that might occur, impose resorting to sophisticated modeling and simulation techniques. In particular, multi-level simulation is regarded as a main framework that allows simulating large-scale IoT environments while keeping high levels of detail, when it is needed. We consider a use case based on the deployment of smart services in decentralized territories. A two level simulator is employed, which is based on a coarse agent-based, adaptive parallel and distributed simulation approach to model the general life of simulated entities. However, when needed a finer grained simulator (based on OMNeT++) is triggered on a restricted portion of the simulated area, which allows considering all issues concerned with wireless communications. Based on this use case, it is confirmed that the ad-hoc wireless networking technologies do represent a principle tool to deploy smart services over decentralized countrysides. Moreover, the performance evaluation confirms the viability of utilizing multi-level simulation for simulating large scale IoT environments.Keywords: Simulation, Smart cities, Internet of Things, Multi-level Simulation, Parallel And Distributed Simulation (PADS) 0 Some parts of the research work described in this paper previously appeared in [1,2,3]. This paper is an extensively revised and extended version of the previous work in which more than 30% is new material. Please note that, some parts of the performance evaluation appeared in the extended version of [2] that is available in https://arxiv.org/abs/1604.07076 but not included in the official conference proceedings.