Added own energy API