VT
This commit is contained in:
@@ -574,8 +574,10 @@ void onMqttConnect(bool sessionPresent) {
|
||||
mqttClient.subscribe("/home/vt/hdb_set", 1);
|
||||
sprintf(v, "%.2f", wCounter.QH);
|
||||
mqttClient.publish("/home/vt/qhot", 1, false, v);
|
||||
mqttClient.publish("/home/vt/qhot_set", 1, false, v);
|
||||
sprintf(v, "%.2f", wCounter.QC);
|
||||
mqttClient.publish("/home/vt/qcold", 1, false, v);
|
||||
mqttClient.publish("/home/vt/qcold_set", 1, false, v);
|
||||
itoa(wUstavki.hDB, v, 10);
|
||||
mqttClient.publish("/home/vt/hdb", 1, false, v);
|
||||
itoa(wUstavki.hSP, v, 10);
|
||||
|
||||
Reference in New Issue
Block a user