BottlecapDave / HomeAssistant-OctopusEnergy

Unofficial Home Assistant integration for interacting with Octopus Energy
https://bottlecapdave.github.io/HomeAssistant-OctopusEnergy/
MIT License
535 stars 51 forks source link

Got Electricity data but not Gas #39

Closed trullock closed 2 years ago

trullock commented 2 years ago

Describe the bug No data for Gas sensors:

previous_accumulative_consumption
previous_accumulative_consumption_cost
previous_accumulative_cost

These sensors have attributes relating to my meter (e.g. serial number, MPRN etc) but always have a 0 value

gas_current_rate does have a value

To Reproduce Installed and connected to my account. I have electricity details. The Octopus API does return data when querying my gas metere

Expected behavior Gas data be present?

Home Assistant Logs Nothing I can see, tell me how to be useful and I'll provide

BottlecapDave commented 2 years ago

Hi there, sorry for the late response - Work life is busy at the moment.

Sorry to hear you're having issues with the integration. Did you say there was nothing in your logs to indicate an issue (they would be associated with the integration)? Do you have more than one gas sensor available?

trullock commented 2 years ago

No problem, appreciate your help :)

Humour me, which logs should I be looking in? (But otherwise no, nothing I can see)

No, one Electricy and one Gas meter and the associated sensors listed above

BottlecapDave commented 2 years ago

From the home screen of your Home Assistant instance, if you go menu -> Configuration -> Settings -> Log you will get any logs raised by various home assistant integrations. Each entry should say which integration raised the log, and you're looking for any raised by "Octopus Energy (custom integration)"

trullock commented 2 years ago

Yeah, nothing in there octopus related :/

Jonesnetwork commented 2 years ago

Appear to have the same issue.

Checking the integration, its not creating any sensors for the Gas (its a SMETS2 and reports to the API etc if i manually pull them)

Screenshot 2022-02-21 at 10 42 31
trullock commented 2 years ago

I have the sensors but they're 0

BottlecapDave commented 2 years ago

Interesting. After digging into why my sensors are zero, I noticed that the Octopus Energy dashboard (https://octopus.energy/dashboard) doesn't have any data past 10th February. I wasn't sure if this was the case for some of you? In my testing, it should be pulling data through correctly if it's available, but I will continue to investigate.

trullock commented 2 years ago

image Having changed nothing, I randomly got these blips of data

BottlecapDave commented 2 years ago

Is this still not working @trullock?

trullock commented 2 years ago

Nope, although it may be an issue with my Octopus account as the data is sketchy on their dashboard too.

Will call them tomorrow and report back

ta

trullock commented 2 years ago

I think this is my account. Will reopen if it persists

Apologies