|
From: Tim J. <ti...@ar...> - 2016-06-05 16:13:41
|
On Jun 4, 2016, at 9:05 AM, Christian Franke <Chr...@t-...> wrote:
> The normalized value may show 'temperature' or '(some_constant -
> temperature)' or something else.
> In most cases is is safe to assume that temperature is shown in the
> lower byte of the raw value. The upper bytes may encode min/max values.
>
> Try this to get a temperature list from the attrlog file:
>
> sed -n 's,^.*\t194;[^;]*;\([0-9]*\);.*$,\1,p' attrlog.csv | awk '{print
> $1 % 256}'
Brilliant! That does the trick. Thanks!
Tim
|