As of now the out gen config parameters are computed at every trigger for both the PIR and timer. Since this is the same every time, it can be computed as soon as the parameters are received from the app. This will allow the out gen start to be called as right when the trigger is received.
As of now the out gen config parameters are computed at every trigger for both the PIR and timer. Since this is the same every time, it can be computed as soon as the parameters are received from the app. This will allow the out gen start to be called as right when the trigger is received.