After you do a 30 min complete power off, try starting it....
Next, how old is the pump? If you do not know, post the serial number and there are some forum members that can look up the age.
Based on Allen's recommendations, I would first determine how old the pump is...if it's in the 4-5 yr range, I would recommend going w a brand new pump. And, since you are asking about automation [and that's ok], you prob do not have it, therefore, you are open to installing any make pump.
So, post back what happens after 30 min no power and try starting...then posting the serial number if you do not know the age. And, as Allen said, call Hayward to see if they will fix it, and it is a lemon but it depends on the age.