function initdb(vehicles) {
    storeVehicles(vehicles);
    getAux.vid = vehicles.id;
    setInterval(getAux, 60000); // also get non-streaming data every 60 seconds
}
// - store/publish some other REST API data around climate and charging (every minute)
store/publish some other REST API data around climate and charging (every minute)
store / publish some other REST API data around climate and charging ( every minute )
function initdb(vehicles) {
    storeVehicles(vehicles);
    getAux.vid = vehicles.id;
    setInterval(getAux, 60000); 
}
function initdb ( vehicles ) { storeVehicles ( vehicles ) ; getAux . vid = vehicles . id ; setInterval ( getAux , 60000 ) ; }
store/publish some other REST API data around climate and charging (every minute)
store / publish some other REST API data around climate and charging ( every minute )
// also get non-streaming data every 60 seconds