by Toonz » Fri Jan 01, 2021 3:49 pm
Hi all,
happy to present a new python script to load historical usage data from an old Toon in to another Toon.
The old Toon doesn't need to be rooted, the target Toon must be rooted.
Usage:
- On the old Toon create the export.zip file via the Toon menu, 'Instellingen', 'Internet', 'Toon Data'.
- Download the newly created export.zip file from the old Toon.
- Extract the file usage.zip from the file export.zip
- Extract all files from usage.zip in a separate folder
- download the attached python script (tested with Python 3.7)
- edit the two variables in the script:
folderPath = "c:\\temp\\usage\\" -- replace this with the folder name where you extracted the files from usage.zip
toonIpAddress = "192.168.2.16" --replace this with the ip adress of the new target Toon
- start the script DataConv.py with python and get a coffee (could run for quite some time, progress bars are shown).
That's all folks.
Known limitations:
the file 'gas_flow_CurrentGasFlow_5min.csv' in the usage.zip file is empty on newer firmwares. This is an error in the Toon firmware.
I will look into a workaround for this but that will require the source Toon to be rooted as well.
Happy to take any feedback.
Kind regards and a happy 2021.
Toonz
- Attachments
-
DataConv.zip
- (1.14 KiB) Downloaded 19 times
member of the Toon Software Collective