Dual stimuli responsive self-reporting material for chemical reservoir coating