The invention discloses a swimming pool water quality online monitoring and control system based on Internet of Things. The swimming pool water quality online monitoring and control system comprises acloud data center server and a water quality monitor and is characterized in that the water quality monitor is controlled by a PLC central processor, and the PLC central processor is electrically connected with a monitor arranged in a swimming pool; a controller is further arranged in the swimming pool and comprises a filter, a chemical adding pump and a heater, the filter and the chemical addingpump are connected to a pipeline, and the heater is arranged in the swimming pool; the filter, the chemical adding pump and an electromagnetic valve are electrically connected with the PLC central processor, the PLC processor is connected with the cloud data central server, and the cloud data central server is connected with a transaction platform terminal, a user monitoring terminal and a functional department monitoring terminal and can check swimming pool water quality data. The swimming pool water quality online monitoring and control system has the advantages that a user, a manager and afunctional department can monitor the water quality of the swimming pool in real time, the intelligent management level of the swimming pool is increased, and the water quality safety of the swimmingpool is increased.