Correct missing module string for DHT (#444)
The DHT module was not being appended to the modules string reported in the SYStoMQTT messages
This commit is contained in:
1 parent
1ce1fe30dd
commit
e4683b1812
1 file changed
+4
-1
+4
-1
@@ -897,7 +897,7 @@ void loop()
|
|||||||
MeasureTempAndHum(); //Addon to measure the temperature with a DHT
|
MeasureTempAndHum(); //Addon to measure the temperature with a DHT
|
||||||
#endif
|
#endif
|
||||||
#ifdef ZsensorINA226
|
#ifdef ZsensorINA226
|
||||||
MeasureINA226(); //Addon to measure the temperature with a DHT
|
MeasureINA226();
|
||||||
#endif
|
#endif
|
||||||
#ifdef ZsensorHCSR501
|
#ifdef ZsensorHCSR501
|
||||||
MeasureHCSR501();
|
MeasureHCSR501();
|
||||||
@@ -998,6 +998,9 @@ void stateMeasures(){
|
|||||||
#ifdef ZsensorTSL2561
|
#ifdef ZsensorTSL2561
|
||||||
modules = modules + ZsensorTSL2561;
|
modules = modules + ZsensorTSL2561;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef ZsensorDHT
|
||||||
|
modules = modules + ZsensorDHT;
|
||||||
|
#endif
|
||||||
#ifdef ZactuatorONOFF
|
#ifdef ZactuatorONOFF
|
||||||
modules = modules + ZactuatorONOFF;
|
modules = modules + ZactuatorONOFF;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user