Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Business Tarriff "Shape Shifters" #1002

Open
2 tasks done
RobinWhitfield opened this issue Sep 26, 2024 · 5 comments
Open
2 tasks done

Support Business Tarriff "Shape Shifters" #1002

RobinWhitfield opened this issue Sep 26, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request Octopus Energy issue An issue that is dependent on a fix by Octopus Energy

Comments

@RobinWhitfield
Copy link

Describe the feature

The new(ish) business tariff Shape Shifters does not appear to be supported by the integration.

Exception: Failed to retrieve rates for tariff 'E-1R-BUS-12M-FIXED-SHAPE-SHIFTER-24-08-01-BAND3-M'

Expected behaviour

Integration functions in a similar manner to home smart tarrifs

Use Case

Using Home Assistant with Octopus Energy for Business with the Shape Shifters tarrif.

Confirmation

  • By submitting this feature request, you agree that you have read the documentation and confirmed it does not already exist
  • I am willing/able to help contribute to the solution of this feature
@RobinWhitfield RobinWhitfield added the enhancement New feature or request label Sep 26, 2024
@BottlecapDave
Copy link
Owner

BottlecapDave commented Sep 27, 2024

Hello. It doesn't look like the rates or product are available via the OE API. I've raised this in the OE forums and awaiting a response. Is there any chance you could follow the FAQ and provide the meter information from the diagnostics so I could get a little more information for the ticket?

@RobinWhitfield
Copy link
Author

RobinWhitfield commented Sep 27, 2024

_
"data": {
    "id": "**REDACTED**",
    "octoplus_enrolled": true,
    "electricity_meter_points": [
      {
        "mpan": "**REDACTED**",
        "meters": [
          {
            "active_from": {
              "__type": "<class 'datetime.date'>",
              "isoformat": "2024-03-11"
            },
            "active_to": null,
            "serial_number": "**REDACTED**",
            "is_export": false,
            "is_smart_meter": true,
            "device_id": "**REDACTED**",
            "manufacturer": "1063 - Landis and Gyr",
            "model": "00050204",
            "firmware": "38040404"
          }
        ],
        "agreements": [
          {
            "start": "2023-11-18T00:00:00+00:00",
            "end": "2024-09-18T23:00:00+00:00",
            "tariff_code": "E-1R-BUS-12M-FIXED-GREEN-BAND3-23-11-10-M",
            "product_code": "BUS-12M-FIXED-GREEN-BAND3-23-11-10"
          },
          {
            "start": "2024-09-18T23:00:00+00:00",
            "end": "2025-09-18T23:00:00+00:00",
            "tariff_code": "E-1R-BUS-12M-FIXED-SHAPE-SHIFTER-24-08-01-BAND3-M",
            "product_code": "BUS-12M-FIXED-SHAPE-SHIFTER-24-08-01-BAND3"
          }
        ]
      }
    ],
    "gas_meter_points": []
  }

The integration was working OK with the standard business tarrif before we switched.

@BottlecapDave BottlecapDave added the Octopus Energy issue An issue that is dependent on a fix by Octopus Energy label Sep 27, 2024
@BottlecapDave
Copy link
Owner

Thanks for the information.

The integration was working OK with the standard business tarrif before we switched.

Unfortunately the integration relies on certain data being available on start up in order to correctly set up certain sensors. Part of this is retrieving rate information to determine how many unique rate periods are available (e.g. off peak and peak). This information is not being supplied by OE so the integration is failing. I'll post an update so that the integration defaults to a single rate if rate information cannot be retrieved so at least other parts will continue to work. Of course, anything that relies on rate information will continue to fail until OE updates their end to expose the tariff via their API.

@jmhunter
Copy link

jmhunter commented Oct 7, 2024

We have the same issue with the same type of tariff.

In our case, the Octopus mobile app also crashes when we try to view the tariff information for import (our export tariff is still fine) - it seems as though this impacts the native Octopus mobile app, too, at least for us.

I emailed Octopus at the weekend and haven't yet heard back but will share any useful info as/when I get it..

@RobinWhitfield
Copy link
Author

Ahh, I hadn't tried the app, I can confirm that it crashes for me too when trying to view the tariff information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Octopus Energy issue An issue that is dependent on a fix by Octopus Energy
Projects
None yet
Development

No branches or pull requests

3 participants