Community
OpenEnergyMonitor

Community

Dashboard - Loggedin vs Public

Greetings
Purchased recently the EmonPi, installed everything and all is working great.

Just got into a small problem regarding dashboards
Wanted to make a dashboard public so other people in the house could see them, however part of the items dont show when accessing them publicly

Example
Logged in to local Emonpi.

Logged in publicly
using emonpi.local/emoncms/dashboard/view?id=1

Seems all gauges and termperature indicators arent rendered at all.

Any advise please?
I made sure to make all feed public, and publish the dashboard too.

Thank you in advance

Hello @gilaraujo I seem to be able to replicate this, which means its a bug, will look into it.

I spoke to soon, I made the wrong feed public, it seems to be working for me now, the dashboard is visible, although the menu is incorrectly showing.

Greetings
The dashboard is visible, as you can see on the pics i posted
The problem are the widgets, gauges and temperature icons that dont show at all

The graphs seem to render ok.

I did try with many broweers to be sure.
Any idea what it might be causing it?

Yes sorry, I can see the widgets on mine, when logged out, so Im not sure:

I can see that the Elements ares howing on the CSS and HTML table, but just not rendered at all.
I will investigate a bit further but seems strange that only Some of them are rendered and others are not.

Any sugestions on troubleshouting you could offer?

Regards

Ok great, Perhaps try adding one widget at a time to the dashboard to see if its one particular widget that’s then stopping the render process for the rest?

I think you miss read me
I can see them in the Source Code HTML and CSS
but they do not render

I made a new dash with just ONE dial, it doesnt render either.

But it is there in the source code

So i am lost for what is causing this selective show/noShow

Interesting, not sure if this makes sense

I caught a Fatal Error on the debugger:

Fatal error : Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /var/www/emoncms/Modules/process/process_processlist.php:1591 Stack trace: #0 /var/www/emoncms/Modules/process/process_processlist.php(1591): DateTimeZone->__construct(’’) #1 /var/www/emoncms/Modules/process/process_model.php(71): Process_ProcessList->getstartday(1565547238, Object(Process)) #2 /var/www/emoncms/Modules/feed/engine/VirtualFeed.php(83): Process->__call(‘getstartday’, Array) #3 /var/www/emoncms/Modules/feed/feed_model.php(518): VirtualFeed->lastvalue(32) #4 /var/www/emoncms/Modules/feed/feed_model.php(384): Feed->get_timevalue(32) #5 /var/www/emoncms/Modules/feed/feed_model.php(360): Feed->redis_get_user_feeds(1) #6 /var/www/emoncms/Modules/feed/feed_model.php(369): Feed->get_user_feeds(1) #7 /var/www/emoncms/Modules/feed/feed_controller.php(54): Feed->get_user_public_feeds(‘1’) #8 /var/www/emoncms/core.php(60): feed_controller() #9 /var/www/emoncms/index.php(215): controller(‘feed’) #10 {main} thrown in /var/www/emoncms/Modules/process/process_processlist.php on line 1591

does this make a better sense of whats can be going on?

This error does not apear when Logged in with fulla dmin credentials

Thanks @gilaraujo I will take a look at that

Got the same error a dial and real time graph and a multgraph and feedtime on one public dashboard
when logged in I get all data, when logged out the dial and the feedtime disperses.

logged in.

logged out:

Yes i been waiting for a reply on the topic but cant seem to have a solution just yet
Seems almost dials require admin credentials to be displayed.

@emrys @TrystanLea could you have a look at this again please?