Thank you for this great integration in Node-Red. When I open up the dashboard I get the following error in my console:
(function(scope){
scope.ID = ID;
scope.send({payload: '29'})
scope.$watch('msg', function(msg) {
selec(last,0); last=msg.selector; selec(last,1);
for (var x=0; x<24; x++)
{
var w="#t"+x+ID; bar(w,msg.timing[((msg.days-1)*24)+x].toFixed(1));
var v="#v"+x+ID; $(v).text(msg.timing[((msg.days-1)*24)+x].toFixed(1)+"°")
}
for (var x=0; x<2; x++) { var w="#s"+x+ID; $(w).text(msg.timing[168+x].toFixed(1)+"°"); }
$("#d0"+ID).text(thedays[msg.days-1]);
if ((last>4) &&(last<29))
$("#current"+ID).text(msg.timing[((msg.days-1)*24)+last-5].toFixed(1) + "°");
else
$("#current"+ID).text("-");
if (msg.foryou!="") { stat(msg.foryou); }
});
})(scope);