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?
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?
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.
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
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.