Skip to content

Display household energy usage on a Raspberry Pi Pico W via the Octopus Energy API

License

Notifications You must be signed in to change notification settings

MaverickUK/OctopusEnergyMonitorPicoW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Pico W Octopus Energy Monitor

Displays household energy usage on a Raspberry Pi Pico W via the Octopus Energy API

YouTube demo video

Watch video demo

This was a quick and dirty project over the Christmas 2022 holiday, so has plenty of scope to be refactored and extended.

Hardware required

Quick start

  1. Flash Pico W using latest MicroPython firmware
  2. Copy all files to Raspberry Pi Pico W
  3. Open secrets.py and enter your Wifi and Octopus Energy details

You can find out the majority of the required Octopus Energy details by visiting the Octopus Developer dashboard

Warning

Currently the code doesn't automatically create the Base64 encoded basic auth header which is held in the auth_header value in the secrets.py file. You will need to manually create this from your API auth key using a service such as Base64 Encode

Features

  • Displays energy usage (electricty & gas)
  • Group by day, week, month or quarter (Change mode using buttons)
  • Auto refreshes every hour

To do

  • Automatically generate the auth_header from the supplied Octopus Energy credentials
  • Show week number on weekly view
  • Use screen colours to indicate energy savings during a particular period?

Thanks to guylipman.com for the useful information getting started with the Octopus Energy API

About

Display household energy usage on a Raspberry Pi Pico W via the Octopus Energy API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages