RuleGo RuleGo
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • StreamSQL
  • AI Agent Framework
  • TPCLAW Agent Platform (opens new window)
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • StreamSQL
  • AI Agent Framework
  • TPCLAW Agent Platform (opens new window)
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文

广告采用随机轮播方式显示 ❤️成为赞助商
  • Quick Start

  • Rule Chain

  • Standard Components

  • Extension Components

    • Extension Components Overview
    • filter

    • action

    • transform

    • external

    • ai

    • ci

    • IoT

      • IoT Components Overview
      • Input Endpoints

      • Protocol Acquisition

        • OPC_UA Read
        • OPC_UA Write
        • Modbus Node
        • Serial Communication
        • S7 Read
        • S7 Write
        • EtherNet/IP Read
        • EtherNet/IP Write
        • SNMP Read
        • SNMP Write
        • Modbus Read Points Node
        • Modbus Write Points Node
        • Universal Acquisition Read
        • IoT Write
        • IEC 104 Read
        • IEC 104 Write
        • FINS Node
        • FINS Read
        • FINS Write
        • MC Node
        • MC Read
        • MC Write
        • DL/T 645 Node
        • DL/T 645 Read
        • DL/T 645 Write
        • BACnet Read
        • BACnet Write
          • Configuration
            • Point Table Fields
          • Input/Output
          • Example
          • Related
      • Time-Series Database

      • 控制

      • IoT Scenarios
    • Stream Processing

    • Service Discovery

    • file

  • Custom Components

  • Components marketplace

  • Visualization

  • AOP

  • Trigger

  • Advanced Topic

  • Agent Framework

  • RuleGo-Server

  • FAQ

  • Endpoint Module

  • Support

  • StreamSQL

目录

BACnet Write

x/bacnetWrite component: v0.37.0+ BACnet/IP writes object properties (present-value of analog-output/binary-output/multi-state-value), routing to Success/Failure.

Requires: rulego-components-iot (opens new window)

# Configuration

Field Type Description Default
server string Device address host:port, default port 47808 127.0.0.1:47808
timeout int Request timeout (seconds) 5
priority int Write priority 1-16, 0=omit (device default) 0
points array Control point table (addr=object address, type=value type, value=write value) see below

# Point Table Fields

Field Description Example
name Point name Setpoint
addr Object address: objectType:instance[:property] analog-output:0
type Value type: FLOAT32/FLOAT64/BOOL/ENUM/STRING/INT32/UINT16 FLOAT32
value Write value (string form) 18.5

type selects the BACnet application data type for the write:

  • FLOAT32/FLOAT64: analog-output (real/double)
  • BOOL: binary-output
  • ENUM: multi-state-value
  • STRING: string property

All fields support ${msg.xx} / ${metadata.xx} templates.

# Input/Output

  • Input: msg.Data with point list JSON [{"addr","type","value"}]
  • Output: passes the message through on Success

# Example

{
  "id": "bacnet_write",
  "type": "x/bacnetWrite",
  "configuration": {
    "server": "192.168.1.10:47808",
    "timeout": 5,
    "priority": 8,
    "points": [
      {"name": "Setpoint", "addr": "analog-output:0", "type": "FLOAT32", "value": "${msg.setpoint}"}
    ]
  }
}
1
2
3
4
5
6
7
8
9
10
11
12

Dynamic write (msg.Data with point list):

[{"name": "Fan", "addr": "binary-output:1", "type": "BOOL", "value": "true"}]
1

# Related

  • Read: x/bacnetRead
  • Universal write entry: x/iotWrite (driver=bacnet)
Edit this page on GitHub (opens new window)
Last Updated: 2026/08/05, 01:52:29
BACnet Read
TSDB Write Node

← BACnet Read TSDB Write Node→

Theme by Vdoing | Copyright © 2023-2026 RuleGo Team | Apache 2.0 License

  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式