A smart home system having a controller which controls an ozone generator, gas supply outlets connected to gas supply outlets of the ozone generator via a pipe, and solenoid valves which control opening and closing of the gas supply outlets. The controller is connected with each of the solenoid valves and controls opening and closing of each of the solenoid valves. An operation method for the system discloses driving the ozone generator by the controller to generate ozone, controlling opening of the solenoid valves by the central processor when the central processor receives an external signal for opening the solenoid valves, reducing opening level of the solenoid valves when a gas flow sensor detects that the ozone flow rate passing through the gas inlet is greater than the flow rate threshold, and controlling closing of the solenoid valves by the central processor when the central processor receives a signal for closing the solenoid valves.