1df6405a3d
Program will now work even if some of rpi are offline. Server settings are now saved in settings.json for easier update on servers. Uploaded more testing files. Also slight improvments of formating and comenting of the code
23 lines
441 B
JSON
23 lines
441 B
JSON
{
|
|
"ID": 0,
|
|
"IP": "192.168.1.99",
|
|
"location": "izba",
|
|
"time_to_heartbeat": 20,
|
|
"time_to_heartbeat_offline": 25,
|
|
"log": {
|
|
"save_error": true,
|
|
"print_error": true,
|
|
"save_warning": true,
|
|
"print_warning": true,
|
|
"save_message": false,
|
|
"print_message": true,
|
|
"enable_debug": false
|
|
},
|
|
"heartbeat_table": {
|
|
"ID": [],
|
|
"IP": [],
|
|
"location": [],
|
|
"file_system": [],
|
|
"last_heartbeat": []
|
|
}
|
|
} |