I have just rewritten the code of the bash file RobotAspiToGladys.sh
It automatically retrieves all the keys and values it finds and sends them to Gladys; it is still possible to process the values to convert them to dates, for example.
It automatically detects the data type (state or text), but it is possible to force it.
It displays a nice table showing the topics, the data types, and the data.