Hi, I’m trying to use setCustomLocation from Node SDK, but I’m getting “Request error: Internal Server Error”. Is this functionality supported on openBalena? I would like to use it to store the location of my devices and show them on a map. For this particular application, I can’t use balenaCloud because there’s no internet access on the devices, it has to be everything on-premise.
Hi @gmerciel,
At the moment open balena doesn’t not have support for device location & custom locations and that’s the reason that the SDK methods are failing.
As a workaround, you can use device tags for associating this extra information with the device.
I would also like to let you know that balena also offers on-premise installations for no-internet-access use cases like the one you described.
Would you be interested having one of our solution engineers to reach you about that?
Hi, @thgreasi . I want to use device location feature. Even though you said that open balena dosen’t support it. Can you give some suggestion to help me get that?
Hi @xavierchan, you’d need to retrieve the device location somehow and maintain that information. At balena we use device’s IP address to perform Geocoding and persist the location in the balenaCloud database. Each time the device reports a new IP address, we make a new Geocoding query to retrieve the new coordinates. You could look into building something similar. Then as Thodoris suggested here, you might store the location data as device tags.