A photochromic salicylhydrazide based on perylene diimide and its application for ion sensor probes