We enriched msg-expression-plugin and other plugins with access to device metadata.
For example you may activate or deactivate maximum speed control for the specific device via REST API by setting its speed_limit metadata field to maximum allowed speed value.
And use metadata directly in validate_message option to apply the plugin only when such field is defined in device’s metadata:
Plugin with the configuration above will be applied only to devices that have "speed_limit" set as a number value inside metadata and when instant device speed exceeds it. In that case it will add to the message parameter overspeeding.violation with calculated speed violation.