tweak in home api for peak and avergae client