Skip to first unread message

Sam

unread,
Mar 8, 2016, 11:37:05 PM3/8/16
to Wireless Sensor Tags
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]);
    };
});

Zhiheng Cao

unread,
Mar 9, 2016, 5:53:25 PM3/9/16
to Sam, Wireless Sensor Tags
What is the "interval in minute" you are using?

--
You received this message because you are subscribed to the Google Groups "Wireless Sensor Tags" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wireless-sensor-...@googlegroups.com.
To post to this group, send email to wireless-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/wireless-sensor-tags.
To view this discussion on the web visit https://groups.google.com/d/msgid/wireless-sensor-tags/ad6f44e3-136c-4981-83e6-f7db24417e3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages