One can for sure use global variable to store information, but i don't like them, as they will get overwritten (NaN) when the set value is not numeric and one or more variables with get changed via UI.
But there is something else what can be used, every device have property "userDescription", which can be used by user to store what so ever information about that device.
Everybody have at least device 1 (the HC2 itself), and the data can be stored there. Sure, one can use any oth