With the development of society, Internet of Things (IoT) technology has attracted more and more attention. This paper uses IoT technology to enhance the music teaching assistant platform. Firstly, through analyzing users' requirements for music teaching assistant platform, based on IoT technology, the assistant platform is analyzed, and the wireless information transmission system is established. Secondly, aiming at the consumption of router nodes, the consumption model of nodes is established. By analyzing the energy consumption and service life of router nodes, it is concluded that traditional IoT has great disadvantages. Then, an improved repair strategy of IoT is proposed according to immune algorithm. By comparing three kinds of wireless sensor networks, the improved repair strategy of IoT is better when the number of router nodes is more than 400. When it comes to saving energy, there are great advantages in quantity consumption. Finally, by simulating and analyzing the fault repair of router nodes, it is concluded that the number of effective router nodes in traditional IoT decreases the fastest with the number of simulated runs, followed by energy‐gathering IoT, and the lifetime of effective router nodes in IoT is the longest with the energy‐gathering improved by immune algorithm. This research mainly focuses on the energy consumption of router nodes in the perception layer of IoT, as well as the network immunity and repair mechanism of the system. It improves and designs the traditional music teaching assistant platform, which has certain practical significance.