Difference between revisions of "MQTTBROKER"

From HSYCO
Jump to navigation Jump to search
Line 1: Line 1:
 
This driver acts as an MQTT broker for Hsyco. It can connects with many clients but can only receive messages without forwarding them.
 
This driver acts as an MQTT broker for Hsyco. It can connects with many clients but can only receive messages without forwarding them.
 +
 +
[[Category:I/O Server]]
 +
 +
== HSYCO Configuration ==
 +
Add the MQTTBROKER I/O Server in the [[Settings#I/O Servers|I/O Servers section of the Settings]] and set its parameters:
 +
 +
=== Communication ===
 +
*'''IP Address''': host name or IP address of the broker
 +
*'''IP Port''': TCP/IP port assigned to the broker
 +
 +
=== Authentication ===
 +
*'''Username''': default username
 +
*'''Password''': default password
 +
 +
=== Options ===
 +
 +
{| class="wikitable"
 +
!ID
 +
!Default
 +
!Values
 +
!Description
 +
 +
|-
 +
 +
|rowspan="2"|startupevents
 +
|rowspan="2"|false
 +
|true
 +
|generate IO events also during the driver’s start-up phase
 +
|-
 +
|false
 +
|start generating events only after HSYCO is aligned with the current status of the system
 +
 +
|-
 +
 +
|rowspan="2"|acceptunknown
 +
|rowspan="2"|false
 +
|true
 +
|accept connection from clients whose id isn't specified in the authentication file
 +
|-
 +
|false
 +
|doesn't accept connection from clients whose id isn't specified in the authentication file
 +
 +
|}

Revision as of 10:01, 22 July 2019

This driver acts as an MQTT broker for Hsyco. It can connects with many clients but can only receive messages without forwarding them.

HSYCO Configuration

Add the MQTTBROKER I/O Server in the I/O Servers section of the Settings and set its parameters:

Communication

  • IP Address: host name or IP address of the broker
  • IP Port: TCP/IP port assigned to the broker

Authentication

  • Username: default username
  • Password: default password

Options

ID Default Values Description
startupevents false true generate IO events also during the driver’s start-up phase
false start generating events only after HSYCO is aligned with the current status of the system
acceptunknown false true accept connection from clients whose id isn't specified in the authentication file
false doesn't accept connection from clients whose id isn't specified in the authentication file