QR Code Encoder

<< Click to Display Table of Contents >>

Navigation:  Components > System >

QR Code Encoder

The QR Code Encoder is a Visible Client component. It is used for coded display of freely definable texts.

 

The encoder is already pre-set for use with the smart clients. It facilitates the setting of the server settings because the user does not have to enter the necessary data manually. He can enter these by scanning the QR code.

The component can encode any text. This could e.g. also be the company homepage or phone number.

 

Data points of the component

Name

Type

function

Mouseover

Output

This output can be used to start an event when the object is moved by mouseover.

Use portal server

Bidirectional

Here, the use of the portal can be defined at runtime. No does not use the portal (local operation, or via VPN). Yes, only access via portal. Auto uses local access first, depending on availability.

Portal username

Bidirectional

Here the user name for the login to the portal can be defined.

Polling Interval

Bidirectional

Here the update time can be set.

Portal password

Bidirectional

Here you can define the password for login to the portal.

Set net value as server account settings

Bidirectional

A trigger at this data point is used to update the QR with the values ​​created at the other data points and to encode the new data.

Server account username

Bidirectional

Here the user name can be defined for logging on to the EisBaer server.

http port

Bidirectional

Here the http port can be defined for communication with EisBaer server.

Server name

Bidirectional

Here the name of the EisBaer server can be defined. This is displayed as a header in the smart clients in NestedList mode.

Server account password

Bidirectional

Here you can define the password for logging in to the EisBaer server.

Server REST port https

Bidirectional

With an ON signal, the secure connection is activated. With OFF, only http is active.

Server Url

Bidirectional

Here, Url / IP can be defined as the destination for communication with EisBaer server

Server Websocket Port

Bidirectional

Here the Websocket port can be defined for communication with EisBaer server.

Portal server account expiration date

Bidirectional

Here the expiration date for the access of the smart clients to the EisBaer server can be defined. The following format applies: yyyymmdds for yearmonthdayhour.

Visible

Input

If this input is not used, the component is Visible. When used, the unvisible component is switched with an off signal and a Visible on signal.

Text to encode

Bidirectional

Here you can enter a text that can be read after triggering "Update QR". If the option "Server coded access data" is selected, the text with the settings will be displayed here.

Opacity [0-255]

Input

See component independent data points

Use encryption

Bidirectional

With "1" the login passwords and the expiration date are encrypted. With "0" the content could be read out as plaintext.

If the parameters are set via the data points, all data points must always be set before the QR code is updated via the data point "Update QR".

 

 

Properties

Name

 

function

Server Account Settings

 

Registration of server access data such as server name, IP address, port etc.

Text to encode

 

If the QR code is used as an information display, you can enter text that will be displayed when you scan it. No server data is transmitted.

Server account settings mode

 

If this field is active, the server access data is generated as a QR code. This can be used to establish a connection to the visualization.

If this field is inactive, only the text under "QR Code Text" is converted.

Use Encryption

 

If enabled, the passwords and the expiration date are encrypted. Thus, readout as plain text can be prevented.

 

 

The QR Code Encoder is a visible client component. It is used to  display of user-defined coded text.

 

The encoder is already preset for use with the Smart Client. It facilitates the setting of the Server Settings, since the user does not have to enter manually the required data. He can enter it by scanning the QR code.

The component can encode any texts. This could, for example, also be the company's website or phone number.

 
Here is an example of the data format for use with the Smart Client with 5 hours validity:

cfg:name=Lokal,ip=192.168.2.220,port=8003,wsport=8004,tls=0,interval=500,user=Gast,pass=,portal=no,puser=eisbaer,ppass=eisbaer,valid=+300

 

Here is an explanation of the data format for use with the smart clients:

 

cfg:                Identifies the following data as access data for the smart clients.
name=                This text is displayed in the app in the title bar when NestedList is displayed.
ip=                URL or IP address of the EisBaer server to which the smart client should connect.
port=8003         DefaultHttp communication port on the EisBaer server. If you change this on the server, you must adjust it here accordingly.
wsport=8004        Default websocket communication port on the EisBaer server. If you change this on the server, you must adjust it here accordingly.

tls=0                With "1" the login passwords and the expiry date are encrypted. With "0", the content could be read out as plain text.

interval=500        Shows the set polling interval in milliseconds.
user=Gast        Enter the desired name of the user here. Guest is the default value.
pass=                Enter the password for the user here. Standard users without a password can be used by default.
portal=                No does not use the portal (local operation or via VPN). Yes only uses access via portal. Auto uses local access first, depending on availability. If this does not work, an attempt is made to establish the connection via the portal.

puser=                Shows the user name for portal access.

ppass=                Shows the password for portal access.

valid=                Indicates the validity of the QR code. From this point onwards, the smart client will no longer connect to the server and the server will be deleted from the list.