Changes

1,822 bytes removed ,  14:02, 15 March 2023
no edit summary
Line 1: Line 1: −
<p style="color:red">The information in this page is updated in accordance with [https://wiki.teltonika-networks.com/view/FW_%26_SDK_Downloads'''00.07.03.4'''] firmware version .</p>
+
<p style="color:red">The information in this page is updated in accordance with [https://wiki.teltonika-networks.com/view/FW_%26_SDK_Downloads'''00.07.4'''] firmware version .</p>
 
==Introduction==
 
==Introduction==
 
This article contains instructions on how to set up BACnet on Teltonika Networks devices.
 
This article contains instructions on how to set up BACnet on Teltonika Networks devices.
Line 32: Line 32:  
=== Server ===
 
=== 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.
+
For the server, Yet Another BACnet Explorer (YABE) is used. It 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 (top left)''' to add a new device. Then a new window will pop up; there, select the '''local endpoint IP address '''and click '''Start'''. Everything else can be left as is or changed to suit your needs.
 
Open the software and '''click''' on the '''green plus sign (top left)''' to add a new device. Then a new window will pop up; there, select the '''local endpoint IP address '''and click '''Start'''. Everything else can be left as is or changed to suit your needs.
Line 49: Line 49:     
== BACnet/IP via LTE configuration ==
 
== BACnet/IP via LTE configuration ==
Bacnet BBMD – stands for "BACnet Broadcast Management Device." A BBMD is a device that manages the routing of BACnet broadcast messages across different IP subnets. When a BACnet device sends a broadcast message, it is typically sent to all devices on the same subnet, but not to devices on other subnets. However, sometimes it is necessary for broadcast messages to be sent to devices on multiple subnets. This is where a BBMD comes in.
      
[[File:BACnet Topology 2.png|border|center|class=tlt-border|876x321px]]
 
[[File:BACnet Topology 2.png|border|center|class=tlt-border|876x321px]]
Line 65: Line 64:  
Navigate to '''Services → BACnet''' and '''enable''' the '''instance'''.
 
Navigate to '''Services → BACnet''' and '''enable''' the '''instance'''.
   −
[[File:BACnet enable instance.png|border|center|class=tlt-border|746x222px]]
+
[[File:BACnet enable instance.png|border|center|class=tlt-border|818x210px]]
 
  −
Also, under the '''BIP''' configuration change the '''BIP port to a port of Yabe'''. There are two ways of finding the port of YABE, one way is to look through the traffic with '''Wireshark''' on your PC or '''TCP dump on RUT1 or RUT2'''.
  −
 
  −
[[File:BACnet BIP.png|border|center|class=tlt-border|754x88px]]
  −
 
  −
'''Bacnet BIP''' - Bacnet devices can use BIP to communicate with each other over local area networks (LANs), wide area networks (WANs), and the internet. BIP defines how BACnet messages are encapsulated within IP packets and transmitted between BACnet devices over IP networks.
  −
 
  −
'''Note''': If you restart the YABE software or delete and recreate a new communication device, YABE may use a different port number, in which case you must change the port forward configuration in the router connected to your PC.
      
==== Firewall ====
 
==== Firewall ====
 
----
 
----
By enabling the port forward in the BACnet configuration, you created the port forward rule. Nevertheless, the rule requires some modification. To do that, open the RUT1 WebUI and navigate to '''Network → Firewall → Port Forwards'''. Create a port forward rule to forward UDP packets from RUT2 WAN to the RUT1 LAN address port.
+
Open the RUT1 WebUI and navigate to '''Network → Firewall → Port Forwards'''. Create a port forward rule to forward UDP packets from RUT2 WAN to the RUT1 LAN address port.  
    
[[File:Router1 firewall port forward.png|border|center|class=tlt-border|797x617px]]
 
[[File:Router1 firewall port forward.png|border|center|class=tlt-border|797x617px]]
Line 90: Line 81:  
# '''Internal port''' - YABE port
 
# '''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 RUT1 or RUT2)
+
YABE port can be found looking through the traffic with Wireshark on your PC or TCP dump on RUT1 or RUT2.
   −
If you restart the YABE software or delete and recreate a new communication device, YABE may use a different port number, in which case you must change the port forward configuration in the router connected to your PC.  
+
'''Note''': If you restart the YABE software or delete and recreate a new communication device, YABE may use a different port number, in which case you must change the port forward configuration in the router connected to your PC.  
    
=== Router 2 ===
 
=== Router 2 ===
Line 109: Line 100:  
[[File:BACnet_enabled_BBMD_fixed.png|border|center|class=tlt-border|797x234px]]
 
[[File:BACnet_enabled_BBMD_fixed.png|border|center|class=tlt-border|797x234px]]
   −
Everything else can be left as default or changed according to your needs.
+
The created port forward rule should look like this:
 
  −
==== Firewall ====
  −
----
  −
If you would like manually creating a port forward rule, navigate to '''Network → Firewall → Port Forwards'''.
  −
 
   
[[File:BACnet firewall router2.png|border|center|class=tlt-border|864x620px]]
 
[[File:BACnet firewall router2.png|border|center|class=tlt-border|864x620px]]
   −
# '''Enable''' instance
+
Everything else can be left as default or changed according to your needs.
# '''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 ===
 
=== Server ===