grafana-trackmap-panel icon indicating copy to clipboard operation
grafana-trackmap-panel copied to clipboard

Add ability to use custom colours/color gradients based on data

Open mikenye opened this issue 6 years ago • 6 comments

Hi,

Just an FYI - I've included your awesome plugin in a grafana docker container.

https://github.com/livehouse-automation/livehouse-docker-grafana/ https://hub.docker.com/r/livehouseautomation/veraflux-grafana/

Thanks for such a great plugin.

Kind regards, Mike Nye

mikenye avatar Jun 27 '18 04:06 mikenye

Thanks for the kind words, glad you're getting some use out of it! Is there a public demo or some screenshots of the container in action somewhere?

pR0Ps avatar Jun 27 '18 12:06 pR0Ps

There's not much to see :-) Just a Grafana dashboard showing locations, similar to the screenshots you have in the readme.

Data is from the iPhoneLocator plugin for the Vera home automation system (https://github.com/amg0/IPhoneLocator).

Location data is sent to InfluxDB via our VeraFlux Vera plugin (https://github.com/livehouse-automation/veraflux).

Location data is then visualised with Grafana & this panel plugin via aformentioned docker container.

ipl1 ipl2

Censored to protect my friend's privacy. :-)

Map is showing Perth, Western Australia in case you're wondering.

Cheers!

mikenye avatar Jun 28 '18 03:06 mikenye

May I submit a feature request?

Could you optionally include the ability to have a colour gradient in the path based on time or based on another value from InfluxDB?

There is a Leaflet plugin that offers this functionality: https://github.com/iosphere/Leaflet.hotline

This would allow (for example):

  • To show where people have been and where they are currently
  • Show things like speed/elevation/heartrate along the path

I'm not a JS/Node developer or I'd look at forking and doing this myself.

Cheers!

-Mike

mikenye avatar Jun 28 '18 04:06 mikenye

Awesome Plugin. Having a third metric steer the Color would be awesome, i can only second this.

I currently use it for doing some Telemetry on my Car.

In addition it would be topnotch to have a fourth Metric with Annotations, like if you hover on the Track you get a baloon/tooltip with additional Data like Speed, Heading etc...

Here's a short view on the Map.

screenshot from 2019-01-06 17-53-30

Thank you for awesome work!

lephisto avatar Jan 06 '19 16:01 lephisto

A gradient color for speed or anything else would be nice. Also a ToolTip for a couple of other datas would be nice (elevation, street / city name, speed ....)

bassmaster187 avatar Jan 07 '19 12:01 bassmaster187

any progress on this feature?

johnnylau avatar Feb 28 '23 11:02 johnnylau