diff -r 2395bdfac387 -r 442d23455ae4 bmsd/bms.c --- a/bmsd/bms.c Thu May 30 21:19:43 2019 +0200 +++ b/bmsd/bms.c Thu May 30 23:00:20 2019 +0200 @@ -27,6 +27,7 @@ #include "lock.h" #include "mqtt.h" #include "mysql.h" +#include "nodes.h" int my_shutdown = FALSE; @@ -133,6 +134,7 @@ while (my_shutdown == FALSE) { usleep(100000); + nodes_check_online(); } if (debug) fprintf(stdout, "[main] Exit from main loop\n");