hello,
I have a problem. The dashboard only displays if I am logged on, it is not displaying as public.
I have set the dashboard and feeds to be public
my settings.php has arready
$public_profile_action = "view";
but it does not work.
Archived Forum |
|
public dashboardSubmitted by Max on Sun, 23/03/2014 - 09:29hello,
I have a problem. The dashboard only displays if I am logged on, it is not displaying as public.
I have set the dashboard and feeds to be public my settings.php has arready $public_profile_action = "view";
but it does not work.
» |
Re: public dashboard
How are you trying to view the dashboard - ie what address are you putting in your browser?
See my previous post on the subject - http://openenergymonitor.org/emon/node/3594
Paul
Re: public dashboard
hello,
my address is for example:
http://localhost/emoncms/dashboard/view?id=4
what is wrong?
Re: public dashboard
Read the link that I gave you above, you are not accessing it correctly.
Paul
Re: public dashboard
I tried
www.yourdomain/emoncms/your-emoncms-login-name/temp
temp is an alias, but it doesn't work
Re: public dashboard
What is the username that you use when you log in to emoncms?
Paul
Re: public dashboard
my Username: maxim
Re: public dashboard
Given your second post suggests that your are storing emoncms on your home/private network. The other thing you might want to try is
http://<IP_ADDRESS_OF_SERVER>/emoncms/<your-emoncms-login-name>/temp
Re: public dashboard
Have you tried
http://localhost/emoncms/maxim
Paul
Re: public dashboard
thanks,
it works!
Re: public dashboard
I have a similar issue. I can access my own served Emoncms dashboard remotely. The Dials, text and group sections display with no issue and the dials are dynamically updated.
However none of my charts will display. Looking at the page source from my web browser, it looks like the charts are being referenced with my internal device name of the pi, not the public domain or ip address. So clearly when you call the dashboard from outside my home - the charts can't be found.
I haven't changed any standard code on my pi based server. Have I missed a conf step?
Thanks
Re: public dashboard
Check the 'feeds' which supply data for those graphs - are the feeds marked as 'public' or 'locked'?
Paul
Re: public dashboard
If it's a multigraph then you might need to change the IP address in the database (assuming v8 is the same as earlier versions)
If you search the forum for somethings like "EmonCMS IP Graph Problem" you should find a thread or two with the instructions.
Re: public dashboard
Thanks Paul and ukmoose
Fixed it... I toggled public to private and back to public on the feeds being used. I also deleted the charts from the dashboard, and added (via the public domain/ip address in the browser) them back.
It was an odd one. Basically the dashboards was originally created via a browser address which referenced the name of my device+.lan. I then put my pi on the internet with its own IP, and domain name. The Dial worked fine, but charts were being referenced with my original domain (xxxxx.lan), and clearly couldn't be found. When I made the above adjustments it seemed to cancel out the xxxx.lan references in the url of my charts, and works perfectly now.
Appreciate the pointers.
Re: public dashboard
Hello,
I have a similar problem, but only on realtime graphs. I set feeds as public and if I'm logged I can view correctly data on my rawdata and realtime graphs. In my public view on http://wattodemo.altervista.org/emoncms/tempuser1 I can view data on rawdata graphs, but I cannot see any data in realtime graphs.
What could be the problem? Thanks
Re: public dashboard
I was using emoncms v8.2.6. I reverted to emoncms v8.0.8 and all is working correctly. In the v8.2.6 I had problem also with multigraph that was not showing tooltip. Now in v8.0.8 all is working fine.
Re: public dashboard
I have the same problem about realtime graph when not logged in. I submitted a dedicated topic about this this morning.
Olivier
Re: public dashboard
Hi Olivier, what version of emoncms are you using? In your solution, the rawdata graphs are working well when you are not logged in?
Dario
Re: public dashboard
Hi Dario,
I'm using the v8.2.6 and yes the rawdata visualization allows to display the same feed when logged in or not. So exactly the same issue that the one you describe.
here is the topic: http://openenergymonitor.org/emon/node/5335
Re: public dashboard
Thanks, waiting for any reply.
Did you experienced problem with multigraph tooltip too?
Re: public dashboard
No specific issue with the other visualization tools. I have a multigraph configured to display the power of the 3 phases and it works fine even when I'm not logged in.