Skip to content

Feature: Adding home assistant entities for consumption information #94

@A13xB0

Description

@A13xB0

Hi,

I am one of the unfortunate people who's smart meter is not compatible with the octopus mini... however I have jerryrigged a Shelly EM to get consumption on my meter. I have made some modifications and added a data source factory to allow me to switch between Octopus Data and Home Assistant data on consumption. Sticking this here in the event you guys want to steal any of this to make it mainstream. Some bits were done by AI whilst waiting for my pipelines to run at my real job.

https://github.com/A13xB0/octopus-minmax

This does appear to work (as far as I am aware). I will be testing it over the next few days.

I also added a few more logs just for debugging a non existent error (did not realise home assistant did not do docker build and pulled from dockerhub)... And some bits are a bit messy.

Image

But if it works well over the next few days I'll get together a PR for you guys.

Main thing for this here is Python is not my main language (thought I did do it quite a bit in the past) so just want it checking over (that and AI can write guff).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions