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
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
Hi Bernhard,
Just bought the PRO and tried the date-time, works like a charm. Thanks
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:
http://php.net/manual/en/function.date.php
I guess your format is possible..
Thanks Bernhard – can you confirm how to implement this in your example above?
Thanks again