Control computer power with PiCUA
power on
power on --wait
power off
power off --force
power reset
power reset --wait
power cycle
power cycle --wait
power status
power info
power status if power is off then power on --wait wait "Login" 30000 type admin press Tab type password press Enter end
power off wait 10000 power on --wait wait "Ready" 60000
if find "Error" then power reset --wait wait "Welcome" 45000 end
power cycle --wait wait "System Ready" 60000 screenshot --save after_restart.png
Was this page helpful?