Hello,
Currently, there is no direct implementation of your use case requirements. Such a feature is planned for TRB255, however, no date or firmware version as of when this could happen is set yet.
A similar question has already been asked here, it might provide you with additional ideas.
Best regards,