I didn´t have time to test this.
Now i use a c-script, which uses a sml-library to parse the output and then i grab the output with openhab.
Have a look at this:
and this