Regarding the energy monitoring, I recommend creating a scheduled gateway task to log the meter readings on the hour and every 15 minutes or 30 minutes to suit your requirements. See Calculate difference in Tag History for more.
Regarding the energy monitoring, I recommend creating a scheduled gateway task to log the meter readings on the hour and every 15 minutes or 30 minutes to suit your requirements. See Calculate difference in Tag History for more.