Managing Datapoints

You can read and write datapoints using the IzoT Server datapoints resource. You can read and write and individual datapoint or the following groups of datapoints:

  • All datapoints
  • All datapoints on a device
  • All datapoints with a user-defined category

The datapoints are defined in the device application. The device interface publishes zero or more datapoints. These datapoints are then exposed, or not, via the device class files as described in Mapping IzoT Device Datapoints to IzoT Server Datapoints Overview. You can monitor and control any datapoints defined in a device in the IzoT Server devices collection with a matching device class file.

Every datapoint has a unique ID property, assigned when a device is added to the IzoT Server devices collection. You can use the ID value as a shortcut, or handle, to the datapoint. Other properties may not be unique to the desired datapoint, e.g., multiple datapoints may have the same name (for instance, if more that one device with a particular interface is on the network).

If your device has a particular datapoint you are interested in, but the IzoT Server doesn't show the value, see Creating an IzoT Device Class File, for steps to add and view the datapoint or datapoints. To get a list of datapoints, filtered or not, or a particular datapoint, see Reading a Datapoint, or see Getting a List of Datapoints. To update and input datapoint, see Updating a Datapoint.

You can connect a datapoint to the datapoints of one or more other devices, such that if a sensor of one device is updated, any connected controller or actuator will automatically be notified of the new value, and the application will perform the programmed action or actions. 

This section consists of the following: