Dashboards not showing private feed's values

Hello.

I installed a new EmonCMS for my new home and noticed that the Dashboard values don’t appear unless I make the feeds public.
In my previous version 10.8.1 (that I still have also working for historical purposes) all my feeds are private and only accessible with the API Key, but in this one, I cannot do the same.

Is there any setting that I need to do to allow the Dashboards for a logged in user to be able to show non-public feeds?

I made a search and couldn’t find the answer.

Cheeres.

Hello @cidirome this seems to work for me, I just created a new dashboard with a simple dial on it. Is this affecting all widgets for you or just particular dashboard widgets/graphs?

Hello.
Well, I don’t understand why it doesn’t for me:


Only the two feeds that are Public appear, there other ones show empty or with the error that is configured if there is no data for a specific time.

My old system is installed in the same WebServer in a separate Virtual Host with a separate MariaDB DataBase and with a different Redis Prefix.

Any Ideas?

Cheers.

Hello all.

I investigated a bit more and found that, when I call http://<emoncms_addr>list.json?userid=1 (a call that is made by the dashboard) in my new system, it only returns the feeds that are public, but when I call the same address for the old system I get a list of all the feeds and values.

So, it seems that this new version of emoncms is behaving a bit different in this matter.

Note: the user is logged in both, so that isn’t the issue. If I do the same in a private browser window, the new server shows the public values (that I don’t want to be public) and the old one only outputs any value if the API key is also passed.

Update: I found another thing: in the new version, if I remove the userid=1 from the address, it will return all the feeds for the authenticated user, while in the old version it is probably ignoring the variable, if the defined user is the same as the authenticated user.

Any ideas or configuration that I can change to modify this behavior.

Should I post this to the Gidhub?

Cheers.

1 Like

Thankyou @cidirome noted, will look into it.

1 Like

Hello @cidirome I think I have fixed this now, at least for the realtime and rawdata visualisation types which I was able to replicate this issue with, see the following example with private feeds Emoncms - dashboard view test

Hello.

Thank you.

This is my local installation, I will update it when I have a bit of time to test.

Cheers.

1 Like

Version is now 11.6.8, available in both stable and master branches :+1:

Hell @TrystanLea.

I’m sorry to tell, but apparently, at least in my case, it doesn’t seem to have worked.

I noticed that I wrote a mistake in one of my previous messages, I mis-copied the URI:
https://<emoncms_addr>/feed/list.json?userid=1

With this address I only get the public feeds, while the the bellow one I get all the private feeds for the current authenticated user:
https://<emoncms_addr>/feed/list.json

I think the issue is in the file that provides the output for the feed/list.json request.

If you need me to test anything, just ask.

Cheers.

Hello all.

Is there any prediction of this issues being fixed?
(I don’t like having public feeds).

Also, does any of you have issues managing DashBoards?

Cheers.