Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
livebox:pachube [2014/11/08 09:35]
brett [feed attribute]
livebox:pachube [2014/11/08 09:39]
brett [min/max attribute]
Line 156: Line 156:
 min=-10 min=-10
 max=40 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>​