open-balena-api icon indicating copy to clipboard operation
open-balena-api copied to clipboard

User wants support for device custom lat/long

Open thgreasi opened this issue 4 years ago • 3 comments

The custom latitude & custom longitude device fields are currently not supported on openBalena.

thgreasi avatar Jan 15 '20 17:01 thgreasi

[thgreasi] This issue has attached support thread https://jel.ly.fish/#/6e118a22-8ea2-4259-96fb-025c4e497f69

balena-ci avatar Jan 15 '20 17:01 balena-ci

Any news on this issue ?

i.e. custom lat/long is still not supported by the balena API , it seems...

let balenaDevice = try await WebService.shared.fetch(from: self.balenaResource)
let location = balenaDevice.d[0].location

location still represents the non-custom (i.e. original) latitude/longitude, unfortunately....

iKK001 avatar Feb 15 '23 07:02 iKK001

Yeah, custom location support was added long after automatic reverse geocoding and for some reason it was implemented within balena-api, our internal codebase. It definitely belongs to open-balena-api though and should be easy to move the code over, just needs someone from the backend team to spend a few hours on it.

dfunckt avatar Feb 15 '23 09:02 dfunckt