diff -r a4fcdf24b5e7 -r ca1fbb3bd3db bmsd/ispindels.c --- a/bmsd/ispindels.c Thu May 21 14:27:56 2020 +0200 +++ b/bmsd/ispindels.c Thu May 21 14:32:23 2020 +0200 @@ -202,7 +202,7 @@ { sys_ispindel_list *ispindel, *tmpp; struct json_object *jobj, *metric, *val; - bool new_ispindel = true, report = false; + bool new_ispindel = true; char *datetime, buf[65], *line, *logfile; struct tm *mytime; time_t timestamp; @@ -238,7 +238,6 @@ if (! ispindel->online) { ispindel->online = true; - report = true; syslog(LOG_NOTICE, "Online ispindel %s mode %s", node, ispindel->mode); } @@ -295,8 +294,6 @@ ispindel_mysql_update(ispindel); } ispindel_ws_send(ispindel); - if (report) - status_change(); /* * The data is complete, see if we can write a log entry.