Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
livebox:pachube [2014/11/08 09:16] – [As a Service] brett | livebox:pachube [2014/11/08 09:30] – [Other optional attributes] brett | ||
---|---|---|---|
Line 78: | Line 78: | ||
Its internal cache of data to push to XIVELY can be updated by xAP messages being targeted at this service. | Its internal cache of data to push to XIVELY can be updated by xAP messages being targeted at this service. | ||
- | Messages sent to it are not immediately forwarded to the XIVELY service. They wait until the next update cycle. | + | Messages sent to it are not immediately forwarded to the XIVELY service. They wait until the next update cycle, unless the **now** attribute is supplied more on that later. |
A Xively update message looks like this: | A Xively update message looks like this: | ||
Line 100: | Line 100: | ||
In the message above | In the message above | ||
- | * The id= key matches that of the ID field in the datastream for the default Feed ID. | + | |
- | * The tag=key updates the tag value of the datastream identified by the ID key/field | + | * The tag=key updates the tag value of the datastream identified by the ID key/field |
- | * The value updates the value of the datastream identified by the ID key/field | + | * The value= updates the value of the datastream identified by the ID key/field |
The configuration page on the HAH xively tab is unaffected | The configuration page on the HAH xively tab is unaffected | ||
Note that the UID and source in the message above must either both have sub-addresses or neither have sub addresses | Note that the UID and source in the message above must either both have sub-addresses or neither have sub addresses | ||
+ | |||
+ | ==== now attribute ==== | ||
If you require the manual feed to update xively immediately the xively.update is sent supply the attribute " | If you require the manual feed to update xively immediately the xively.update is sent supply the attribute " | ||
Line 120: | Line 122: | ||
</ | </ | ||
- | The **now** field was added to solve the use case where by a boolean value needs to be monitored and its state should not be cached as it may toggle before the next xively web service update occurs. | + | The **now** field was added to solve the use case where by a boolean value needs to be monitored and its state should not be cached as it may toggle before the next xively web service update occurs. It will cause xap-xively to immediately push the value up to the xively web server. |
===== Graphing ===== | ===== Graphing ===== |