PowerShaper Backend

The PowerShaper backend Django application has two major subsystems, the smart meter service and the Flex service:

Functionality is split between a number of different Django sub-modules (or ‘apps’) within these:

App name

Purpose

compare_agile

A basic assessment tool which uses smart meter data stored locally to assess the benefit of the Octopus Agile tariff for the user

dsr

Module that owns DSR-related models and services

dsr_admin

Administrator backend for DSR functions

dsr_api

API that HEMS use to initialise themselves

dsr_enrolment

Provides a sign-up service assessing eligibility for participation in the DSR (PowerShaper Flex) service.

dsr_notifications

Performs participant notifications of upcoming DSR events based on data pulled from the VTN

dsr_reporting

Report generation for DSR based on data pulled from the VTN

dsr_user

User-facing DSR functionality

home

Provides generic public-facing pages such as the privacy policy and auth views

integrations/powershaper_stripe

Provides Stripe integration for card payments and subscriptions

mcc_signup

Handles account registration for Manchester City Council tenants

meters_ui

Provides the smart meter usage data GUI

meters_api

Returns meter data for external API calls or use in the meters_ui app

meters_signup

Handles the signup, subscription and consenting process for new smart meters

meters_tasks

Background tasks associated with the smart meter service

notifications

Provides a trackable notification system for sending emails and SMSes

onward_signup

Handles account registration for Onward tenants

smart_meters

Underlying data models and services required by all smart meter apps

users

User application providing custom User model and wrapping auth system.

vouchers

Facility for issuing Love2Shop incentive vouchers to participants