User Tools

Site Tools


mqtthygrometer

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
mqtthygrometer [2016/08/18 18:50] – created jocke.gmqtthygrometer [2016/08/18 19:17] jocke.g
Line 1: Line 1:
-The MqttHygrometer receives MQTT messages from a [[mqttclient|MqttClient]], with humidity as a numeric value.+{{gauge.png?nolink| An Item in the Gauges Category}} 
 +====== MqttHygrometer ====== 
 + 
 +The MqttHygrometer receives MQTT messages from a [[MqttClient]], with humidity as a numeric value.
  
  
 ===== Message format ===== ===== Message format =====
-Simply a numeric value, 0-100. No unit (%).+Simply a numeric value, 0-100.\\  
 +Decimals allowed, and will be rounded to one decimal.\\  
 +No unit (%) allowed.\\ 
  
-Example: "57"+==== Examples ==== 
 +"57" in the message shows as "57.0 %".\\  
 +"57.0" in the message shows as "57.0 %".\\  
 +"57.57" in the message shows as "57.6 %".\\  
 +"57.5%" in the message will not work.\\ 
  
 ===== Attributes ===== ===== Attributes =====
-  * **Humidity** //[get]// The actual humidity in %+  * **Humidity** //[get]// Current humidity in % 
 +  * **TimeSinceUpdate** //[get]// Time in seconds since the latest received message. 
 +  * **LastUpdate** //[get]// Time of the latest received message.
   * **Topic** //[get] [set]// The exact MQTT topic to listen on. Wildcards not allowed!   * **Topic** //[get] [set]// The exact MQTT topic to listen on. Wildcards not allowed!
   * **LogFile** //[get] [set]// Optional name (and path) of a file where measured values are stored once every 15 minutes.   * **LogFile** //[get] [set]// Optional name (and path) of a file where measured values are stored once every 15 minutes.
  
 +===== See also =====
 +[[start | NetHomeServer]]\\ 
 +[[MqttClient]]
mqtthygrometer.txt · Last modified: 2018/11/03 02:59 by 127.0.0.1