The IzoT REST API Server is a Python-based REST API Server based on Django and the Django REST Framework. It is configured using the standard Django configuration file mechanism in files under $IZOT/izot/server/project/settings. Default settings are stored in default.py. Local settings are stored in local.py, if it exists (copy example.py to create a new local settings file).
...
Setting | Description |
---|---|
COLLECTORS | IzoT Collectors are 'plug-in' components used to extend the IzoT Server to provide datapoint collectors. Two standard collectors are supplied by default: LonBridgeCollector collects datapoints from the IzoT Network Server (LonBridge); LocalhostCollector collects CPU, Disk and Memory usage datapoints from the local host. Custom collectors can be created and added to the local settings file (see example.py). The supplied IzoT Collectors (including a sample MQTT collector) are located in the izot.server.collectors package. |
PUBLISHERS | IzoT Publishers are 'plug-in' components used to extend the IzoT Server to provide external datapoint publishers (e.g., to a cloud service). By default, there are no standard publishers (the only way to monitor datapoints is via the REST API). Custom publishers can be created and added to the local settings file (see example.py). The supplied IzoT Publishers (including sample publishers for MQTT, SeeControl's Nexus Cloud service, InSync's SensorNet Cloud service, and Xively's Cloud service) are located in the izot.server.publishers package. |
SUBSCRIBERS | IzoT Subscribers are 'plug-in' components used to extend the IzoT Server to provide external datapoint subscribers. By default, there are no standard subscribers (the only way to control datapoints is via the REST API). Custom subscribers can be created and added to the local settings file (see example.py). The supplied IzoT Subscribers (including a sample subscriber for SeeControl's Nexus Cloud service) are located in the izot.server.subscribers package. |
class | All plug-ins are defined by specifying (a unique name and) the module's fullnamefull name. |
args | A dictionary of custom arguments to configure the plug-in. See the appropriate plug-in source file for a description of valid custom arguments. |
For further details on these and other settings, see the source for the individual plug-ins and the Django and Django REST Framework documentation.