fix in readme
This commit is contained in:
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
``
|
|
||||||
{
|
{
|
||||||
"mqtt": {
|
"mqtt": {
|
||||||
"broker": "172.16.2.16",
|
"broker": "172.16.2.16",
|
||||||
@ -39,7 +38,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
``
|
|
||||||
|
|
||||||
The configuration object consists of three parts: `mqtt`, `stats` and `opcua`.
|
The configuration object consists of three parts: `mqtt`, `stats` and `opcua`.
|
||||||
|
|
||||||
@ -57,7 +55,6 @@ In `flat` mode the final topic will be `${mqtt.publicTopicPrefix}/${opcua.name}/
|
|||||||
|
|
||||||
An example for the MQTT messages according to the above configuration in `flat` mode is:
|
An example for the MQTT messages according to the above configuration in `flat` mode is:
|
||||||
|
|
||||||
``
|
|
||||||
opcua/apl/0/pv {"serverName": "apl", "nameSpaceIndex": 0, "variableName": "pv", "value": 19.849281311035156}
|
opcua/apl/0/pv {"serverName": "apl", "nameSpaceIndex": 0, "variableName": "pv", "value": 19.849281311035156}
|
||||||
opcua/apl/0/sv {"serverName": "apl", "nameSpaceIndex": 0, "variableName": "sv", "value": 1688.5152587890625}
|
opcua/apl/0/sv {"serverName": "apl", "nameSpaceIndex": 0, "variableName": "sv", "value": 1688.5152587890625}
|
||||||
opcua/apl/0/tv {"serverName": "apl", "nameSpaceIndex": 0, "variableName": "tv", "value": 22.574615478515625}
|
opcua/apl/0/tv {"serverName": "apl", "nameSpaceIndex": 0, "variableName": "tv", "value": 22.574615478515625}
|
||||||
@ -66,16 +63,13 @@ opcua/apl/0/pv {"serverName": "apl", "nameSpaceIndex": 0, "variableName": "pv",
|
|||||||
opcua/apl/0/sv {"serverName": "apl", "nameSpaceIndex": 0, "variableName": "sv", "value": 1688.5152587890625}
|
opcua/apl/0/sv {"serverName": "apl", "nameSpaceIndex": 0, "variableName": "sv", "value": 1688.5152587890625}
|
||||||
opcua/apl/0/tv {"serverName": "apl", "nameSpaceIndex": 0, "variableName": "tv", "value": 22.574615478515625}
|
opcua/apl/0/tv {"serverName": "apl", "nameSpaceIndex": 0, "variableName": "tv", "value": 22.574615478515625}
|
||||||
opcua/apl/0/qv {"serverName": "apl", "nameSpaceIndex": 0, "variableName": "qv", "value": NaN}
|
opcua/apl/0/qv {"serverName": "apl", "nameSpaceIndex": 0, "variableName": "qv", "value": NaN}
|
||||||
``
|
|
||||||
|
|
||||||
In `structured` mode the final topic will be `${mqtt.publicTopicPrefix}/${opcua.name}`
|
In `structured` mode the final topic will be `${mqtt.publicTopicPrefix}/${opcua.name}`
|
||||||
|
|
||||||
An example for the MQTT messages according to the above configuration in `flat` mode is:
|
An example for the MQTT messages according to the above configuration in `flat` mode is:
|
||||||
|
|
||||||
``
|
|
||||||
opcua/apl {"pv": 19.844480514526367, "sv": 1689.9193115234375, "tv": 22.68524169921875, "qv": NaN}
|
opcua/apl {"pv": 19.844480514526367, "sv": 1689.9193115234375, "tv": 22.68524169921875, "qv": NaN}
|
||||||
opcua/apl {"pv": 19.844480514526367, "sv": 1689.9193115234375, "tv": 22.68524169921875, "qv": NaN}
|
opcua/apl {"pv": 19.844480514526367, "sv": 1689.9193115234375, "tv": 22.68524169921875, "qv": NaN}
|
||||||
opcua/apl {"pv": 19.844480514526367, "sv": 1689.9193115234375, "tv": 22.68524169921875, "qv": NaN}
|
opcua/apl {"pv": 19.844480514526367, "sv": 1689.9193115234375, "tv": 22.68524169921875, "qv": NaN}
|
||||||
opcua/apl {"pv": 19.844480514526367, "sv": 1689.93701171875, "tv": 22.620391845703125, "qv": NaN}
|
opcua/apl {"pv": 19.844480514526367, "sv": 1689.93701171875, "tv": 22.620391845703125, "qv": NaN}
|
||||||
``
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user