Users Guide

Table Of Contents
Converting raw data for use
Apply the formula in the table to convert the raw data collected into usable measurements.
Table 27. Convert relative humidity and temperature sensor raw data
Relative humidity and temperature sensor ST Micro HTS221
RH (in %) = (in_humidityrelative_raw + in_humidityrelative_offset) * in_humidityrelative_scale
Temperature (degC) = (in_temp_raw + in_temp_offset) * in_temp_scale
Table 28. Convert motion sensor raw data
Motion sensorAccelerometer ST Micro LNG2DMTR
accel_{x/y/z} (m/s^2) = in_accel_{x/y/z}_raw * in_accel_{x/y/z}_scale
Table 29. Convert pressure sensor raw data
Pressure sensor ST Micro LPS22HB
Pressure (hPa) = in_pressure_raw * in_pressure_scale * 10
Temperature (m degC) = in_temp_raw * in_temp_scale
Ignition Pin
The ignition pin can be used to wake the Edge Gateway.
Table 30. System state behavior
System state Input signal goes active Input signal goes inactive
G3 No effect No effect
S5 System transitions to S0 No effect
S4 System transitions to S0 No effect
S3 System transitions to S0 No effect
S0 No effect System transitions to S3, S4, or S5
Selecting and applying a power option
1. Adjust the power event in systemd using the following command:
# sudo vi /etc/systemd/logind.conf
2. Set the HandlePowerKey variable to one of the following power options:
Table 31. Power options
Power option Description
ignore
Do nothing
poweroff (default) Shut down the system
reboot
Reboot the system
halt
Halt the system
kexec
Direct-boot to a new kernel
suspend
Suspend the system
Setting up the operating system 77