Emissive inorganic–organic hybrid materials open up a new prospect of fast and efficient heavy metal ion sensing in an aqueous medium. Here, we demonstrate highly sensitive lead(II) ion detection attributed to excited-state host–guest interaction, where mercury(II) shows lesser quenching efficiency due to both ground- and excited-state interaction.
