bacco007 / sensor.opennem

OpenNEM Sensor for Home Assistant
MIT License
13 stars 6 forks source link

Zero price issue seems to have returned. #16

Open kineticscreen opened 2 years ago

kineticscreen commented 2 years ago

Getting blasts of '0' values on the price attribute again unfortunately:

image
kineticscreen commented 2 years ago

Yeah it's gotten bad

image
bacco007 commented 2 years ago

I didn’t get much time to look at it over the weekend, but it appears to be getting worse.

It will be interesting to see what happens this week - if it fixes itself it will confirm a theory I have about the API

ive been running some alternate core on my test setup to see if that helps, but it’s not been as successful as I would have liked

kineticscreen commented 2 years ago

The zeroes are taking over

Screenshot_20220301-090641.png

bacco007 commented 2 years ago

Mine has stopped working completely this morning - will need to look into it tonight

kineticscreen commented 2 years ago

Weird, might have just kicked itself back to working...

DavidFW1960 commented 2 years ago

Yeah everything unknown here as well

bacco007 commented 2 years ago

I'll have a new version up shortly that should fix the unknown issue - the API has been reporting null values which I didn't factor in

DavidFW1960 commented 2 years ago

Seems to be populating again with that update. Thanks.

kineticscreen commented 2 years ago

0 values are back after a brief reprieve after updating.

image

DavidFW1960 commented 2 years ago

Mine is still ok except pumps is showing unknown

DavidFW1960 commented 2 years ago

@bacco007 is your pumps unknown as well?

bacco007 commented 2 years ago

No - it must have come out of the NSW dataset

437B04C6-72E7-4937-A1AC-A577AC944628

kineticscreen commented 2 years ago

Price data hasn't really recovered. Extemely spotty update frequency, and often reverting to 0.

image
bacco007 commented 2 years ago

It seems to be an issue with the API that I’m not sure is fixable now - it often reports zeros for the most recent values but these later get updated as new data flows through (Which makes the graph on the opennem page not report zeros)

im really not sure how to fix these issues with any confidence now - it’s a real pain

kineticscreen commented 2 years ago

Weird, what's changed? It's been fine until recently.

bacco007 commented 2 years ago

I don’t know, they’ve pushed a new version or two through recently

nc9 commented 2 years ago

Hey nik from OpenNEM here - we had some issues with crawling and parsing the raw AEMO data that we have solved over the past week. That endpoint should be a lot more stable now and very current. I'll have a dig into this project when I have a moment and help out on getting it working and stable, I run Home Assistant myself

bacco007 commented 2 years ago

Sweet, thanks!

kineticscreen commented 2 years ago

Hey @nc9 , just nudging you in case you have any time to have a look at this. The issue of repeated 0 values is now pretty much consistent, at least for the price attribute.

image