Testpanel with new thermometer komponent
This commit is contained in:
parent
31b5dbba5c
commit
ba4a11a99a
39 changed files with 6415 additions and 2952 deletions
|
|
@ -621,6 +621,8 @@ exports.install = function(instance) {
|
|||
sendTelemetry(values, rvoTbName);
|
||||
}
|
||||
|
||||
console.log("-----from data")
|
||||
console.log(flowdata.data)
|
||||
sendRvoStatus();
|
||||
})
|
||||
|
||||
|
|
@ -797,7 +799,8 @@ exports.install = function(instance) {
|
|||
|
||||
async function sendRvoStatus() {
|
||||
|
||||
if(SETTINGS === undefined) return;
|
||||
if(!FLOW.dbLoaded) return;
|
||||
//if(SETTINGS === undefined) return;
|
||||
|
||||
const table = {
|
||||
"OK": 1,
|
||||
|
|
@ -819,7 +822,7 @@ exports.install = function(instance) {
|
|||
dataToTb["status"] = checkRvoStatus();
|
||||
dataToTb["statecode"] = calculateStateCode();
|
||||
|
||||
//console.log(dataToTb);
|
||||
console.log(dataToTb);
|
||||
sendTelemetry(dataToTb, rvoTbName);
|
||||
}
|
||||
|
||||
|
|
@ -854,7 +857,7 @@ exports.install = function(instance) {
|
|||
if(!SETTINGS.masterNodeIsResponding) status = "NOK";
|
||||
if(SETTINGS.no_voltage.size > 0) status = "NOK";
|
||||
|
||||
// console.log("rvo status",status)
|
||||
console.log("rvo status",status)
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue