conkw documentation - Concepts

Duration format

Here and there in the config file or in the UI, you will have to configure durations or delays. They can be expressed in milliseconds, seconds, minutes, hours, days or years. Here are a few examples:

Notes:

Credentials

Some grabbers, or even conkw itself, may need credentials. See this dedicated page to figure how to make them available to conkw.

Formatting numbers

WARNING: Number formatting isn't today at a level I think would be acceptable. This is going to change at some point. The good news is that since the actual formatting is just a list of keywords, backward compatibility will be trivial so you can use whatever is in there knowing it will be supported for a long time.

Number formatting is expressed by a keyword in the directive of an expression. That's when you need your expression to be formatted, not to be used as a number of course.

Here I will just list the keywords that actually exists and a few usage examples

Note that in order to test this formatting by yourself, you can just open any ConkW page, press F12, open the console and type ConkW.getProperLabel("datarate",100) where the first argument is the keyword and the second one is the value you want to format.

As a last note, be aware that some of these formattings output a space padded string to provide easily aligned numbers. They are meant to be displayed in a cw-label that has a CSS of white-space: pre,

Error metric

A Metric is deemed to be in an error state if it respect some rule that has been defined in the ``

Stale metric

TBD