Skip to content

Inputs

Inputs

Elements of page

  1. Analog inputs.

    Contains (starting from the top):

    • name setting fields
    • raw and converted readings
    • selection of functions for analog input or voltage range (more here)
    • calibration field and measurement multiplier (more here)
  2. Measurements of temperature, humidity and pressure.

    For each measurement, field for editing the name and current reading.

    There is also a field for calibration of pressure reading.

  3. Other sensors (CO2 and PM).

    For each measurement, field for editing the name and current reading.

  4. Differential readings.

    It contains a reading and a configuration form.

  5. Digital inputs.

    The upper part contains the name edit box and current status. In the bottom part there are configuration fields (more here).

Configuration of analog inputs

Functions of analog inputs

After selecting a specific sensor for the analog input, the output data will be automatically converted (also when using communication protocols - HTTP, MQTT, SNMP).

Calibration and multiplier

Calibration and multiplier allow to enter a simple function and thus obtain the actual value from many analog sensors with voltage output. The displayed value may be e.g. pressure or distance. This allows you to precisely compensate for the influence of, for example, long wires on the measured value.

Calibration and multiplier are applied according to the formula:

V = M * Vin + K

where:

  • V - intermediate value in mV,
  • Vin - value measured by ADC in mV,
  • M - multiplier,
  • K - calibration,
  • Vout - result value in V, returned in the variable iAValueX

Then the intermediate value is converted to result value depending on the selected analog input function. For basic functions like 3.3V or 58V it is quite simple:

  • 3.3V: Vout = V / 1000 = 0.001 * M * Vin + 0.001 * K, which means that the value 1 in the calibration corresponds to 0.001 V.
  • 58V: Vout = V * 0.017388 + 0.1 = 0.017388 * M * Vin + 0.017388 * K + 0.1, which means that the value 1 in the calibration corresponds to 0.017388 V, and the value contains a constant component (0.1), independent of the multiplier.

For other analog input functions, more complicated calculations are performed, so for each option the constant component and calibration scaling may be different. Therefore, calibration is set for them by trial and error, e.g. zeroing for WCS1800.

Configuration of digital inputs

The digital inputs are in a pull-up configuration (pull-up to a high state).

Negation

Determines whether the logic of the digital input should be inverted, i.e. 0 will be high, and 1 will be low.

Bistable work

Selecting the checkbox with the value 0 results in entering the 2-state mode. Association of this input with the output in Events will give the following effect: the first low state (press) will change the output, the second press will return the output. The main application is the parallel control of the outputs automatically according to the preset parameters and the parallel use of the bell button. You can also control the lighting with use of the motion sensor or light barrier.

Selecting the checkbox with the entered value (number of seconds) will return the state of the associated service after this time.

Impulse time

Option can be selected for INPD1 and INPD3. When selected it will count time between falling slopes while the INPD2 is 0 (INPD2 for counting times on INPD1 and INPD4 for INPD3).

The most recent value is visible in field below checkbox and it is also published via MQTT on prefix/imp_time1 and prefix/imp_time2 topics.