1 Reply Latest reply on Oct 14, 2016 3:57 PM by ttielebein RSS
    nkhose Creator

    Delay notification on thingtemplates

    I'am having multiple thing templates .. i'am working on notification system where we having a delay on each template saved in datatable for eg 15 min or 20 min . I want to send emails when thingtemplate goes online or offline  after that delay ,as i can see lastconnection property is system one which gets updated only when connected and not when disconnected . Do i need to have a custom myproperty on thingtemplates to save the lasttimestamp that is saved .by this i can check the delay . Pause didn't work for larger delays and i dont want to loop over timestamps avoid CPU usage