v1.0.9 — Send node location to enrollment API
What's new in v1.0.9
The enrollment step now sends lat, lon, mobile, and has_gps to the /api/node/enroll endpoint so the server can place your node on the map immediately after enrollment — no manual location update required.
Static node payload:
{
"node_id": "my-garage",
"enrollment_token": "...",
"mobile": false,
"has_gps": false,
"lat": 40.457568,
"lon": -74.339130
}Mobile node payload (GPS detected):
{
"mobile": true,
"has_gps": true,
"lat": null,
"lon": null
}Upgrading existing nodes (NJ001 / NJ002 / NJ003)
Binaries are unchanged. To add your static coordinates to an already-enrolled node, edit config.env and restart:
sudo nano /opt/droneaware/config.env
# Add: NODE_LAT=40.457568 and NODE_LON=-74.339130
sudo systemctl restart droneaware-ble droneaware-wifiThen update the coordinates via the dashboard at https://flight.droneaware.io/nodes if needed.
Install (new nodes)
curl -fsSL https://github.com/fduflyer/DroneAware-Node-Releases/releases/download/v1.0.9/install.sh | sudo bash