Create synthtic sensors
Synthetic sensors are a combination of other sensors and are represented as virtual sensors. The Synthetic sensors should allow for weighted participation in the new time series
A synthetic sensor should:
- Have at least two parent sensors
- For number data types their weighted mean should be calculated
- For boolean data types a logic operator should be defined
- Have a new data measurement
- The resulting measurement will have the sample rate of the least frequent measurement and downsample the more frequent measurements with the mean of the intermediate measurements
- Future: The user can choose to follow a more frequent measurement, an option to fill in missing data may be useful
- The calculation will be done at the iot-worker level. It periodically checks for synthetic sensors and creates a measurement if needed (following the "alerts" implementation)
- The synthetic sensors wont accept data from the iot-ingress module (outside world)
Edited by Dimitrios Pliakos