๐ŸŽ„โ›„โ„๏ธ๐ŸŽ It's beginning to look a lot like ADABOX-mas! The next ADABOX from Adafruit ships soon! Get yours now, or give as a gift! ๐ŸŽ„โ›„โ„๏ธ๐ŸŽ
0

Dashboard with data log only shows last two entries
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Dashboard with data log only shows last two entries

by jimk123 on Fri Oct 11, 2019 6:05 pm

I have two feeds and a dashboard using a log block. I used it to monitor AC shore power and a bilge pump on my boat and when it detects AC power has gone on or off or the bilge pump has started or stopped it publishes it to the feeds. The problem I am having is I created a dashboard to display the log so I would get the timestamps when something happens (could be a couple times a day) but the dashboard only shows the last two entries. All the raw data is there in the feeds. I do not see a setting under properties to increase or decrease the time like you do on graph. If I leave the dashboard open and a new event happens those append to the view, but once I close and open the dashboard it only seems to show the last two entries.

jimk123
 
Posts: 188
Joined: Sun Dec 26, 2010 7:04 pm

Re: Dashboard with data log only shows last two entries

by brubell on Mon Oct 14, 2019 10:30 am

Are you using a Stream Block? I attempted to replicate this issue on my end and was unable to, entries still appear after opening/closing the dashboard window.

For the feed being displayed by the block - is the Feed's History turned on?

brubell
 
Posts: 609
Joined: Fri Jul 17, 2015 10:33 pm

Re: Dashboard with data log only shows last two entries

by jimk123 on Tue Oct 15, 2019 8:55 am

Not sure what the block name is, the window has lines of text in green with a date time stamp, followed by a value. I have two feeds in the dashboard and when I open the dashboard initially I only see the latest data point from each feed, if I leave the dashboard open I do see additional updates come in but was expecting to see more of the data in the feeds when I open the dashboard initially.

I did confirm on the feed that history is on

I am also testing the GeoFence tutorial in noticed behavior on the map is similar, when I created a dashboard with a map and initially open it it only shows the latest data point it does not go back in time. again if I leave the dashboard open additional location coordinates show up on the map

Thanks

jimk123
 
Posts: 188
Joined: Sun Dec 26, 2010 7:04 pm

Re: Dashboard with data log only shows last two entries

by jimk123 on Tue Oct 15, 2019 9:04 am

here are two images which may help, the feed and the dashboard when I first open it only has the last update from the each feed
2019-10-15.png
2019-10-15.png (26.25 KiB) Viewed 115 times

2019-10-15 (1).png
2019-10-15 (1).png (54.94 KiB) Viewed 115 times

jimk123
 
Posts: 188
Joined: Sun Dec 26, 2010 7:04 pm

Re: Dashboard with data log only shows last two entries

by brubell on Tue Oct 15, 2019 9:38 am

@jimk123: I checked this morning, and with adam. Stream block don't hold history, they're live-data-only.

brubell
 
Posts: 609
Joined: Fri Jul 17, 2015 10:33 pm

Re: Dashboard with data log only shows last two entries

by jimk123 on Tue Oct 15, 2019 9:40 am

Ok, thanks for the update

jimk123
 
Posts: 188
Joined: Sun Dec 26, 2010 7:04 pm

Please be positive and constructive with your questions and comments.