Concepts
Server
The server is a software which collects, aggregates, and controls data points from any number of data sources. You run the server on a host, which could be your PC, a SPC such as the Raspberry Pi, or a web server. The server runs as a self-contained background program, and can be controlled via the desktop application or remotely through the web interface.
System
A system is a set of configuration and data in TelemetryJet. Device setup, dashboards, and data points are all part of a system. A server can only host a single system at one time.
Device
A device is an individual data source which can exchange data points with the server in realtime. There are three types of devices:
- Hardware Devices are physical equipment such as an Arduino or other microcontroller, and are used to send realtime sensor data and receive control commands. Hardware devices are connected over a physical cable such as USB, or over a wireless connection such as Bluetooth. Example: A sensor reading battery voltage on a solar charger, or a motor controller powering a linear actuator to tilt a solar panel.
- Software Devices are external programs which communicate with the Server via TelemetryJet’s Client SDKs. A software device can run on the same host as the server, or anywhere with internet connectivity to the server. Example: A python program performing computer vision on a live webcam feed.
- Cloud Devices are third-party data sources which provide data over the internet through an API. Cloud Devices are polled periodically to get data. Example: An online weather API, providing weather predictions for a given GPS position.
Combined, the different device types can be used to create powerful systems.
Protocol
A protocol is the encoding that a device uses to communicate with the server. TelemetryJet supports a wide number of protocols.
For hardware devices, Common USB Serial protocols are supported, including NMEA 0183, VE.Direct, etc. To interact with cloud or software devices, TelemetryJet can parse CSV, XML and JSON data.
For simple interactions with microcontrollers, TelemetryJet comes with a USB-Serial protocol which is implemented in both the server and Arduino Client SDKs. This is the quickest way to exchange data with a microcontroller, and has been designed with realtime use in mind.
Transport
A transport is the method that is used to transmit data between a device and the server. Where Protocols specify the encoding of data, Transports specify how that data is transferred. TelemetryJet supports the following transports:
- USB Serial
- Bluetooth
- Web (HTTP/HTTPS, UDP, TCP, WebSockets)
Data Frame
A Data Frame is a “snapshot” of the state of your data at a point in time. Each data point in the database is associated with a data frame, allowing multiple simultaneous data points to be linked together to form a larger picture of your system.
The default time interval for a data frame is 100ms. Each time the time interval expires, the “current” data frame for new data points is incremented. There is no limit to the number of data points that a data frame can hold – Data points will add to the current data frame until its time expires.
When displaying live data, the entire dashboard will always pull from the same data frame, meaning data points displayed simultaneously were also recorded simultaneously.
The timestamp of a Data Frame can also be used as the X-Axis on time-series charts, which allows multiple data points to line up temporally.
Data Point
A data point is a single unit of data, which contains a key, a value, a type for the value, and a data frame ID.
Dashboard
A dashboard is a visualization of your data. Dashboards are built in the TelemetryJet UI using the Dashboard Builder tool, which provides a set of UI elements for use in dashboards.
In addition to viewing data, Dashboards can control data through the use of Buttons and other active components which write data points back into the system.
Dashboards can be shared with others using a Sharing Link. Anyone with a compatible browser and internet connectivity with the server can view and interact with the dashboard.