I'm trying to build a gadget with LED lights. The odea is to have separate pieces of lights which can be combined together and can be played around as LEGO. I would like for each piece to be joined with another piece with magnets and that those magnets have a connector of some kind. This will allow me to programmatically know which pieces are connected and make one bigger piece. So, the question is if there are some kind of IoT magnetic connectors?