Detection of currently connected modules and/or tags

Thanks @expee and @hub.martin for your advices.
I’ll try it. :grin: