Purpose and types of sensors

 
Fuel type* – The fuel type sensor is used on monitoring facilities that use two or more types of fuel in operation (for example, gas/gasoline).
Rotation speed is a sensor for reading the number of engine revolutions.
Engine hour sensor (pulse or discrete) – counts the number of pulses between sensor readings for a set of engine hours of the monitored object.
RFID reader – a sensor used at monitoring objects to read RFID tags (the same iButton).
Text sensors - a sensor that displays data about its state in the form of text.
An example of using such a sensor is a lock sensor.
Humidity sensor - used for monitoring refrigerators, refrigeration units or in some other special projects, it simply displays a number or an acceptable range.
Weight sensor - used in weigh stations or similar locations.
The lock is a two-position sensor, needed for security organizations. Displays two statuses: open/closed.
Concrete mixer loading sensor and
Concrete mixer unloading sensor - used by construction companies in concrete mixers to understand the unloading and loading of barrels, and it can also be used in the report designer, two-position.
Rotation speed is a sensor used in outputting readings from equipment for concrete mixers, engine speed, speed of rotation of sprinklers, etc. where you need to know how many circular rotations there were in
unit of time, usually taken into account revolutions per minute.
Sleep - When entering this status, the device sends a packet with the event Event= <event number>.
After which the device goes into sleep mode. During the entire sleep, the device does not send packets.
 
 
Sensor types
Discrete – sensor data is collected in the form in which the terminal sent it. Can be converted using a calibration table or formula. For discrete sensors, the "send alerts" flag can be set. In this case, when the sensor state changes, messages about this event will be sent via email and SMS.
Pulse – counts the number of pulses between sensor readings.
Two-position – on/off type sensor. The data sent by the sensor is converted using the values ​​of the minimum value/maximum value fields. If the sensor reading falls within the range between the maximum and minimum values, the sensor is considered to be turned on. Otherwise, it is turned off.
Discrete integral is the same as discrete, but its values ​​are cumulative.
Pulse integral - the same as integral, but the number of pulses transmitted by the sensor is cumulative
Two-position inverse - the same as two-position with inverted on/off value.
Composite is a type of sensor used for complex systems where the interaction of readings from different sensors is taken into account.
Special - sensor type used for special sensors (RFID, GPS status, CAN bus reading, People counting, etc.).
Multiposition – a sensor used to record nonlinear readings that can take on any value. The correspondence of the values ​​to the sensor readings is taken from the correspondence table (calibration table).
 
 
* The filling fixation algorithm works according to the following principle.
 5 consecutive points are taken and if the difference between the first and last is the parameter specified in the sensor (indicated in the fuel sensor settings), then it considers this to be refueling.
After this, the script looks back 20 minutes and searches for the lowest fuel value by point and considers it the start of refueling.
Determining the end of refueling is a little more difficult. The signal for the end of refueling is considered to be:
 
a) Five points in a row have the same meaning (the car was refueled and it remained standing still).
 
b) When the next point has a value less than the previous one (the car refueled and immediately drove off).
 
c) loss of signal for 1 hour (the machine’s ground was turned off).
 
Plums work similarly.
 
Smoothing factor - for each point, n points are selected from the left and right from the sequence, where n is the smoothing factor. extremes are discarded. the values ​​of the remaining n*2-2 points are averaged. This creates a new value for the point. This way we eliminate sudden fuel surges.
 
To detect refueling/draining, we analyze the fuel difference (threshold) between the number of points specified in the parameter.
 This parameter should be changed only if the vehicle sends points too often (increase the number of points for detection) or too rarely (reduce)