GWF Gaszähler
GWF Gas meter
Last updated
GWF Gas meter
Last updated
{
"ruleChain": {
"additionalInfo": {
"description": ""
},
"name": "Decoder GWF Gas Meter 54",
"type": "CORE",
"firstRuleNodeId": null,
"root": false,
"debugMode": false,
"configuration": null
},
"metadata": {
"firstNodeIndex": 5,
"nodes": [
{
"additionalInfo": {
"layoutX": 973,
"layoutY": 67
},
"type": "org.thingsboard.rule.engine.telemetry.TbMsgAttributesNode",
"name": "Save Client Attributes",
"debugMode": false,
"configuration": {
"scope": "CLIENT_SCOPE"
}
},
{
"additionalInfo": {
"layoutX": 643,
"layoutY": 155
},
"type": "org.thingsboard.rule.engine.filter.TbMsgTypeSwitchNode",
"name": "Message Type Switch",
"debugMode": false,
"configuration": {
"version": 0
}
},
{
"additionalInfo": {
"layoutX": 973,
"layoutY": 229
},
"type": "org.thingsboard.rule.engine.action.TbLogNode",
"name": "Log RPC from Device",
"debugMode": false,
"configuration": {
"jsScript": "return '\\nIncoming message:\\n' + JSON.stringify(msg) + '\\nIncoming metadata:\\n' + JSON.stringify(metadata);"
}
},
{
"additionalInfo": {
"layoutX": 972,
"layoutY": 290
},
"type": "org.thingsboard.rule.engine.action.TbLogNode",
"name": "Log Other",
"debugMode": false,
"configuration": {
"jsScript": "return '\\nIncoming message:\\n' + JSON.stringify(msg) + '\\nIncoming metadata:\\n' + JSON.stringify(metadata);"
}
},
{
"additionalInfo": {
"layoutX": 971,
"layoutY": 353
},
"type": "org.thingsboard.rule.engine.rpc.TbSendRPCRequestNode",
"name": "RPC Call Request",
"debugMode": false,
"configuration": {
"timeoutInSeconds": 60
}
},
{
"additionalInfo": {
"description": "",
"layoutX": 358,
"layoutY": 153
},
"type": "org.thingsboard.rule.engine.profile.TbDeviceProfileNode",
"name": "Device Profile Node",
"debugMode": false,
"configuration": {
"persistAlarmRulesState": false,
"fetchAlarmRulesStateOnStart": false
}
}
],
"connections": [
{
"fromIndex": 1,
"toIndex": 3,
"type": "Other"
},
{
"fromIndex": 1,
"toIndex": 0,
"type": "Post attributes"
},
{
"fromIndex": 1,
"toIndex": 2,
"type": "RPC Request from Device"
},
{
"fromIndex": 1,
"toIndex": 4,
"type": "RPC Request to Device"
},
{
"fromIndex": 5,
"toIndex": 1,
"type": "Success"
}
],
"ruleChainConnections": [
{
"fromIndex": 1,
"targetRuleChainId": {
"entityType": "RULE_CHAIN",
"id": "05f2c8f0-9340-11ec-a5ff-1dc5aa501c93"
},
"additionalInfo": {
"description": "",
"layoutX": 980,
"layoutY": 145,
"ruleChainNodeId": "rule-chain-node-11"
},
"type": "Post telemetry"
}
]
}
}
{
"ruleChain": {
"additionalInfo": {
"description": ""
},
"name": "Decoder GWF Gas Meter 60",
"type": "CORE",
"firstRuleNodeId": null,
"root": false,
"debugMode": false,
"configuration": null
},
"metadata": {
"firstNodeIndex": 5,
"nodes": [
{
"additionalInfo": {
"layoutX": 921,
"layoutY": 65
},
"type": "org.thingsboard.rule.engine.telemetry.TbMsgAttributesNode",
"name": "Save Client Attributes",
"debugMode": false,
"configuration": {
"scope": "CLIENT_SCOPE"
}
},
{
"additionalInfo": {
"layoutX": 591,
"layoutY": 153
},
"type": "org.thingsboard.rule.engine.filter.TbMsgTypeSwitchNode",
"name": "Message Type Switch",
"debugMode": false,
"configuration": {
"version": 0
}
},
{
"additionalInfo": {
"layoutX": 921,
"layoutY": 227
},
"type": "org.thingsboard.rule.engine.action.TbLogNode",
"name": "Log RPC from Device",
"debugMode": false,
"configuration": {
"jsScript": "return '\\nIncoming message:\\n' + JSON.stringify(msg) + '\\nIncoming metadata:\\n' + JSON.stringify(metadata);"
}
},
{
"additionalInfo": {
"layoutX": 920,
"layoutY": 288
},
"type": "org.thingsboard.rule.engine.action.TbLogNode",
"name": "Log Other",
"debugMode": false,
"configuration": {
"jsScript": "return '\\nIncoming message:\\n' + JSON.stringify(msg) + '\\nIncoming metadata:\\n' + JSON.stringify(metadata);"
}
},
{
"additionalInfo": {
"layoutX": 919,
"layoutY": 351
},
"type": "org.thingsboard.rule.engine.rpc.TbSendRPCRequestNode",
"name": "RPC Call Request",
"debugMode": false,
"configuration": {
"timeoutInSeconds": 60
}
},
{
"additionalInfo": {
"description": "",
"layoutX": 306,
"layoutY": 151
},
"type": "org.thingsboard.rule.engine.profile.TbDeviceProfileNode",
"name": "Device Profile Node",
"debugMode": false,
"configuration": {
"persistAlarmRulesState": false,
"fetchAlarmRulesStateOnStart": false
}
}
],
"connections": [
{
"fromIndex": 1,
"toIndex": 3,
"type": "Other"
},
{
"fromIndex": 1,
"toIndex": 0,
"type": "Post attributes"
},
{
"fromIndex": 1,
"toIndex": 2,
"type": "RPC Request from Device"
},
{
"fromIndex": 1,
"toIndex": 4,
"type": "RPC Request to Device"
},
{
"fromIndex": 5,
"toIndex": 1,
"type": "Success"
}
],
"ruleChainConnections": [
{
"fromIndex": 1,
"targetRuleChainId": {
"entityType": "RULE_CHAIN",
"id": "05f2c8f0-9340-11ec-a5ff-1dc5aa501c93"
},
"additionalInfo": {
"description": "",
"layoutX": 928,
"layoutY": 143,
"ruleChainNodeId": "rule-chain-node-11"
},
"type": "Post telemetry"
}
]
}
}