Project:HUGnet Virtual Sensors

From HUG Wiki

Jump to: navigation, search

Virtual sensors are sensors that are configured by the user just to make the data easier to look at. It might be the difference in temperature between two sensors, or some other math applied to the sensor. It could just be grouping sensors by some factor other than what endpoint they are on.

Contents

Status

Concept phase.

Implementation

  • New Joomla component
  • HUGnetLib
    • Easily get single values off of an endpoint history

This will probably have to be done only with averages. Otherwise we have no real way to make the dates work, as different readings will have different date stamps.

This is done in Project:com_hugnetvsensors

Other Things...

What if I used a wiki like syntax like:

{{HUGnet:DeviceID|history|date}} to get a sensor reading? It could default to history and the most recent date if those are omitted.

See Also