PlantLogic: Datastore - ResgreenGroup/Botway-Documentation GitHub Wiki

Current Location: RGR Products->PlantLogic-> Datastore

Summary

This section describes the datastore. The datastore is the foundation of PlantLogic. Data pulled from the roots is shown here, and it is updated whenever a leaf triggers its linked root. The only information that PlantLogic has access to is data from the datastore.

Filling the datastore

The datastore is a list of label-value pairs. It is updated using the roots in the plant structure. Each root is a listener that detects changes to its specified endpoint. This endpoint could be a file, an MQTT topic, a database, an OPC tag, or an API. When a root detects a change, it updates its associated entry in the data store if the project is running.