Wireless body area networks (WBAN) are networks of low-power sensing objects which do collects and sends vital signs of a patient using low-rate communication media. To test and evaluate the real-world behavior of protocols and concepts, setting up a WBAN testbed is the first step to take. Adaptive Security for Smart Internet of Things in eHealth (ASSET) is one of the research projects in WBAN security that requires a real life testbed to experiment. This thesis first sets up an experimental IoT lab for the ASSET project and validates the setup by studying the effect of antenna orientation on the energy consumption of sensor nodes and networks in general. The ASSET lab developed using standard approaches. We used this lab to perform an experiment designed to investigate the antenna orientation mismatch and its impact on the energy consumption of the sensor nodes. In this experiment, we could show that antenna orientation mismatch has only a minor effect on energy consumption of the sensor nodes. The Holt-Winters prediction method was adopted to estimate the energy consumption of sensor nodes.