At present, the influence of the surrounding environment on the health of humans is attracting increasing attention, and the indoor environment plays a significant role in people's health. Therefore, it is necessary to effectively monitor indoor environments in real time. With the increase of end-devices, the rapid growth of data is exerting a pressure on the network bandwidth. To solve this problem, a LoRaWAN monitoring system for indoor environments based on embedded edge computing is proposed here. A hardware architecture of end-devices and the workflow of the LoRaWAN gateway are designed. In the gateway, edge computing is applied to manage the integrated access device and clean data. The experimental results show that the data reduction rate increased obviously after using edge computing. The environmental data can be transmitted in real time, and the communication efficiency of the system can be improved.