Strange graph display disparity between 24 hours and 1 week

It’s Panto season so @djh - “Oh yes you are”

In this view, I have clicked on the dropdown and selected Pulse (the last Feed in view) and not CREATE NEW (which is highlighted). Note the rest of the options have gone

image

Below, CREATE NEW is selected and the options are there.

No they haven’t — THEY’RE BEHIND YOU :rofl:

1 Like

There’s a Import data button at the bottom of /feed/view

image

Paste in the data from the Graph module (without nulls), and create a new feed with the appropriate interval (or pick variable interval).

Then check the contents of the new feed. Delete and try again if it’s still not right. When you’re happy with it, update your inputs to write to the new feed.

1 Like

Or use Post Process to down sample.

Create the new feed with the correct sample rate then point your process to that feed.

This is the missing bit. I was definitely trying to create a new feed on an input that had no existing feeds (as I pointed out, that’s what the screenshot shows). CREATE NEW was not selected and I had no idea it was there. I just chose the name of the input the UI helpfully presented to me (maybe in the snapshot I’d moved from rssi or pulsecount to temperature for some reason).

So my gripe is that the UI does not always display the CREATE NEW option for new feeds. I believe it should. It’s also helpfully placed above all the other items so I never went far enough to see it.

Thanks, Tim. I’ll extract the data using my perl prog and then import it as you suggest. :slight_smile:

PS is there a way to change the name of a feed?

Long enough that you apparently can’t remember how to spell it. :stuck_out_tongue:

I’d be happy to share but the forum won’t let me select them to upload, so I’m sulking.

In all my years with OEM and emonCMS, I have NEVER seen it offer anything else.
Looking at the page source, “CREATE NEW” does not have the attribute ‘selected’ but it is the first item in the list and I was under the impression that the first item is in any case the default, as this page HTML Form Elements indeed states. So I can’t offer an explanation of why you have never seen “CREATE NEW”. There’s every reason for me to believe you should see this every time you open the drop-down list.

Yes. Select the feed on the Feeds view, and click the pencil :pencil2: icon in the toolbar.

Zip it, then you should be able to upload the zipped file without issue…

I’d always thought it was capitalised and was the Portable Extracting Reporting Language, but looks like I was wrong, that is a backronyms. Takes me back over 25 years. Had to go and dig out my ‘In a Nutshell’ books!

Actually, the UI behaviour is that it remembers the last used Feed name IIRC.

It is always there, just not always selected by default.

Yes, thank you. :smiley: I tested earlier with the unused temperature inputs on one of my emonTX and it came up with the name ‘temperature-t’ pre-selected. Which is a specific name I created just to duplicate a feed on my emonTH when I was testing earlier, and was presumably the last thingI had done, several days ago.

So I say again, that without any docs expalaining what ought to be seen and what ought to be done, the UI is not self explanatory and can lead to difficult-to-recover mistakes. I say that is a bug. The UI should be redesigned to be self-explanatory or documentation should be provided or both.

Thanks Tim. It seems that doesn’t always work. If there’s another feed already selected as I happened to have and you then select another one it doesn’t produce an error message. Instead it just displays a popup box with the name of one of the Nodes and the units. Which made me think that this was not the place to change the name of the feed! And I couldn’t find anywhere else - hence my question. Another UI bug, IMHO.

Yeah, I was just too lazy (and annoyed that the forum is arbitrarily choosing what it thinks are file types). Which are really just the last part of the file name. So I temporarily added a .txt to the end of the filenames and here they are:

get_phpfina.pl.txt (4.9 KB)
PHPFina.pm.txt (5.4 KB)

No warranties express or implied. :slight_smile: And they’re just thrown together.

1 Like

Sorry Brian, I couldn’t resist in the foul mood I was in yesterday.

I knew I’d seen it somewhere - not the precise picture Brian posted, the part you wanted is only in words:

https://docs.openenergymonitor.org/emoncms/intro-rpi.html#logging-data-locally

I think a good index is needed.

Many thanks Robert. (sorry for the delay - I’ve been poorly)

Can you explain a bit more about how to do this?
(1) I went to “Post Processor”
(2) I chose “Feeds/Downsample”
(3) I “Select feed to downsample” emonth5:temperature
(3) I entered “New feed interval” as 60
(4) I “entered backup feed name” as emonth5:temperature5
(5) I left “Process” at the default “from the start”
(6) I pressed “Run”
The status is finished.

But the feed that is created is shown on the feeds page as PHPFINA with a “Feed Interval: 5s” and there are lots of nulls listed below graphs, just like the original “temperature” feed but more widely spaced. (I haven’t examined the data in the file yet)

What’s going on? How should it work? What did I do wrong?

Never mind the last post. I eventually figured it out. The system rewrites the original feed with an increased interval, and I assume the new one is purely a copy of the original.

Most unexpected - apparently destroying the only known good copy of data :frowning: Not at all what I was expecting. No docs of course.