Hi all,
I am new to Influx2 (flux) and am gathering geo location data from home assistant. I would love to use the grafana geomap visualization like I did in the old days with Influx1.
(sorry for formatting)
In influx2 I have:
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r["entity_id"] == "person_iphone_geocoded_location")
|> filter(fn: (r) => r["_field"] == "Location_str")
|> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)
|> yield(name: "last")```
and get rows like the following
`0 unit Location_str [11.03826904296875, -11.57730199700904] 2022-08-14T15:14:12.801Z 2022-09-13T15:14:12.801Z 2022-08-14T16:00:00.000Z sensor allanas_iphone_geocoded_location Person iPhone Geocoded Location HA
0 unit Location_str [11.94648627730124, -11.91692146898322] 2022-08-14T15:14:12.801Z 2022-09-13T15:14:12.801Z 2022-08-14T17:00:00.000Z sensor allanas_iphone_geocoded_location Person iPhone Geocoded Location HA``
the column headers are
```table
LAST
_measurement
GROUP
STRING
_field
GROUP
STRING
_value
NO GROUP
STRING
_start
GROUP
DATETIME:RFC3339
_stop
GROUP
DATETIME:RFC3339
_time
NO GROUP
DATETIME:RFC3339
domain
GROUP
STRING
entity_id
GROUP
STRING
friendly_name
GROUP
STRING
source
GROUP
STRING`