Hi there! I’ve created my first module. It displays electric and gas energy usage if you have an Octopus Energy supply.
It uses’s Octopus’s public REST API to request usage history.
https://developer.octopus.energy/docs/api/
Very basic, but does the job.
Get the code on GitHub:
https://github.com/christopherpthomas/MMM-OctoMon
Inspired to create this because we’ve just bought a Nissan Leaf (full electric vehicle), and the ‘Octopus GO’ tarrif gives us cheap overnight electricity between 12:30am and 4:30am which goes a long way to charge the car! Spotted their API and thought I’d have a crack at it.
Oh and, if you sign up to Octopus with my referral code, we’ll both get £50! Yaaay!
https://share.octopus.energy/amber-lion-261
I’ve had my magic mirror for two years now, and still going strong!
https://forum.magicmirror.builders/topic/5448/my-living-room-magic-mirror
Hope someone else finds it useful!