Text this: Usage-based optimal energy control of residential water heaters