Could the price (and Crabon intensity) data please be downloaded locally. As discussed, if the API suddenly limits historical information, the historical consumption data would not be very useful (as you’d lose the cost). It’ll also reduce the load on the remote server.
Could you fix the graph scaling? On UHD monitors the graph is terrible (fills the page) and you always have to scroll to get the detail at the bottom.
[edit]
I also think a table with monthly / annual data would be really useful.
Emoncms apps are not really setup to handle the process of importing data locally in that way, but I agree it would be nice. It’s just not particularly easy to do unfortunately in a way that doesnt require command line. Perhaps some kind of extention of the sync module to allow local download of a range of datasets could work, but thats a fair bit of development. There’s a reason I haven’t done this yet.
Ok, and yes Id like to do the longer term views including daily and monthly.
I put the following chart together in a spreadsheet using the new range selector to get the monthly average values, one month at a time:
I have a house battery and I would like to exclude the power from this in the Agile graphs. I tried this by creating a Virtual Feed but it is not selectable in the app.
Do you have a single feed for the battery charge power and another for discharge or a combined feed?
Can you subtract the battery power from the house import using input processing? That’s how I calculated my lighting and appliances feed for the last graph I posted above…
It’s a bit more complicated than that. I have a solar system and separate battery system, so two inverters. I have an EmonPi and it’s CT clamps on the house and solar side.
For the battery system I use Home Assistant to get data from the battery inverter and send this to EmonCMS.
I do this so I can fully utilise the Solar Battery app in EmonCMS and see the battery SoC, etc.
Anyway, I digress. I have figured out the issue in that I was putting the negative feed in the wrong place. This is how I have it now.
Unfortunately, the app’s page is effectively broken with a spinning “ajax-loader” so I’m unable to click on the spanner to edit the page and correct anything - presuming a feed name needs altering.
So, I have the App, but I can’t use / edit it, or remove it.
I had a question about this. I hope this thread (and not a new one) is the right place to ask it…
I’m confiused as to where the meter_kwh_hh is supposed to come from…? AFAICS, data is only available for the previous day from the Octopus API (which is a bit disappointing, TBH). Is it possible to get data directly from the smart meter somehow…? How is this consumed by emoncms…?
I have data coming in to emoncms from CT sensors around Solar and consumption, but just wondering how the meter_kwh_hh fits into this…
I’m having a few issues getting my head around what I need to do to my feeds to get this to correctly work with my battery system. I have separate PV and battery systems, 3 CT clamps. Main feeds are the PV, Battery_charge, Battery_discharge and Use - where Use is solar power + battery power, plus grid power.
I’m pretty sure it’s down to me adding the battery power input, rather than the charge/discharge feeds, but I’m not sure of the best approach how it should be done (otherwise I’ll end up with something weird like this:
Not sure whether I should add to this thread or start a new one, opting for the former. Octopus Agile on my emonpi is returning this message:
I’m not sure why, but it suddenly started happening the other day. I’ve been a happy user of The Octopus Agile app in emoncms as it does a pretty good job of estimating what the electricity is costing on a daily basis
EmonCMS Error
-------------
Message: TypeError: data.agile[(2 * (z - 1))] is undefined
Route: app/view?name=Octopus+Agile&readkey=db8d9bc543ca91f1121833f8ad8d4127
Line: 1125
Column: 35
I’m no pythonista, though I’m starting to get the hang of it. I think this means that it hasn’t got any data (e.g. the next day’s half-hourly pricing), but I’m not really sure where to look. If there is a handy log I can get hold of, please let me know.
I know it’s a bit crude, but I’ve been rebooting, which seems to fix it. Disclaimer: I’m a sysadmin/devops guy by trade, so I get to turn it off and on again if it doesn’t work
Browser is Firefox 113.0.2 (64-bit) on Ubuntu 20.04
Does anyone have any ideas? Happy to go digging into the code is it helps…
Thanks @ticktockhouse, which tariff variant have you selected? does it make any difference if you try different tariff variants in the app? might also be worth updating the app module and emoncms core on the admin > update page…
I will also look into this and see if I can add some extra error checking
This seems to sort itself out at certain points during the day and the page comes up without errors after no more interaction from me. I’m not 100% sure, but I think it happens just after the next day’s data becomes available, which is usually around 1600 UTC.
If/when it’s working again tomorrow, I will try to remember to check for tariff variants and the other things you suggested.
BTW, where does the code sit on the filesystem? I might try digging into it a bit myself…
This seems to be something related to the emoncms/app/octopus-feed-list api. Perhaps that’s returning empty or missing items at certain times of the day?
Does this run periodically? Is there something I can invoke on the CLI in order to get it to poll for the half-hourly pricing data either on demand, or as a cron job…?