In Feb I posted a request for assistance concerning a Kumo app that gave false information. Support said they modified the code and to stop and restart the app to test their new code. I have done that. However now I find that support has stopped the app for excessive memory and CPU usage. These apps were created by support themselves.
The app logs shows:
| Halting this app because one or more app installed under your account is using too much memory. |
|
|
Halting this app because one or more app installed under your account is using too much CPU.
What gives ???
Original code:
var timer={};
var target = <#door or window_[12|53]_N#>;
target.forEach(function(t){
t.opened=function(){
timer[t.uuid]=KumoApp.
setInterval(function(){
<~devices to send notification~>.push(
t.name + " remains open");
},<%interval in minute_N%>*1000*60);
};
t.closed=function(){
KumoApp.stopTimer(timer[t.uuid]);
};
});