diff -r 6e80a5515dd3 -r 541503502b1b bmsd/bms.c --- a/bmsd/bms.c Sun May 26 20:45:01 2019 +0200 +++ b/bmsd/bms.c Thu May 30 23:18:48 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");