Ever since I started using a radio that supports OpenTX (initially this was a 9XR-PRO, I upgraded to a Taranis at the start of the year) I've been looking for an easy way to log the time I spend using various models.
For a while I did use a basic text file based system that was kind of machine readable, however adding new entries and viewing historical logs was an utter pain. For this reason I decided to design a new logging format that would address a lot of these issues.
The main requirements were:
These requirements saw the creation of Hourai, a JSON based logging format for models, maintenance and sessions.
The format form the JSON files are given by two schemas:
JSON was a natural choice due to the wide range of parsers and generators available for the format, which ticks off the machine readability and automation requirements. It being a text based format it also allows it to be easily version controlled.
The editor (available online at http://dannixon.github.io/Hourai-Editor) allows easy editing of model and session files and saving/loading from the local disk. Compared to my old method of logging this is by far a much simpler method of manipulating the log files and having in built validation ensures that the data is always kept complete and intact.
I've started working on a telemetry script for OpenTX that will automatically generate the session JSON files on the Taranis, hopefully this should be finished in a week or so when I am less busy.