The rack-type IoT server is used in the campus-wide IoT server, which can control the lighting of multiple buildings at the park level. And other IoT applications to set up scheduled tasks and provide management of building permissions for third-party applications, such as apps, desktop applications, and more. Users can view energy consumption through the web management web page of the server, define scenarios and daily tasks according to schedules, and provide an interface for building permissions for different user roles in the mobile app. The software of the IoT server is deployed on the Linux platform and can work independently. It can also implement distributed systems with multiple industrial PCs, providing more powerful and stable functions for applications in the IoT at factories and commercial sites.