Polymers that exhibit changes of their luminescence colour in response to external stimuli are attractive candidates for sensing systems. We herein report the preparation of europium-based metallosupramolecular polymers, which can be processed into films and coatings that display readily detectable luminescence colour changes in response to various types of analytes.