1.0.2 • Published 3 years ago

picoballoon v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Picoballoon

Picoballoon public API client

Use sample:

import { missions } from 'picoballoon';

()(async () => {
  const allMissions = missions(); // Get all missions
    
  allMissions.forEach(async mission => {
    const measurements = await mission.measurements(); // Get mission measurements
  });
});

You can also get a dictionary of the missions with their ID as the key like this:

import { missionsById } from 'picoballoon';

()(async () => {
  const missions = await missionsById();

  console.log(missions[20]); // Prints mission with the ID 20
});

Mission properties

NameTypeDescription
idnumberIncremental ID of the mission
namestringName of the mission
statusMissionStatusStatus of the mission. Can be Active, Failed, Prelaunch, Ended, Found or Unknown
balloonVersionstringVersion of the balloon
firmwareVersionstringVersion of the probe firmware
hardwareVersionstringVersion of the probe hardware
launchTimeDateTimestamp of the launch
balloonMassnumberMass of the balloon
probeMassnumberMass of the probe

Measurement properties

NameTypeUnitDescription
latitudenumber°Latitude of the probe
longitudenumber°Longitude of the probe
altitudenumbermAltitude of the probe
velocitynumberkm/hScalar velocity of the probe
humiditynumber%Humidity around the probe
pressurenumberhPaAir pressure around the probe
solarPanelVoltagenumberVVoltage of the probe solar panel. Usually determines if the probe has enough energy to function properly.
temperaturenumber°CTemperature around the probe
uvRadiationnumberW/m^2UV radiation from the sun
drsfnumberN/AProduct of datarate and spreading factor. It determines the how long the probe is transmitting.
frequencynumberkHzFrequency of the transmission
gatewaysGateway[]N/AList of LoRaWAN gateways that received this measurement
timestampDateN/ATimestamp of the measurement
timeToFixnumbersTime it took to fix GNSS data

Gateway properties

NameTypeDescription
idstringLoRaWAN ID of the gateway
latitudenumberLatitude of the gateway
longitudenumberLongitude of the gateway
rssinumberSignal strength
snrnumberSignal to noise ratio
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago