diff -r abe60578d695 -r 844588d0df65 thermferm/devices.c --- a/thermferm/devices.c Thu Apr 25 15:10:37 2024 +0200 +++ b/thermferm/devices.c Thu Apr 25 16:44:54 2024 +0200 @@ -301,9 +301,10 @@ #endif if ((device->type == DEVTYPE_W1) && (device->direction == DEVDIR_OUT_BIN) && (device->present == DEVPRESENT_YES)) { if (strncmp(device->address, (char *)"3a", 2) == 0) { - syslog(LOG_NOTICE, "DS2413 PIO%c value=%d (%s)", (device->subdevice == 0) ? 'A' : 'B', (value == 0) ? 0 : 1, device->comment); +// syslog(LOG_NOTICE, "DS2413 PIO%c value=%d (%s)", (device->subdevice == 0) ? 'A' : 'B', (value == 0) ? 0 : 1, device->comment); // pthread_mutex_lock(&mutexes[LOCK_DEVICES]); if (device->value != (value == 0) ? 0 : 1) { + syslog(LOG_NOTICE, "DS2413 PIO%c value=%d (%s)", (device->subdevice == 0) ? 'A' : 'B', (value == 0) ? 0 : 1, device->comment); device->value = (value == 0) ? 0 : 1; device->timestamp = time(NULL); devices_ws(); @@ -439,7 +440,6 @@ payloadu = NULL; } payload = xstrcat(payload, (char *)"]}"); - syslog(LOG_NOTICE, "%s", payload); ws_broadcast(payload); free(payload); payload = NULL;