Skip to content

Set status to active only if not already active#1

Merged
bumaas merged 1 commit into
bumaas:masterfrom
ThomasM65:patch-1
Jun 29, 2026
Merged

Set status to active only if not already active#1
bumaas merged 1 commit into
bumaas:masterfrom
ThomasM65:patch-1

Conversation

@ThomasM65

Copy link
Copy Markdown

I'm using Eventcontrol-Scripts to monitor if Status of Instances has changed. Since last change Status is updated very often even if state has not changed. This will Trigger everytime a Eventcontrol message (no option on changed, always on updated). There is no way to check if status was already active (no $_IPS['LASTSTATUS']). So now EventControl will only get triggered if Status has really changed.

I'm using Eventcontrol-Scripts to monitor if Status of Instances has changed.
Since last change Status is updated very often even if state has not changed. This will Trigger everytime a Eventcontrol message (no option on changed, always on updated). There is no way to check if status was already active (no $_IPS['LASTSTATUS']). So now EventControl will only get triggered if Status has really changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants