>>> Join Us in the Fight Against Air Pollution

AirGradient Forum

Delete “place” from dashboard

I might be missing the setting, but is it possible to delete a “Place” from the dashboard? Somehow I ended up with two named “Home” and one without any sensors/locations attached that seems to always be the default when I load the dashboard. I’d like to delete it.

Do you really mean “Place” or “Location”?

I don’t have any Places defined and looks like I would have to pay more to enable the ability to use Places.

If you are looking at Locations, those can be deleted using the three dots under Actions
https://app.airgradient.com/settings/location

image

Yes, I believe “Locations” are tied to “Places” (and “Sensors” are tied to “Locations”)

image

A GET on https://api.airgradient.com/places returns 2 objects:

[
    {
        "id": <id-1>, # not sure if these are sensistive...
        "name": "Home",
        ...
    },
    {
        "id": <id-2>,
        "name": "Home",
        ...

I thought maybe a DELETE on /places/<id> would do the trick but, doesn’t seem supported/implemented.

My understanding is that “Locations” give you the ability to change out a “Sensor” if it fails and keep tracking data for the “Location”

Might have to e-mail support to get the best answer to that one. On the Hardware section, you can “Edit Sensor” and change the serial number which I think would accomplish what you are trying to do, swap a sensor and keep historic information.

I was able to PUT a new name on the empty “Place” which fixes most of the problem of not being able to tell the difference:
image

Yes please message us through our support form and give the placeID you like to delete.

1 Like