Skip to content

User guide DHT 09

Florian edited this page Jan 27, 2019 · 3 revisions

DHT Sensor

Level of complexity: low

Receiving data from DHT

Subscribe to all topics with mosquitto:

sudo mosquitto_sub -t +/# -v

You will receive every TimeBetweenReadingDHT (set into config_DHT.h) the DHT measurement (30s per default).

home/OpenMQTTGateway/DHTtoMQTT {"temp":21,"hum":51}

If you want to don't resend value when it is the same you can set dht_always = false in config_DHT.h

Clone this wiki locally
You can’t perform that action at this time.