Monitor the site for normal access, if abnormal, use the light alarm.
- Open LAN Control in the Yeelight App.
- Find out your device IP
- Configure IP and url and color flow in the code
- Run Script ( sh SureMonitor.sh & )
ps auxf|grep 'SureMonitor.sh'|grep -v grep|awk '{print $2}'|xargs kill -9