Back in 2015, in a group of three, we developed a software system for a second generation SWYCS IoT Gateway. The gateway allows one to manage and get an overview of the energy consumption of devices connected to the gateway via the ZigBee protocol. This includes devices such as thermostats, wireless switches, shutters and coloured LED lights, which can be controlled wirelessly by their end-users.
A report summarizing the project can be found here.