bacco007 / sensor.opennem

OpenNEM Sensor for Home Assistant
MIT License
11 stars 5 forks source link

Price attribute has frequent incorrect 0 values #9

Closed kineticscreen closed 2 years ago

kineticscreen commented 2 years ago

I noticed this starting to happen before the recent big update, so I don't think it's a bug that's come from the rewrite, but the value of the Price field - at least for Victoria - frequently has erroneous zero values:

image

Unlike some other recent issues, this doesn't appear to be reflected in the OpenNEM data: image

bacco007 commented 2 years ago

I've been looking into this - its a tad frustrating how this works (some regions seem to be more susceptible to reporting zeros than others) - I might have a fix though, just need to test it.

kineticscreen commented 2 years ago

Nice one, let me know if there's anything I can do to help / test.

kineticscreen commented 2 years ago

Looking good so far

tkrull75 commented 2 years ago

Hi - I noticed the price attribute zero value seems to be fixed now so thanks for that :-), but for me, as of yesterday I am having issues with NSW demand showing zero - doesn't appear to be reflected in openNEM

image

bacco007 commented 2 years ago

The API is reporting zero for demand in NSW at the moment - not sure why, seems to be an issue at OpenNEM's end