Dashboard Map

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.
Locked
User avatar
mauiphill
 
Posts: 1
Joined: Sun Oct 13, 2019 6:33 pm

Dashboard Map

Post by mauiphill »

Is there any way to clear the location data on a map within the dashboard (gps location)
I do see the option “ Hours of History (0 for realtime)” but it doesn’t clear after the time I put into it.

User avatar
brubell
Learn User Page
 
Posts: 2011
Joined: Fri Jul 17, 2015 10:33 pm

Re: Dashboard Map

Post by brubell »

You could clear the dashboard block's location data by sending 0's in the latitude/longitude/altitude metadata associated with the feed linked to the dashboard block.

User avatar
vamo
 
Posts: 10
Joined: Thu Jun 25, 2020 5:38 am

Re: Dashboard Map

Post by vamo »

Hi brubell,

I tried the method you suggested but it seems not to work.

I inserted some points, then one point with lat = lon = ele = 0, then some more points.
feed_data.png
feed_data.png (16.86 KiB) Viewed 13153 times
The dashboard keeps showing the old points before the all-zeroes point insertion, see figures...
passing_by_zero_lat_lon_ele.png
passing_by_zero_lat_lon_ele.png (18.72 KiB) Viewed 13153 times
old_data_still are_visible.png
old_data_still are_visible.png (17.94 KiB) Viewed 13153 times
Am I doing wrong? Any suggestion...?

Many thanks,

Valerio

User avatar
brubell
Learn User Page
 
Posts: 2011
Joined: Fri Jul 17, 2015 10:33 pm

Re: Dashboard Map

Post by brubell »

I was incorrect. Each location will update a "pin" on the map block. You might want to delete the feed and start over.

User avatar
vamo
 
Posts: 10
Joined: Thu Jun 25, 2020 5:38 am

Re: Dashboard Map

Post by vamo »

Hi,

The map still shows old data even if the "Hours of History" display interval is set to a short time, for istance 24 hours...
The problem has been reported several times, in this topic but also here:

viewtopic.php?f=56&p=836266#p836266

Is it possible that the problem is so complex to correct ?
It just seems a matter of inserting an if in the plotting of the points on the graph...

Can we hope to find a gift under the tree for Christmas...?

Kind regards to you all, and many thanks for all your work...

VALERIO

User avatar
kaketa
 
Posts: 1
Joined: Wed Oct 28, 2020 6:18 pm

Re: Dashboard Map

Post by kaketa »

Yes please fix this issue.
At this moment the map is useless because it keeps drawing maaany hours of history regardless of the configuration (if I configure it to just show 1h or realtime, it keeps drawing everything!).

At least provide a method to "clear" the data of the feed...

Thanks.

User avatar
vamo
 
Posts: 10
Joined: Thu Jun 25, 2020 5:38 am

Re: Dashboard Map

Post by vamo »

Hi all,
the issue of the hours to display in the map module was fixed, see the thread:
viewtopic.php?f=56&t=170348&p=858061#p857153
Kind regards to all,
VALERIO

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”