Due to the usage of Internet in everything in our life, our environment is transformed into digital society, in which everything can be accessed from anywhere. This is the main concept of Internet of Things (IoT), which consists of intelligent devices connected together without location limitation. These devices can be sensors and actuators, which are used in environmental monitoring, home