This thread should help you with the consumption side of things - Hildebrandglow - Smart Meters - SMETS2