Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author berkux

    (@berkux)

    Hi,

    try this with free- or pro-version:
    {subloop:channelBounds:-1}minTimeSecs:{channelBounds.minTimeSecs}{/subloop:channelBounds}
    {subloop:mostRecentDataSample:-1}value: {mostRecentDataSample.value}{/subloop:mostRecentDataSample}
    with basenode=data.channels.particle_concentration

    The pro-version can convert the unix-timestring by “datetime”:
    {subloop:channelBounds:-1}minTimeSecs:{channelBounds.minTimeSecs:datetime,”d.m.Y H:i”,0}{/subloop:channelBounds}
    {subloop:mostRecentDataSample:-1}value: {mostRecentDataSample.value}{/subloop:mostRecentDataSample}

    Calc: There is no way doing calc in the plugin. But there is a way with it: Create the JavaScript-Code with the calc-logic. The values for calculating you insert by the plugin.
    In other words: Add plugin-generated-code to your Javascript-code.

    Do you understand what I mean?
    Bernhard

    Thread Starter Pixellation

    (@pixellation)

    Hi Bernhard,

    Thanks heaps for the help. I will give it a shot, definitely understand what you mean. I will get the PRO now.

    Thanks

    Thread Starter Pixellation

    (@pixellation)

    Hi Bernhard,

    Just bought the PRO and tried the date-time, works like a charm. Thanks

    Thread Starter Pixellation

    (@pixellation)

    One last question – is it able to output as e.g. Thursday 15th October, 2015 at 17:35 GMT?

    Thanks

    Plugin Author berkux

    (@berkux)

    “Thursday 15th October, 2015 at 17:35 GMT”
    The converson is done by the PHP-function date().
    It’s syntax for date/time is there:
    https://php.net/manual/en/function.date.php
    I guess your format is possible..

    Thread Starter Pixellation

    (@pixellation)

    Thanks Bernhard – can you confirm how to implement this in your example above?

    Thanks again

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Just a Simple One’ is closed to new replies.