Table 2.
Data type and operators for IoT devices used in the conditions.
| Devices | Sensing Data | Data Type | Operators Used in Condition |
|---|---|---|---|
| Sensor | Temperature | Float | |
| Humidity | Float | ||
| Illumination | Float | ||
| Electricity consumption | Float | ||
| Occupancy | Boolean | ||
| Input | Wireless switch | Boolean | |
| Smart dice | 16 pairs of integers (1–4) | (chosen mutually exclusively) |