Domnev: Difference between revisions
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
== BACnet == | == BACnet == | ||
[[File:BACnet Topology 1.png|border|center|class=tlt-border|576x221px]] | |||
=== BACnet === | === BACnet === | ||
---- | ---- | ||
Line 46: | Line 46: | ||
== BACnet/IP configuration == | == BACnet/IP configuration == | ||
This is the most commonly used type of BACnet, which is designed to work over Ethernet networks using the Internet Protocol (IP). It supports both IPv4 and IPv6 addressing. | This is the most commonly used type of BACnet, which is designed to work over Ethernet networks using the Internet Protocol (IP). It supports both IPv4 and IPv6 addressing. | ||
[[File:BACnet Topology 2.png|border|center|class=tlt-border|619x230px]] | |||
For this configuration you must have a Public IP address. You can read up more on this in our article on '''[[Private and Public IP Addresses]]'''. | For this configuration you must have a Public IP address. You can read up more on this in our article on '''[[Private and Public IP Addresses]]'''. | ||
Line 122: | Line 124: | ||
In case of success you see the device connected via gateway. | In case of success you see the device connected via gateway. | ||
[[File:Yabe 2 successful.png|border|center|class=tlt-border| | [[File:Yabe 2 successful.png|border|center|class=tlt-border|925x501px]] | ||
== See also == | == See also == |
Revision as of 16:57, 28 February 2023
The information in this page is updated in accordance with 00.07.03.4 firmware version .
Introduction
This article contains instructions on how to setup BACnet on Teltonika Networks devices.
Configuration overview and prerequisites
Before we begin, let's take a look at the configuration that we are attempting to achieve and the prerequisites that make it possible.
Prerequisites:
- RUT955;
- BACnet controller;
- Server;
- An end device (PC, Laptop, Tablet, Smartphone) for configuration;
If you're having trouble finding any page or some of the parameters described here on your device's WebUI, you should turn on "Advanced WebUI" mode. You can do that by clicking the "Basic" button under "Mode," which is located at the top-right corner of the WebUI.
Note: It is a additional software that can be installed from the Services → Package Manager page.
BACnet
BACnet
Install the BACnet package on RUT955 and navigate to Services → BACnet and enable the instance. Everything else can be left as default or changed according to your needs.
Server
For the server, Yet Another BACnet Explorer (YABE) is used. YABE is an open-source BACnet Explorer that is designed to be lightweight, fast, and easy to use.
Open the software and click on the green plus sign to add a new device. Then a new window will pop up, there select local endpoint IP address and click start. Everything else cane be left as default or changed according to your needs.
Select newly created communication node and right - click on it to send WhoIs request (application might send these automatically).
Results
In case of success you see the connected BACnet device and its parameters.
BACnet/IP configuration
This is the most commonly used type of BACnet, which is designed to work over Ethernet networks using the Internet Protocol (IP). It supports both IPv4 and IPv6 addressing.
For this configuration you must have a Public IP address. You can read up more on this in our article on Private and Public IP Addresses.
Router 1
BACnet
Install the BACnet package on RUT955 and navigate to Services → BACnet → enable the instance. Everything else can be left as default or changed according to your needs.
Firewall
The configuration will also require you to add port forward rule in the firewall configuration. To do that, open Router1 WebUI and navigate to Network → Firewall → Port Forwards. Create a port forward rule to forward UDP packets from Router2 WAN to Router1 LAN address port.
- Enable instance
- Name - enter desired name
- Protocol - UDP
- Source zone - WAN
- External port - YABE port
- Internal zone - LAN
- Internal IP address - PC LAN IP
- Internal port - YABE port
Note: When YABE sends registration packets you will need to find out which port YABE is using (One way is to look through the traffic with wireshark on your PC or TCP dump on router 1 or router 2)
If you restart YABE software or delete and create new communication device, YABE might use different port number, and you will need to change port forward configured in router connected to your PC.
Router 2
BACnet
Navigate to Services → BACnet, there:
- Enable BACnet
- Enable BBMD
- BBMD interface - select the interface with Public IP.
- Enable Port forward - this will automatically create a port forward rule.
Everything else can be left as default or changed according to your needs.
Firewall
If you would like manually creating a port forward rule, navigate to Network → Firewall → Port Forwards.
- Enable instance
- Name - enter desired name
- Protocol - UDP
- Source zone - WAN
- External port - 47808
- Internal zone - LAN
- Internal IP address - Router LAN IP
- Internal port - 47808
Server
Open the software and click on the green plus sign to add a new device. Then a new window will pop up, there select local endpoint IP address and click start. Everything else cane be left as default or changed according to your needs.
Then select the node and go to Meniu → Functions → IP services → Foreign device registration and enter public IP address of Router2 (the one connected to controller).
Results
In case of success you see the device connected via gateway.
See also
BACnet on RUT955