Management of energy and power using renewable energy sources based on ZigBee