version 2025-01-30; send fw version once a day

This commit is contained in:
rasta5man 2025-02-04 18:45:06 +01:00
parent 73a2620add
commit 5233aa38af
3 changed files with 141 additions and 145 deletions

View file

@ -62,9 +62,10 @@ exports.install = async function(instance) {
//so we have to add empty line at the bottom of nodes table to avoid this.
//now, remove empty lines from nodesData database:
if (dbs.nodesData.hasOwnProperty("0")) delete dbs.nodesData["0"];
Object.keys(dbs.nodesData).forEach(node => dbs.nodesData[node].readout = {})
dbs.settings = {
edge_fw_version: "2025-01-21", //rok-mesiac-den
edge_fw_version: "2025-01-30", //rok-mesiac-den
language: responseSettings[0]["lang"],
rvo_name: responseSettings[0]["rvo_name"],
project_id: responseSettings[0]["project_id"],