Biopolymer-based materials have been of particular interest as alternatives to synthetic polymers due to their low toxicity, biodegradability and biocompatibility. Among them, chitosan is one of the most studied ones and has recently been investigated for the application as solid state polymer electrolytes. Furthermore, it can serve as a host for luminescent species such as rare earth ions, opening up the possi...