Hi @Kai et al,
I often find myself in the situation where I’m storing JSON objects in openHAB item states.
For example, a dictionary of available Spotify devices, a dictionary of all network devices, a dictionary of iCloud devices, etc.
This is data that is has a dynamic content (e.g. network devices come and go) and I don’t need/want an OH item for each item in my dictionary. I also find it useful to store more complex data in these objects.
These objects work great in HabPanel, because you can fully access them and their structure to display them in very nice ways.
So, I’m wondering … would it make sense to add “JSON” as a formal data type to OH items? And provide some support to access the properties in rules, etc.?
Anyone else would find that useful?
I also understand that there is a long discussion about tagging and meta data on items to support Homekit, etc. Would this maybe help?
Thanks,
Patrick