Luup Lua extensions: luup.job

Is there a formal specification for luup.job.*?

The wiki has no useful information (http://wiki.micasaverde.com/index.php/Luup_Lua_extensions#Job_Handling):

Job Handling

lu_job_set

lu_job_get

I am implementing a line-oriented UI, so I have to check the status of the jobs.

@alfonso,
Can we get some detail on these or, failing that, how we make the “short” status messages that appear below each Device in the Dashboard when they’re doing things?

I have some Alarm Panel code where I’d like to indicate that “features” aren’t enabled etc, and it seems like the [tt]luup.job.{status,set,setting}[/tt] API’s were intended to handle that situation, present messages etc, but it’s hard to reverse engineer their logic.

I’ve updated the Wiki page with some info on these functions. At the moment I don’t know what the fields in the job table are, but as soon as I find out I will complete the descriptions.

As far as I know, the “short” status messages are hardcoded and there is no easy way to write them, but you can look after tag2 in the JavaScript files if you really want to.