Management, optimization and conversion of energy for self-governing house