I dont know. I never use Homey script. But you can use this app to archive all insights off all apps/devices. It stores the data in zip files in JSON and .csv format: [APP][Pro] Archive Insights - export all your Insights data to a NAS, FTP or web folder
1 Like