User Tools

Site Tools


mqttclient

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
mqttclient [2016/08/14 22:43] – created jocke.gmqttclient [2018/03/25 21:26] sestst
Line 1: Line 1:
-The MQTTClient subscribes on messages on a [[http://mqtt.org/|MQTT]]-topic.+{{::server:port64.png?nolink|}} 
 +====== MqttClient ====== 
 +This module is a part of the [[NetHomeServer]]. The MqttClient subscribes on messages on a [[http://mqtt.org/|MQTT]]-topic. and can also send MQTT-messages to the server. You need at least one MqttClient-Item configured in order to be able to use any other MQTT-Items.
  
 The MQTT broker can be either locally installed, for example [[https://mosquitto.org/|mosquitto]], or on a remote machine. For testing purposes, there are open brokers like [[http://www.hivemq.com/demos/websocket-client/|HiveMQ MQTT Dashboard]] The MQTT broker can be either locally installed, for example [[https://mosquitto.org/|mosquitto]], or on a remote machine. For testing purposes, there are open brokers like [[http://www.hivemq.com/demos/websocket-client/|HiveMQ MQTT Dashboard]]
- 
  
 ===== Attributes ===== ===== Attributes =====
-  * **Address** Address to your MQTT broker. +  * **State** //[get]// Current state of the client: "Connected" or "Disconnected" 
-  * **Port** Port to your MQTT brokerUsually 1883 +  * **Port** //[get] [set]// port used on MQTT Server, default 1883 
-  * **BaseTopic** Topic to subscribe for messages. Wildcard allowed. +  * **Address** //[get] [set]// Address of the MQTT Server 
 +  * **ClientName** //[get] [set]// MQTT Client name to connect as 
 +  * **UserName** //[get] [set]// Username used to log inIf left blank the client will try to connect anonymously 
 +  * **Password** //[get] [set]// Password if connecting with username 
 +  * **BaseTopic** //[get] [set]// Base topic to subscribe to messages, wildcards allowed 
 +===== Actions ===== 
 +==== See also ==== 
 +[[NetHomeServer]]
mqttclient.txt · Last modified: 2018/11/03 02:59 by 127.0.0.1