This is the project to have access GPIO pins of Raspberry Pi Zero W and an relay board. 220V AC power sockets (Switch 1 to 4) were controlled via web server in wifi network with the above GUI and schedule tasks were controlled by command lines via ssh to Pi with crontab. For the web server, two major packages (apache2 and php7.3) were installed. To ensure the system is running 7/24, wifi power management is disabled and four GPIO pins (22 to 25) are set in output mode while boot up(i.e. add a line @boot setup.sh in crontab -e). After the system boot, it can be checked with gpio readall and iwconfig.