Project

General

Profile

DTXsc doc » History » Version 2

Torbjorn Carlqvist Admin, 09/26/2022 02:03 PM

1 1 Torbjorn Carlqvist Admin
{{>toc}}
2
3
h1. DTXsc documentation
4
5
h3. Installation
6
7
* System Requirements
8
DTXsc can run on any machine that can run +Java 11+ and has sufficient with RAM and disk capacity.
9
10
|Requirement|System RAM|System DISK|Example|
11
|Minimal|512Mbyte|512Mbyte|Raspberry 1, Raspberry Zero|
12
|Better|512Mbyte|512Mbyte|Rasberry Zero 2|
13
|Avarage|1GByte|1Gbyte|Raspberry 2-4|
14
|Top|2GByte|8Gbyte|Raspberry 4, Raspberry CM4, Server, PC|
15
16
* Network Requirements
17
DTXsc require an IPV4 interface to function. The service using UDP broadcast to communicate with local network device according to BACnet/IP standard. To reach Internet HUB's the service uses WebSocket communication.
18
19
* Download DTXsc software packages
20
Currently only customers to DAVITOR can download DTXsc. Contact info@davitor.com for purchase information.
21
22
* Install on Linux
23
** For Raspberry with Raspberry OS/Rasbian there is special install scripts, please follow these steps:
24
### Download latest DTXsc _base_ image and copy to a SD-card that has 16Gbyte capacity or more
25
### Insert the SD card, attach keyboard and screen via cable and start the device
26
### When you get prompt login as **admin/davitor**
27
### Download the installation script from davitor repository
28
<pre>wget --user=**** --password=**** https://artifacts.davitor.com/repository/dtx-raw/scripts/dtxsc.sh</pre>
29
There is also a utillity script that can set the host name and MAC adress. Note, optional and only applicable on LION product appliances (Lx-serie)
30
<pre>wget --user=**** --password=****  https://artifacts.davitor.com/repository/dtx-raw/scripts/system.sh</pre>
31
Make the scripts exec
32
<pre>sudo chmod 770 *.sh</pre>
33 2 Torbjorn Carlqvist Admin
### Run installation script. See details below and change to fit your network setup:
34
<pre>sudo ./dtxsc.sh -v 1.6 -u **** -p **** --bip_instance 777124 --sc_network 2000 --sc_mac 021020040501 --bip_network 3344 --bip_ip 192.168.1.175 --bip_port 47809 --sc_hub_ip 83.145.40.201 --sc_hub_port 44456 -loc HEMMA -descr SCRIPT</pre>
35 1 Torbjorn Carlqvist Admin
*** -v DTXsc version to run
36
*** -u user for download
37
*** -p psw for download
38
*** --bip_instance Device id on the BACnet/IP side of the router.
39
*** --sc_network Virtual network id on the Securore Connect side of the router
40
*** --sc_mac Virtuell MAC for this device on the Secure Connect side of the router. Has to be unique within the whole virtual network.
41
*** --bip_ip The desired IPv4 address to bind the UDP-port for the BACnet/IP side of the router. Leave blank to let DTXsc determine the IP automatically.
42
*** --bip_port The UDP port for the BACnet/IP-side of the Router.
43
*** --sc_hub_ip The IP address to the Internet Secure Connect HUB. (Which is another DTXsc configured as a HUB)
44
*** -loc Sets the freetext BACnet/IP-device location-property. Use for localization of the Router.
45
*** -descr Sets the freetext BACnet/IP-device dexcription-property. Use for localization of the Router.
46 2 Torbjorn Carlqvist Admin
47
* Utillity script to set MAC and host name
48 1 Torbjorn Carlqvist Admin
<pre>sudo ./system.sh -mac 70:B3:D5:16:E8:99 -hn DTX-L1-8R8DI</pre>
49
50
* Manage the DTXsc service
51
Stop<pre>sudo systemctl stop dtxsc</pre>
52
Start<pre>sudo systemctl start dtxsc</pre>
53
Check status<pre>systemctl status dtxsc</pre>
54
Disable service, wont start at reboot<pre>sudo systemctl disable dtxsc</pre>
55
Enable service, will start automatically at reboot<pre>sudo systemctl enable dtxsc</pre>