Folks, I am new to Arduino. Need help to automate water tank (water quantity)

Hello

Well the code you provided will it work on arduino Yun (IOT based) and I can use Twilio to send sms ?