This Python program creates a "Data export" widget, automatically configured with a list of tags.
This is specially useful if you have a lot of tags and you want to easily backup data manually.
Follow these steps:
- Go to the Fleet Manager, pick a datasource from a device, go to Tags and click "Export to CSV file". Name the file "data-tags.csv"
- Edit the file keeping the tags you are interested in
- Execute the program, it will create a json file (output.json)
- Open the json file and copy the content
- Go to the IXON Studio, open a page for editing
- Right-click and paste (or Ctrl-v / Cmd-v)
Done!
Now open the page from the Portal, pick a suitable time period, click the button and download the data.
Notes
- This program adds only the tags sampled by interval. To change this edit lines 10-11
- The file data-tags.csv here is provided as an example.
- The device you choose is only important for its Tags list. The widget will work with any device with the same tags.