System Notefiles
A Notefile is a JSON file that contains one or more Notes. Notefiles can be created either on the Notecard or on Notehub, and then may be automatically synced with the other party.
System Notefiles are created automatically on the Notecard and/or on Notehub and can be synced with a cloud application using Notehub Routes.
System Notefile names always start with an underscore ("_"). Therefore we recommend avoiding the use of underscores at the beginning of custom Notefile names in order to eliminate the possibility of a conflict.
Also, the structure of System Notefiles is not consistent and subject to change without notice, so we don't advise building app-level functionality around specific data elements.
This reference covers the following System Notefiles:
_button.qo
The _button.qo Notefile is created when Notecard is configured to autonomously
report
AUX GPIO input changes
by using the
card.aux API. On
subsequent AUX pin state changes, _button.qo Notes will be sent to Notehub.
Depending on the card.aux mode argument in use, the body of the _button.qo
Note may contain the following elements:
{
"power": true,
"state": [
{
"low": true
},
{
"high": true
},
{
"low": true
},
{
"high": true
}
]
}The "power": true element indicates that USB power is supplied to the
Notecard, and is omitted otherwise. The state array identifies the state of
each AUX pin (in order from 1 to 4) at the time of the recorded GPIO input
change.
For more information on the _button.qo Notefile, consult the guide on
using the Notecard's AUX pins.
_button.qo Notes are not synced while NTN (satellite) is the active
transport. Notecard creates _button.qo without a compact
Notefile template,
and Notes queued without a compact template are never uploaded over NTN.
Pending _button.qo Notes remain queued on the Notecard and will sync the next
time a cellular or WiFi connection is established. If you need AUX pin state
changes delivered over satellite, have your host read the pin state itself and
add a Note to one of your own .qo Notefiles that has a compact template. See
Define NTN vs non-NTN Templates.
_geolocate.qo
The _geolocate.qo Notefile is created when
triangulation
is enabled on the Notecard. _geolocate.qo Notes are created by Notehub when
it triangulates the Notecard's location based on data submitted during the connection
of a new Session.
The body of a _geolocate.qo Note contains:
-
locationandcountry: The place name and country code of the triangulated location. -
radios: The number of radios of each type in the scan, such aslteorwifi.
For example:
"body": {
"country": "US",
"location": "Salem MA",
"radios": {
"lte": 4,
"wifi": 7
}
}A _geolocate.qo event also carries the best_* location fields that Notehub
adds to every event. See
Data Notehub Appends to Events.
The event's triangulate field lists every cell tower and WiFi access point
(by BSSID) in the scan. When a scan has both, Notehub locates the device from
the cell towers only. For example:
"triangulate": {
"cellTowers": [
{
"cellId": 229037316,
"locationAreaCode": 22003,
"mobileCountryCode": 311,
"mobileNetworkCode": 490,
"psc": 344,
"radioType": "lte",
"signalStrength": -100,
"time": 1665334721
},
...Events from the _geolocate.qo Notefile are considered
Platform Events, and are not subject
to event credit
charges.
_geolocate.qo Notes are not created while NTN (satellite) is the active
transport. Notehub only performs a triangulation lookup when a Notecard opens
a new session over cellular or WiFi.
To capture location while connected over satellite, use GPS/GNSS and the
_track.qo Notefile, which does
sync over NTN.
_health.qo
_health.qo Notes are created on the Notecard to record significant
health-related events (e.g. errors or hard faults) that may occur on the
Notecard.
The body element of a _health.qo Note contains the text parameter that
explains the details of why the event was created. For example:
{"text":"boot (brown-out & hard reset [15117])"}The number in brackets represents the build number of the
Notecard's firmware version. Other
information in _health.qo Notefiles may contain diagnostic data that can be
useful for Blues technical support if they need to help debug an issue.
The body can also include these fields:
-
method: The kind of event, such asboot,dfu,power,modem, orgps. -
voltageandvoltage_mode: The supply voltage, and its classification, when Notecard created the Note. -
milliamp_hours: The running total of milliamp-hours measured by an attached Mojo.
Notehub can also create _health.qo Notes, such as a warning when it can't
decode a Note that arrived over NTN (satellite).
Events from the _health.qo Notefile are considered
Platform Events, and are not subject
to event credit
charges.
Troubleshooting brown-out & hard reset events: A brown-out & hard reset
in _health.qo means the Notecard lost power unexpectedly.
Do not repeatedly power-cycle or reset Notecard to save power. Notecard is
designed to be continuously powered. Its idle draw is already very low, and
power-cycling it at runtime incurs a startup cost (i.e. re-registering with the
network, reacquiring time, etc.) that dwarfs any power savings. Leave VIO
powered at all times.
If you're seeing brown-out & hard reset events unexpectedly, ensure your
power supply meets the peak current requirements during modem transmit. See
the Power Information section of your
Notecard's datasheet for voltage and
current specifications.
Notecard does not create _health.qo Notes while NTN (satellite) is the
active transport.
_health_host.qo
_health_host.qo Notes are created on the Notecard when using the
hub.log API.
The body element of a _health_host.qo Note will contain the text string
provided in the initial hub.log request.
For example, the following request:
{
"req": "hub.log",
"text": "something is wrong!",
"alert": true,
"sync": true
}...will result in this body element in the _health_host.qo Notefile in Notehub:
"body": {
"alert": true,
"text": "something is wrong!"
}_health_host.qo Notes are not synced while NTN (satellite) is the active
transport. Notecard creates _health_host.qo without a compact
Notefile template,
and Notes queued without a compact template are never uploaded over NTN.
By default, a hub.log request issued while NTN is the active transport also
returns the following error instead of queueing the Note. This is deliberate, as
it keeps the device from filling up with data it cannot synchronize:
{"err":"adding notes to a non-uplinked port is not allowed when in packet mode"}To queue hub.log messages during a satellite connection for later delivery
over cellular or WiFi, pass "allow":true to
card.transport.
The allow argument is only read when the same request also specifies a
transport method or passes "set":true.
{"req":"card.transport","set":true,"allow":true}_log.qo
The _log.qo Notefile is created on a Notecard if you activate debugging with
the _log reserved environment variable. The body
element of a _log.qo Note contains a text parameter that explains why the
event was created, and a method parameter with its category (such as gps, modem, or
power). For example:
{"method": "gps", "text": "gpsmax: NMEA data being received"}With a Mojo attached, power entries also
include voltage and milliamp_hours, the running total of energy used since
the total was last reset (the same total
card.power
reports). Their text gives the energy used since the previous power entry,
such as the modem or GPS powering on or off:
{"method": "power", "voltage": 4.181, "milliamp_hours": 12.437, "text": "modem power off: 0.512338 mAh of energy consumed since modem power on (48 sec)"}Events from the _log.qo Notefile are considered
Platform Events, and are not subject
to event credit
charges.
_log.qo Notes are not created while NTN (satellite) is the active
transport. As with
_health.qo, Notecard discards
these Notes as they occur rather than accumulating debug output it cannot upload
over satellite. They are not queued, so they will not appear in Notehub later even
after a cellular or WiFi connection is re-established.
_motion.qo
If you activate the Notecard's motion tracking using card.motion.sync
or card.motion.track
requests, the Notecard will create a _motion.qo Notefile to store motion
data.
The fields in the body of _motion.qo Notes provide information about the motion
event.
-
alert: A boolean that indicates whether the Notecard immediately performed a sync of this Note. This will betrueif you use thecard.motion.syncrequest to set up automatic synching based on Notecard movement. -
motion: The number of times the Notecard detected motion since the previous_motion.qoNote. -
movements: A string with one character per "bucket" in the sample duration, most recent first. Each character is the number of movements in that bucket:0–9for a count of 0–9,A–Pfor 10–25, andZfor 26 or more. For details, see Retrieving Motion Results Over a Time Period. -
orientation: A string that represents the orientation of the Notecard in space. Possible values are"face-up","face-down","landscape-right","landscape-left","portrait-up","portrait-down", and"angled"(tilted, but not clearly in any of the other orientations). See Motion Monitoring for details. -
temperature: A temperature reading from the Notecard, in Celsius, at the time of the motion event. -
tilt: The number of orientation changes detected since the previous_motion.qoNote. -
voltage: The measured voltage at the time of the motion event.
_motion.qo Notes are not synced while NTN (satellite) is the active
transport. Notecard creates _motion.qo without a compact
Notefile template,
and Notes queued without a compact template are never uploaded over NTN.
Pending _motion.qo Notes remain queued on the Notecard and will sync the next
time a cellular or WiFi connection is established. If you need motion data
delivered over satellite, read it with a
card.motion request
and add a Note to one of your own .qo Notefiles that has a compact template.
See
Define NTN vs non-NTN Templates.
_session.qo
A new _session.qo Note is created each time a Session
between a Notecard and Notehub begins and ends.
Use session events when you need cloud applications to react to connections and connection data in real time.
For analyzing session data more generally, use the full session records available from your Notehub project’s Sessions page or the Get Device Sessions API. Session records provide a more complete view of each Session and are especially useful for investigating connectivity issues.
The req element of a _session.qo Note indicates whether the event denotes
a session start "session.begin" or end "session.end". The body element
contains exactly three possible fields:
-
why: A string giving more detailed information on why the event was created. Present on bothsession.beginandsession.end. -
opened:trueon asession.beginevent. Absent otherwise. -
closed:trueon asession.endevent. Absent otherwise.
For example:
{
"req": "session.begin",
"body": {
"opened": true,
"why": "sensors.qo requested sync (sensors.qo)"
},
...
}{
"req": "session.end",
"body": {
"closed": true,
"why": "notecard ended the session"
},
...
}Common why Values
The why string reports why a Session was opened or closed.
For session.begin events, a single Session can be opened for several reasons
at once. Reasons are joined with a semicolon followed by a space. If the Session
was triggered by pending changes in one or more Notefiles, the Notefile names
are appended in parentheses — for example
explicit sync request; periodic outbound sync due (sensors.qo _health.qo).
The parenthesised list is omitted until the Notecard has completed its first
sync.
Common session.begin reasons include:
<notefile> requested sync(orN files requested sync) — One or more outbound Notefiles contain pending Notes that were added with"sync": true.explicit sync request— The host issued ahub.syncrequest.modified— Notefiles were modified, with no other trigger. Reported when the parenthesised Notefile list is the only reason for the Session.first sync— The Notecard's first sync after a restart or factory reset.continuous connection mode— The Notecard is in continuous mode and has established (or re-established) its connection to Notehub.periodic inbound sync due/periodic outbound sync due— A scheduled sync from the Notecard'sinbound/outboundinterval inhub.sethas come due.web requests— A pendingweb.*request needs to be transmitted.excessive pending changes in notefile— A Notefile accumulated enough pending changes to force a sync ahead of its normal interval.file system full— Storage pressure forced the Notecard to drain pending Notes.TIME— The Notecard needs to set its clock.GPS/need gps refresh— GPS/GNSS work requires the network, or the current fix is stale.DFU check/firmware update work is due/firmware image is ready to install— Firmware update work is pending.
Common session.end reasons include:
notecard ended the session— The Notecard closed its side of the connection normally (the most common reason). Inperiodicmode the Notecard closes the connection once a sync finishes, so this appears after every sync. Incontinuousmode it appears when thedurationset inhub.setelapses and the Notecard starts a new Session, or when the connection otherwise closes.notehub determined that the notecard session has ended— Notehub detected that the Notecard is no longer present on the session.session closed because the notecard has opened a newer session— The Notecard reconnected and Notehub closed the old session in favor of the new one.device has been administratively disabled— The device was disabled in Notehub.
For Notecard for LoRa devices and
NTN (satellite)
connections, devices send and receive individual packets rather than holding
a connection open, so Notehub opens a Session when the device becomes active
and closes it after a period of inactivity. The session.begin and session.end events mark those points. See
LoRa and NTN Sessions
for details.
Session Fields
Beyond req and body, a _session.qo event carries a set of fields
describing the device and its connection at the time of the Session. Which
fields are present depends on whether the event denotes a Session start or a
Session end, and on the Notecard itself — a field is omitted when it does not
apply, so cellular-only fields such as cellid, rsrp, and rsrq are absent
on a Notecard WiFi, and the WiFi fields are absent on a cellular Notecard.
All of the fields documented below sit at the top level of the event,
alongside req, and not inside body.
Session Start
The _session.qo Note that denotes a Session start includes the following fields.
All of them are absent from session.end events.
-
sku: The SKU of the Notecard that started the Session. See Notecard Product Family for a list of possible SKUs. -
ordering_code: The Notecard's alphanumeric ordering code. -
firmware_notecard: The version of the Notecard firmware. This is read from Notehub's record of the device rather than from the Session handshake, so it reflects what Notehub understands to be installed and may briefly lag a just-completed firmware update. -
firmware_host: The version of the host firmware, as last reported by the host. Absent if the host has never reported a version. -
bearer: The tunnel used to connect the device to Packet Data Networks (PDNs). -
cellid: The Cell ID used when initiating the Session, formatted asmcc,mnc,lac,cellid. Notehub derives the event'stower_*fields from this value. -
bssid: The "Basic Service Set Identifier" of the WiFi network used to initiate the Session. -
ssid: The SSID ("Service Set Identifier"), or name of the WiFi network used to initiate the Session. -
iccid: The "Integrated Circuit Card Identifier" of the SIM on the device. -
apn: The "Access Point Name" for Notehub. -
rssi: The "Received Signal Strength Indicator" value, in dBm. Values are negative, so a value closer to 0 indicates a stronger signal. -
sinr: The "Signal to Interference and Noise Ratio" value, in dB (the higher the value the better the signal quality). -
rsrp: The "Reference Signal Received Power" value, in dBm (the higher the value the stronger the power). -
rsrq: The "Reference Signal Received Quality" value, in dB (the higher the value the better the signal quality). -
rat: The "Radio Access Technology" (i.e. the underlying connection method for the cellular network). Common values arelte(LTE Cat-1 or Cat-1 bis),emtc(LTE-M),nbiot(NB-IoT),umts(3G),gsm(2G), andwifi-2.4(WiFi). -
bars: A general measure of the quality and strength of the connection (with 4 being the highest quality on cellular, and 5 on WiFi). See How Notecard Calculates Bars. -
voltage: The voltage of the attached power source. -
temp: The temperature (in Celsius) as reported by the Notecard's onboard temperature sensor. Absent on Notecards without one. -
moved: A timestamp that indicates the last time motion was detected by the Notecard. This is not scoped to the Session — it reports the most recent motion the Notecard is aware of, which may predate the start of the Session. -
orientation: The physical orientation of Notecard when its accelerometer last read it. One offace-up,face-down,portrait-up,portrait-down,landscape-left,landscape-right, orangled(tilted, but not clearly in any of the other orientations). -
power_charging:trueif the Notecard detected that its power source was charging. -
power_usb:trueif USB power was detected. -
power_primary:trueif the Notecard is configured for a primary (non-rechargeable) battery. -
power_mah: The running total of milliamp-hours measured by an attached Mojo since the total was last reset. It resets to0on acard.powerresetrequest or when the_mojo_resetenvironment variable is set to a new value, and it can decrease while a LiPo battery is charging. To get consumption over an interval, compare two Sessions with no reset between them.
Session End
The _session.qo Note that denotes a Session end includes the following fields.
All of them are reported by Notehub, not by the Notecard, and all are absent
from session.begin events.
-
hub_last_work_done: A timestamp that indicates the last time Notehub did work related to this Session. -
hub_duration_secs: The duration of the Session in seconds. Only present when it differs from the duration Notehub has already recorded for the Session, so this field is frequently absent. -
hub_events_routed: The number of billable (non-Platform) events Notehub received during the Session. -
hub_rcvd_bytes: The number of bytes the device received during the Session (i.e. sent out from Notehub). -
hub_sent_bytes: The number of bytes the device sent during the Session (i.e. received by Notehub). -
hub_tcp_sessions: The number of TCP sessions initiated during the Session. -
hub_tls_sessions: The number of TLS sessions initiated during the Session. -
hub_sent_notes: The number of Notes sent to Notehub during the Session. -
hub_wire_rcvd_bytes: The raw bytes Notehub read from the device's TCP or TLS connection during the Session, including protocol overhead. -
hub_wire_sent_bytes: The raw bytes Notehub wrote to the device's TCP or TLS connection during the Session, including protocol overhead.
The two hub_wire_* fields are only present for Sessions over a TCP or TLS
connection, so they are absent for LoRa and NTN Sessions.
Events from the _session.qo Notefile are considered
Platform Events, and are not subject
to event credit
charges.
Satellite (NTN) Sessions
Unlike most System Notefiles, _session.qo Notes are created for NTN
sessions, because Notehub (not Notecard) generates them. However, these Notes
contain far fewer fields.
Over NTN, Notecard sends only small packets of Note data without the additional
device details it reports during cellular or WiFi sessions. As a result
Notehub cannot include signal readings (such as rssi or bars) or power
readings (such as voltage or power_usb). Fields that Notehub maintains in
its own device record, such as firmware_notecard, are still included.
_temp.qo
If you enable periodic temperature reporting using a
card.temp request
with a minutes (or status) argument, Notecard will create a templated
_temp.qo Notefile and add a Note to it at the specified interval.
Here is an example body of a _temp.qo Note.
{
"count": 46,
"temperature": 24.457228,
"voltage": 5.1953125
}The body of a _temp.qo Note may contain the following elements:
-
temperature: A temperature reading in Celsius. If a supported sensor is connected (see below), the reading comes from that sensor. Otherwise it comes from Notecard's onboard temperature sensor. -
voltage: The measured voltage at the time of the reading. -
usb: A boolean that is set totrueif the Notecard was powered by a USB connection at the time of the reading. -
count: A counter that increases by one with each temperature reading and starts over when Notecard restarts. It also counts readings that Notecard took but didn't report, so gaps incountare normal.
If Notecard finds a BME280 or ENS210 sensor on its I2C bus, or a BME280 wired to
its AUX pins with
card.aux track mode
enabled, it adds the following fields to the body of _temp.qo Notes:
-
humidity: A humidity reading from the connected sensor, taken at the time of the reading. -
pressure: An atmospheric pressure reading from a connected BME280 sensor, in pascals, taken at the time of the reading. -
sn: The serial number of a connected ENS210 sensor. BME280 sensors don't report a serial number.
To have Notecard sync each time it adds a _temp.qo Note, include
"sync": true in the same card.temp request that sets minutes (or
status). To stop temperature reporting, send a card.temp request with
"stop": true.
_temp.qo is one of the few System Notefiles that syncs while NTN (satellite)
is the active transport, because Notecard gives it a compact
Notefile template
on a reserved port when you enable temperature reporting.
However, that template must first be synced to Notehub over cellular or
WiFi. Issue the card.temp request and complete a non-NTN sync before the
device switches to NTN mode, or the Notes will not be uploaded. See
Always Sync with Notehub First.
_tower.qo
Notehub creates a _tower.qo event when a Notecard reports during a Session
that it has moved to a different cell tower, for example while a device in
continuous mode is traveling. Notehub looks up the new tower's location and
records it in the event.
The body of a _tower.qo event contains:
-
tower: The new cell tower, formatted asmcc,mnc,lac,cellid. -
tower_latandtower_lon: The location of the new tower. -
tower_time: When Notehub looked up the tower's location, as a UNIX Epoch timestamp. -
locationandcountry: The place name and country code of the tower's location.
For example:
{
"country": "US",
"location": "Lansing MI",
"tower": "310,410,30515,184360466",
"tower_lat": 42.7335,
"tower_lon": -84.5555,
"tower_time": 1674749529
}Like a session.begin _session.qo
event, a _tower.qo event also carries the device's radio and power fields,
such as rssi, rat and voltage, at the top level of the event. The radio
fields describe the new tower.
Events from the _tower.qo Notefile are not
Platform Events, so each one uses an
event credit.
_track.qo
If you activate the Notecard's GPS/GNSS tracking using a
card.location.track request,
the Notecard will create a _track.qo Notefile to store location data.
Here is an example _track.qo Note.
{
"body": { ... },
"best_location_type": "gps",
"best_location_when": 1674749529,
"best_lat": 27.98806,
"best_lon": 86.92528,
"best_location": "Mount Everest",
"best_country": "NP",
"best_timezone": "Asia/Kathmandu",
"where_olc": "7MV8XWQG+64CH",
"where_when": 1674749529,
"where_lat": 27.98806,
"where_lon": 86.92528,
"where_location": "Mount Everest",
"where_country": "NP",
"where_timezone": "Asia/Kathmandu"
}In a _track.qo Note, the where_* fields provide location information
acquired by the Notecard's GPS/GNSS receiver.
The Note's best_location_type is "gps" whenever the Note carries a GPS/GNSS
location, however old, because Notecard may have captured the Note while
offline. Otherwise it is "triangulated" or "tower", depending on which of
those locations Notehub has for the device when it receives the Note. If you set
the _gps_spoof_avoidance environment variable, Notehub can prefer a newer,
distant triangulated or tower location instead.
You can learn more about how Notehub selects a best location in Data Notehub Appends to Events.
All _track.qo Notes provide additional information about each tracking event
in their body.
-
charging:trueif the Notecarrier reports that its battery is charging. Requires acard.carrierrequest with"mode": "charging". -
daily_charging_mins: An estimate of how many minutes per day the battery spends charging, based on the last 24 hours. Also requirescard.carriercharging mode, and is omitted until Notecard has 24 hours of data since it last restarted. -
dop: The dilution of precision for the reading, where lower numbers indicate higher confidence. -
lux: The illuminance value from an attached OPT3001 ambient light sensor. -
milliamp_hours: The running total of milliamp-hours measured by an attached Mojo. This is the same total as_session.qopower_mah. -
motion: The number of motion events captured since the counter last reset, which is normally at the previous GPS/GNSS fix,no-satNote, orusbNote. AheartbeatNote resets it only if the count is below thecard.location.modethreshold. -
seconds: On a Note without astatus, which records a new GPS/GNSS fix, how long Notecard took to get the fix. Within a journey, from ajcountof 2 on, it is instead the number of seconds since the previous fix. -
status: Present on some Notes to indicate why the Notecard added them. Possible values are:"button": A button wired toAUX1was pressed whilecard.auxis inmotionmode."fence": The device crossed the boundary of a ringfence. On these Notes,fenceis"+_ring"if the device entered the ringfence and"-_ring"if it left. The Notecard syncs these Notes immediately, even ifcard.location.trackis not enabled. Requires Notecard firmware v11.3.1 or later."heartbeat": Thecard.location.trackheartbeatinterval elapsed while the device was stationary."no-sat": The Notecard tried to get a GPS/GNSS fix but gave up without one, for example because the device was indoors. On these Notes,secondsis how long the Notecard searched, andtimeis still the time of the last successful fix."usb": USB power was connected or disconnected.
-
temperature: A temperature reading from the Notecard, in Celsius, at the time of the tracking event. -
time: The UNIX Epoch timestamp that indicates the last time the Notecard made a GPS/GNSS fix. -
usb: A boolean that is set totrueif the Notecard was powered by a USB connection at the time of the tracking event. -
voltage: The measured voltage, in volts, at the time of the tracking event.
If you configure a
ringfence
with card.location.mode, _track.qo Notes also report where the device is
relative to it.
-
inside_fence:truewhile the device is inside the ringfence. Omitted while the device is outside. -
fence:"_ring"while the device is inside the ringfence. Requires Notecard firmware v11.3.1 or later.
If you set card.location.mode to "mode": "periodic", Notecard additionally tracks
journeys. When tracking journeys, Notecard captures
additional information in the body of _track.qo Notes.
-
bearing: The compass bearing from absolute north, in degrees, relative to the previous tracking event's coordinates. -
distance: The distance between the current location and the previously reported location, as the crow flies, in meters. -
jcount: The sequence number of this Note within the current journey, starting at 1. Every_track.qoNote added during the journey increases it, includingheartbeat,no-satandusbNotes, not just GPS/GNSS location updates. -
journey: A UNIX Epoch timestamp that indicates when the journey started. This timestamp uniquely identifies the journey and will be used in subsequent_track.qoNotes if the journey continues. -
velocity: A calculation of the speed the Notecard has traveled at since the previous tracking event, determined by dividing distance traveled (as the crow flies) by time, and measured in meters per second.
Journey lifecycle: A journey is a discrete trip—an uninterrupted period during
which the device's location is changing. A journey begins when the
Notecard's accelerometer detects movement while card.location.track is enabled, and
ends after the device has been stationary for 5 minutes (300 seconds) by default.
When the Notecard detects that the device has started moving again after that
timeout, it starts a new journey with a new journey timestamp. You can change the
inactivity timeout by setting the _gps_journey_secs environment variable on the
device in Notehub (for example, _gps_journey_secs=600 extends the timeout to 10
minutes).
The journey is a reliable key for grouping _track.qo Notes into discrete trips.
If you have a BME280 sensor on the I2C bus, Notecard will add temperature, pressure,
and humidity fields to the body of _track.qo Notes.
-
temperature: A temperature reading from the connected BME280 sensor, in Celsius, taken at the time of the tracking event. -
humidity: A humidity reading from the connected BME280 sensor, taken at the time of the tracking event. -
pressure: An atmospheric pressure reading from the connected BME280 sensor, in pascals, taken at the time of the tracking event.
If you have an ENS210 sensor on the I2C bus, Notecard will add temperature and
humidity fields to the body of _track.qo Notes.
-
temperature: A temperature reading from the connected ENS210 sensor, in Celsius, taken at the time of the tracking event. -
humidity: A humidity reading from the connected ENS210 sensor taken at the time of the tracking event.
_track.qo is one of the few System Notefiles that syncs while NTN (satellite)
is the active transport, because Notecard gives it a compact
Notefile template
on a reserved port when you enable tracking.
Two caveats apply:
-
That template must first be synced to Notehub over cellular or WiFi. Issue the
card.location.trackrequest and complete a non-NTN sync before the device switches to NTN mode, or the Notes will not be uploaded. See Always Sync with Notehub First. -
If you redirect tracking to a different Notefile with the
card.location.trackfileargument, Notecard does not assign it a reservedport, and it will not sync over NTN unless you define your own compact template for it withnote.template.
_watchdog.qo
The _watchdog.qo Notefile is created by Notehub when
watchdog events are
enabled for a fleet. Notehub adds a _watchdog.qo event each time a device in
the fleet goes longer than the configured interval without sending any events.
The body of a _watchdog.qo event includes the fleet that published it, the
fleet's watchdog interval, and activity_session, the last time the device
itself was active. For example:
{
"activity_event": 1749829774,
"activity_session": 1749829100,
"fleet": "fleet:12345678-90ab-cdef-1234-567890abcdef",
"fleet_name": "Field Devices",
"fleet_watchdog_mins": 1440
}Events from the _watchdog.qo Notefile are not
Platform Events, so each one uses an
event credit.