livebox:pachube

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
livebox:pachube [2014/11/08 09:33] – [feed attribute] brettlivebox:pachube [2014/11/08 09:39] – [min/max attribute] brett
Line 139: Line 139:
 value=60 value=60
 feed=1234 feed=1234
 +}
 +</code>
 +
 +==== min/max attribute ====
 +
 +These are optional attributes.
 +
 +When feeding xap-xively manually you may supply a min/max attribute to specify to the xively backend the range of values to be expected.  This assists it with graphing.
 +
 +<code>
 +datastream
 +{
 +id=4
 +tag=Temperature
 +value=20
 +min=-10
 +max=40
 +}
 +</code>
 +
 +
 +==== unit attribute ====
 +
 +This is an optional attribute.
 +
 +This attribute allows you to supply a textual hint for the unit type of the value.  Its purpose is to document the value units when viewing graphs and values through the xively web interface.
 +
 +<code>
 +datastream
 +{
 +id=4
 +tag=Pressure
 +value=973
 +unit=hPa
 } }
 </code> </code>
  • livebox/pachube.txt
  • Last modified: 2014/11/08 09:41
  • by brett