The Distance module is a sensor measuring a distance in mm.
The Distance module type has access to all common capabilities.
|distance||Reads the measured distance in mm||read only: Float|
|threshold||Thresholds distance variation before filter_changed event trigers. Default value 10 mm.||read / write: Float|
|changed||Any movement on the distance measurement|
|filter_changed||Movement bigger than threshold|