luftdatenpumpe icon indicating copy to clipboard operation
luftdatenpumpe copied to clipboard

[LDI] Continuity for changing "station_id" of a sensor

Open amotl opened this issue 4 years ago • 2 comments

@d-roet found within [1] that some LDI sensor changed its ID while the sensor is still located at the same location. Probably the appliance was swapped.

I see the station_id itself has changed (I had an old ldi-stations.json file to be able to compare), that's the culprit.

$ cat ldi-stations.json.bak | grep "Montens"
    "name": "Montensstraat, Antwerpen (#10895)"
    "name": "Montensstraat, Antwerpen (#11009)"
$ cat ldi-stations.json | grep "Montens"
    "name": "Montensstraat, Antwerpen (#10895)"
    "name": "Montensstraat, Antwerpen (#26437)"

What a mess :(

While he acknowledged

this is desired and intended behaviour: You move your sensor to another place, so it gets a new station_id.

he is asking for a feature to compensate this in any way

Only in our case here, we want the series to continue because we know we moved them only slightly...

[1] https://source.irceline.be/vaquums/grafana_luftdatenpumpe/issues/30

amotl avatar Feb 13 '20 11:02 amotl