Radiation
Kismet collects environmental radiation data from supported Geiger counters, such as the Radiacode and Radview.
Never rely on radiation data presented by Kismet for personal safety.
Radiation sensors
Radiation data from Geiger counter datasources, such as the Radiacode and Radview.
Count and dose history is kept as RRD (round robin database) records, reporting the past 60 seconds, the past hour per minute, and the past day per hour; see the RRD documentation. After 2026-10-R1, the energy spectrum of a sensor which sends one is read from the spectrum endpoint.
Radiation data is also logged to the kismetdb log as RADIATION snapshots, and sent to the
eventbus as RADIATION events.
readonly/radiation/sensors/all_sensors.json/radiation/sensors/all_sensors.ekjson/radiation/sensors/all_sensors.prettyjsonGET
POSTPARAMETERS
This endpoint takes additional parameters by using a `POST` request and supplying a
JSON document or json form variable.
You can find more information about API parameters here.
fields
field simplification
OPTIONALKismet can reduce the amount of information being processed and returned by an API by simplifying the fields to only return the data needed by the caller.
You can read more about the field simplification API and how to use it here.
JSON object keyed by datasource UUID, of sensor records:
| Field | Content |
|---|---|
radiation.sensor.type | Sensor type, Radview or Radiacode |
radiation.sensor.datasource | Datasource record |
radiation.sensor.cps_rrd | RRD of counts per second |
radiation.sensor.usv_rrd | RRD of dose rate, in microsieverts per hour, for sensors which report it |
radiation.sensor.cps_err | Statistical error of the count rate, percent, for sensors which report it |
radiation.sensor.usv_err | Statistical error of the dose rate, percent, for sensors which report it |
radiation.sensor.dose_total | Accumulated dose the sensor has counted, microsieverts |
radiation.sensor.dose_total_duration | Time the accumulated dose covers, seconds |
radiation.sensor.temperature | Sensor temperature, Celsius |
radiation.sensor.battery | Sensor battery charge, percent |
radiation.sensor.last_status_time | Time of the last dose, temperature, and battery report; 0 if the sensor sends none |
radiation.sensor.spectrum_channels | Number of spectrum channels; 0 if the sensor sends no spectrum |
radiation.sensor.spectrum_time | Time of the last spectrum update |
radiation.sensor.spectrum_session_duration | Counting time in the spectrum since Kismet started, seconds |
radiation.sensor.spectrum_session_total | Total counts in the spectrum since Kismet started |
The cps_err and later fields, other than the RRDs, are after 2026-10-R1; before it, sensor
records had radiation.sensor.aggregate_spectrum, aggregate_spectrum_start, and
aggregate_spectrum_end instead.
Radiation sensor spectrum
After 2026-10-R1, the gamma energy spectrum of one radiation sensor, in several windows:
radiation.spectrum.device: the spectrum the sensor has accumulated itself (Radiacode),radiation.spectrum.session: counted since Kismet started tracking the sensor,radiation.spectrum.hour: counted over the past hour,radiation.spectrum.minutes: withminutes=1, a list of the per-minute spectra over the past hour, oldest first.
A window is left out when the sensor has sent nothing for it. Each finished minute is also
logged to the kismetdb log as a RADIATION_SPECTRUM snapshot, with the GPS location when
there is a fix.
readonly/radiation/sensors/by-uuid/{UUID}/spectrum.json/radiation/sensors/by-uuid/{UUID}/spectrum.ekjson/radiation/sensors/by-uuid/{UUID}/spectrum.prettyjsonGET
POSTPARAMETERS
UUID
string
REQUIREDDatasource UUID of the radiation sensor
PARAMETERS
minutes
string
OPTIONAL1 or true adds the spectrum of each of the past 60 minutes.
PARAMETERS
This endpoint takes additional parameters by using a `POST` request and supplying a
JSON document or json form variable.
You can find more information about API parameters here.
fields
field simplification
OPTIONALKismet can reduce the amount of information being processed and returned by an API by simplifying the fields to only return the data needed by the caller.
You can read more about the field simplification API and how to use it here.
JSON object with the sensor UUID in radiation.spectrum.sensor, and a spectrum record for
each window:
| Field | Content |
|---|---|
radiation.spectrum.window | device, session, hour, or minute |
radiation.spectrum.channels | Number of channels |
radiation.spectrum.calibration | Energy calibration [a0, a1, a2]: channel n is a0 + a1*n + a2*n^2 keV; empty if unknown |
radiation.spectrum.start_time | Start of the window |
radiation.spectrum.end_time | End of the window |
radiation.spectrum.duration | Counting time in the window, seconds |
radiation.spectrum.total | Total counts in the window |
radiation.spectrum.counts | Counts per channel |
Radiation sensor track
readonly/radiation/sensors/by-uuid/{UUID}/track.json/radiation/sensors/by-uuid/{UUID}/track.ekjson/radiation/sensors/by-uuid/{UUID}/track.prettyjsonGET
POSTPARAMETERS
UUID
string
REQUIREDDatasource UUID of the radiation sensor
PARAMETERS
since
number
OPTIONALLeave out points last updated before this time, in seconds since the epoch.
JSON list of points, oldest first, each a list of numbers:
| Index | Content |
|---|---|
| 0 | Time of the first reading in the point |
| 1 | Time of the last reading in the point |
| 2 | Longitude |
| 3 | Latitude |
| 4 | Average count rate, counts per second |
| 5 | Average dose rate, uSv/h; -1 for sensors which report no dose rate |
| 6 | Highest dose rate, uSv/h; -1 for sensors which report no dose rate |
| 7 | Number of readings merged into the point |