I'm trying to see if emoncms is suitable for my purposes and to start off I created an account on emoncms.org before I jump through the hurdle of installing it locally.
I have created some inputs where I am regularly posting temperature data. The data is coming in fine as I can see the values and when they were last updated.
I have also created feeds, following the guides for inputs and feeds. But when I click on the eye to view raw-data for a feed nothing comes up. If I go to Visualisations, select realtime, my feed and click view the graph is empty.
The only visual thing i'm able to get to work is if I go to the Dashboard, add a widget, e.g. Dial and point it to my feed. Then I can see the current value.
Am I missing something or is the software currently running on emoncms.org not working to full extent?
Re: Visualization of feeds on emoncms.org not working?
Have you zoomed in or out sufficiently to see the data? I've just created some test data that I think is similar to what you have and they seem to be working for me.
Have you checked that you are using a compatible browser?
Re: Visualization of feeds on emoncms.org not working?
Yes, i'm using Chrome. Newer than what is listed.
How do I zoom? I only see buttons for changing between 1h, 30m, 15m and 1m. Clicking on them does nothing.
Another interesting thing is that on the Feeds page, there is a column for size. And all my feeds are listed as beeing 0.0kb. Yet data is constantly flowing in. Does that mean that noting is beeing stored?
Re: Visualization of feeds on emoncms.org not working?
1) Don't worry about the 'size' column, emoncms is undergoing an upgrade at the moment and it's one of the functions that members who had earlier version accounts, to manage the upgrade process. The feed data in emoncms.org is currently stored in Timestore and not MySQL, hence the 'size' column shows zero - because you have zero data in MySQL.
2) Different charts have different facilities, and you will have to find a chart that suits the data that you are displaying. Emoncms and it's charts were preliminary designed for displaying energy, but over time it has evolved to capture and display many types of data, not all of which display correctly on all of the charts. Try a different one.
Further information about emoncms visualisations can be found here.
Paul
Re: Visualization of feeds on emoncms.org not working?
Ok, as far as #1.
But for #2, it doesn't matter what kind of chart I choose. No one shows anything.
Re: Visualization of feeds on emoncms.org not working?
Something is not right with the feeds...
If I try the API calls listed on http://emoncms.org/feed/api and adjust the id to one of my feeds I don't get any valid data back. I either get null or false.
Re: Visualization of feeds on emoncms.org not working?
I tried to export a feed from emoncms.org in my effort of trying to understand what is broken.
emoncms.org: Warning: fopen(/var/lib/timestore/0000000000018737.tsdb): failed to open stream: No such file or directory
The export file contains PHP warnings instead of data. It looks like there is no datafile for my feed. This the whole content of my export file.
(Thread moved by moderator PR)
Re: Visualization of feeds on emoncms.org not working?
Roger, I've PM'd you.
Paul
Re: Visualization of feeds on emoncms.org not working?
Hi Roger, I've had a look at your emoncms.org account and I think somehow the feeds had become detached from the inputs, and were not being updated.
This can occur if changes are made out of sequence, for example if you delete and re-add an input, when you have a feed, visualization or other dashboard item assigned to the original input. From experience, if I want to make a change to my feeds or inputs, I work through the menu items Right to Left, and remove references to the item that I am changing, so I start with Dashboards, then Vis, and so on. Once the change has been made, I work Left to Right and integrate the input into the feed into the Visualization and so on.
I've virtually deleted your test data (you said it was OK!!), and re-added new feeds from your inputs - sorry if I haven't got their names correct, you can always amend them if they are wrong. And everything seems fine.
I don't think (although I may be corrected...) that you can add 'Daily' feeds (such as min & max) to a multigraph, I believe that multigraphs only currently support 'Realtime' data, so again I removed it.
Hope everything goes well - don't forget to change your password!
Paul
Re: Visualization of feeds on emoncms.org not working?
Thanks for taking the time to look at my account.
I did everything in the logical order, as it appeared to me. But I did delete some feeds at one time and noticed that there were some glitches in the web UI. Sometimes clicking on a trashcan didn't delete the item. Maybe somewhere there the problem was triggered? If I see such behaviour again I will try to remember what I did and report it.
Anyway, it looks like most of it is working now. Except that the "min" feed doesn't look ok, it reports 0. But I will play around a bit with this next week when i'm back and see if I can get everything running as I want it to be. I don't need the min/max on a graph, just having them as text is enough.
And as for my test data, it was ok to delete it. That is what tests are for :)
Once again, many thanks for your time and effort.
Re: Visualization of feeds on emoncms.org not working?
Yes, I noticed that with the 'min' feed too, and have flagged it up as a development issue. The min/max functions have only just been upgraded to work under Timestore and I suspect that there is still a bug there that needs sorting.
Paul
Re: Visualization of feeds on emoncms.org not working?
Looks like someone fixed something now.
I have checked the 'min' feed for two days and it is now reporting a temperature that is not a static 0 :)
Re: Visualization of feeds on emoncms.org not working?
You are right, mine is also working fine now.
Emoncms GitHub hasn't been updated though??
Paul