diff -r 685f20ad87ed -r 92a080c1a5d5 thermferm/server.c --- a/thermferm/server.c Mon Apr 22 20:58:55 2024 +0200 +++ b/thermferm/server.c Tue Apr 23 13:06:33 2024 +0200 @@ -709,6 +709,7 @@ srv_send(s, (char *)"213 Global Settings record follows:"); srv_send(s, (char *)"RELEASE,%s", VERSION); srv_send(s, (char *)"NAME,%s", Config.name); + srv_send(s, (char *)"UUID,%s", Config.uuid); srv_send(s, (char *)"PORT,%d", Config.server_port); srv_send(s, (char *)"TEMP_UUID,%s", Config.temp_uuid); srv_send(s, (char *)"TEMP_STATE,%s", DEVPRESENT[Config.temp_state]); @@ -808,6 +809,13 @@ Config.temp_hum_idx = ival; } + } else if (val && (strcmp(kwd, (char *)"LCD_ADDRESS") == 0)) { + if (sscanf(val, "%d", &ival) == 1) { + if (Config.lcd_address != ival) + syslog(LOG_NOTICE, "Global LCD address %d to %d", Config.lcd_address, ival); + Config.lcd_address = ival; + } + } else if (val && (strcmp(kwd, (char *)"LCD_COLS") == 0)) { if (sscanf(val, "%d", &ival) == 1) { if (Config.lcd_cols != ival)