Is it possible to use calculated intervals in a PVM code plugin? For example, lets say I'm calculating hourly (average) voltage and I want to set alarm.event to true if the most recent hourly average is below or above some threshold. Is this possible? Or are intervals calculated after plugins?
Using calculated intervals in PVM code plugins?
Thanks, so is there any way for PVM code to get data from previous messages? Such as setting persistent variables that would hold the history. For example, adding something like this at the end of the PVM code to retain the last 3 values....
.persistent_history2 ==> #persistent_history3
.persistent_history1 ==> #persistent_history2
.battery.voltage ==> #persistent_history1
TomD now access to previous parameter values is now tricky with multiple plugins involved. But we plan to implement by the end of September the possibility to access previous values and thus calculate the change with msg-expression plugin.