Open andersenthomas98 opened 2 weeks ago
Hi @andersenthomas98,
Thank you for your interest in ThingsBoard IoT Gateway, You are right, we have some changes in configuration, documentation is in progress. But you can ask here about parameters that you interested in.
type in timeseries is a parameter that allows UI to identify what type it should show in basic configuration mode for OPC-UA connector, it can be constant
, identifier
, path
. It doesn’t important for the gateway processing, but allows to show correct type on UI. New UI fo gateways will be available in ThingsBoard 3.9.
Ok, understand :). Can you elaborate on how to use the deviceNodePattern
- and deviceNamePattern
field? From my understanding it seems like the deviceNodePattern
must be a regular expression to find a node. Is this field mandatory? For my configuration I only want to define one OPCUA device, therefore, I would presume if deviceNodePattern
does not exist the configuration would just assign all timeseries and attributes to the device named using the deviceNamePattern
field.
deviceNodePattern, is the similar like it is defined in the current documentation, gateway uses it to find the base node for device, all path patterns for device can be relative (from device node or absolute - from the root). deviceNamePattern also can be a constant value.
deviceNodePattern
is a base for device search, so it is mandatory, the gateway won’t be able to locate nodes without it.
If you want to have only one device you can try to set it to Objects node, or any on the highest level and set deviceNamePattern as a constant string value.
Thanks. Another question: What is the pollPeriodInMillis
inside the server
section?
We added separated parameters for scanning period and polling period, earlier we did the both things at the same time, but if you know that your node hierarchy won’t change frequently - you can set a big value for scanPeriodInMillis
, but keep low pollPeriodInMillis
. pollPeriodInMillis
has effect only if you have disabled subscriptions.
Ok, thanks again! Do you have a timeline for expected release of the official docs?
Describe the issue Hi, where can I find the documentation for the fields in the OPCUA connector configuration? The default version that comes up in thingsboard cloud looks like this:
However, this does not look like it matches what is documented here:
For instance, there is a new field called
"type"
in the"timeseries"
subsection.