GW-UNI-01
User Manual
© 2016 IQ HOME Kft.
www.iqhome.org
14 / 21
First stop the daemon:
$ sudo service unid stop
After that run from command line with the
-v
connector for verbose mode. Logging into the log file
is disabled in verbose mode.
$ sudo unid -v
3.2
MQTT Client Interface configuration [mqtt]
# the hostname or IP address of the broker to connect
host = broker.example.com
# the network port to connect to, default is 1883
# to disable this interface set to 0
mqttport = 8883
# keepalive the number of seconds after which the broker should
# send a PING message to the client if no other messages have
# been exchanged in that time
keepalive = 60
# clientid source select
# auto: the daemon set the client ID automatically
# manual: custom string
clientidsource = auto
The client ID is can be set automatically by the daemon. It is useful for mass production to identify
the gateways.
# clientidsource-> manual: any string without whitespaces
# clientidsource-> auto: hwid, mac, netbios
# in auto mode the daemon set the client ID automatically:
# hwid: MID of the attached IQRF modul (i.e. 8100CAFE)
# mac: MAC address of the gateway (i.e. B8-27-EB-00-BE-AF)
# netbios: NetBIOS name of the device (i.e. GW-UNI-01-BEAF)
clientid = hwid
# set to true to instruct the broker to clean all messages
# and subscriptions on disconnect, false to instruct it to keep them
cleansession = true
# username
username =