Have you read through this? It sounds like you are trying to do the same thing. Not saying that stateDuration will not work, but I used elapsed in the aforementioned thread
grant1
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| stateDuration, wrong output | 4 | 725 | January 24, 2020 | |
| Elapsed duration | 1 | 721 | October 10, 2019 | |
| How to get total duration of state? | 4 | 3223 | November 19, 2021 | |
| How to use stateDuration? | 3 | 3293 | September 25, 2017 | |
| How to retrive total duration based on a value state? | 0 | 331 | April 4, 2023 |
