mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 11:49:51 +03:00
Temperature topicname fixed
This commit is contained in:
@@ -588,7 +588,7 @@ void Changed(int i, DeviceAddress addr, float val) {
|
||||
return;
|
||||
}
|
||||
strcpy_P(addrstr, outprefix);
|
||||
strncpy(addrstr, owEmit, sizeof(addrstr));
|
||||
strncat(addrstr, owEmit, sizeof(addrstr));
|
||||
//strncat(addrstr, addrbuf, sizeof(addrstr));
|
||||
|
||||
mqttClient.publish(addrstr, valstr);
|
||||
|
||||
Reference in New Issue
Block a user